OpenCMISS-Zinc 3.0.0 Release C++ API Documentation
|
Streamlines visualise the path of a fluid particle tracking along a vector field. More...
#include <graphics.hpp>
Public Types | |
enum | TrackDirection { TRACK_DIRECTION_INVALID = CMZN_GRAPHICS_STREAMLINES_TRACK_DIRECTION_INVALID, TRACK_DIRECTION_FORWARD = CMZN_GRAPHICS_STREAMLINES_TRACK_DIRECTION_FORWARD, TRACK_DIRECTION_REVERSE = CMZN_GRAPHICS_STREAMLINES_TRACK_DIRECTION_REVERSE } |
![]() | |
enum | RenderPolygonMode { RENDER_POLYGON_MODE_INVALID = CMZN_GRAPHICS_RENDER_POLYGON_MODE_INVALID, RENDER_POLYGON_MODE_SHADED = CMZN_GRAPHICS_RENDER_POLYGON_MODE_SHADED, RENDER_POLYGON_MODE_WIREFRAME = CMZN_GRAPHICS_RENDER_POLYGON_MODE_WIREFRAME } |
enum | SelectMode { SELECT_MODE_INVALID = CMZN_GRAPHICS_SELECT_MODE_INVALID, SELECT_MODE_ON = CMZN_GRAPHICS_SELECT_MODE_ON, SELECT_MODE_OFF = CMZN_GRAPHICS_SELECT_MODE_OFF, SELECT_MODE_DRAW_SELECTED = CMZN_GRAPHICS_SELECT_MODE_DRAW_SELECTED, SELECT_MODE_DRAW_UNSELECTED = CMZN_GRAPHICS_SELECT_MODE_DRAW_UNSELECTED } |
enum | Type { TYPE_INVALID = CMZN_GRAPHICS_TYPE_INVALID, TYPE_POINTS = CMZN_GRAPHICS_TYPE_POINTS, TYPE_LINES = CMZN_GRAPHICS_TYPE_LINES, TYPE_SURFACES = CMZN_GRAPHICS_TYPE_SURFACES, TYPE_CONTOURS = CMZN_GRAPHICS_TYPE_CONTOURS, TYPE_STREAMLINES = CMZN_GRAPHICS_TYPE_STREAMLINES } |
Friends | |
class | Scene |
Additional Inherited Members | |
![]() | |
cmzn_graphics_id | id |
Streamlines visualise the path of a fluid particle tracking along a vector field.
Streamlines visualise the path of a fluid particle tracking along a vector field. 2-D and 3-D mesh domains are supported. Seed points for streamlines are sampled from elements according to the graphics sampling attributes and tessellation. Streamlines are drawn as lines, scalable ribbons or extruded circles or squares, as specified by the graphics line attributes. The curl of the stream vector field, or fibre sheet and normal, are visualised by the rotation or lateral orientation of the streamline when viewed with non-line shapes.
|
inline |
Gets the vector field the streamline is tracking along.
|
inline |
Gets the direction in which streamlines are tracked.
|
inline |
Gets the maximum length streamlines are tracked along.
|
inline |
Sets the vector field to track the streamline along. For a 3-D domain with a 3-D coordinate field, can have 3, 6 or 9 components; extra components set the lateral axes for extruded profiles. For a 2-D domain the stream vector may have 2 components.
field | The field to track the streamline along. |
|
inline |
Sets the direction in which streamlines are tracked relative to the stream vector field.
trackDirection | The new tracking direction. |
|
inline |
Sets the maximum length to track streamlines along. Default value is 1.0; generally need to adjust this for scale of model as streamlines can be slow to evaluate.
length | The maximum length to track streamlines along >= 0. |