Rendering node that displays a clip line of a surface mesh. More...
#include <MeshVizXLM/mapping/nodes/MoMeshClipLine.h>
Public Member Functions | |
virtual SoType | getTypeId () const |
MoMeshClipLine () | |
Static Public Member Functions | |
static SoType | getClassTypeId () |
Public Attributes | |
SoDEPRECATED SoSFPlane | plane |
SoMFVec3f | polyline |
SoSFVec3f | direction |
| |
const MiClipLineExtractUnstructured * | getUnstructuredExtractor () |
const MiClipLineExtractIj * | getIjExtractor () |
A clip line is an unstructured line mesh defined by the intersection of several arbitrary planes with a surface mesh. Two types of clip line are possible:
Clip line
Clip line on skin
The line can be colored using a scalar set defined in the colorScalarSetId inherited field. This is an index into the list of scalar sets existing in the traversal state (see the MoScalarSet node). To disable coloring set this field to -1. Rendering can be modified using various property nodes (see the SEE ALSO section).
colorScalarSetId | 0 |
parallel | TRUE |
plane | 0,0,1,0 |
polyline | empty |
direction | 1,0,0 |
MoCellFilter, MoColorMapping, MoDrawStyle, MoMaterial,
MiClipLineExtractIj, MiClipLineExtractUnstructured, MoLineDetail
MoMeshClipLine::MoMeshClipLine | ( | ) |
Constructor.
static SoType MoMeshClipLine::getClassTypeId | ( | ) | [static] |
Returns the type identifier for this class.
Reimplemented from MoMeshLineRepresentation.
const MiClipLineExtractIj* MoMeshClipLine::getIjExtractor | ( | ) |
Get extractor for reuse outside this node.
virtual SoType MoMeshClipLine::getTypeId | ( | ) | const [virtual] |
Returns the type identifier for this specific instance.
Reimplemented from MoMeshLineRepresentation.
const MiClipLineExtractUnstructured* MoMeshClipLine::getUnstructuredExtractor | ( | ) |
Get extractor for reuse outside this node.
Direction of the projection or normal to the plane if polyline contains a single point.
This field is set to the x-axis direction by default.
NOTE: field available since Open Inventor 2023.1SoDEPRECATED SoSFPlane MoMeshClipLine::plane |
Position of the plane slice.
Z=0 plane by default.
Set of points defining a polyline to be projected on the 3D surface mesh.
If this field contains a single point P, an intersection of the plane (P, direction) is extracted and rendered. This field is empty by default.
NOTE: field available since Open Inventor 2023.1