Property node that defines the draw style of representations. More...
#include <MeshVizXLM/mapping/nodes/MoDrawStyle.h>
Public Member Functions | |
virtual SoType | getTypeId () const |
MoDrawStyle () | |
Static Public Member Functions | |
static SoType | getClassTypeId () |
Public Attributes | |
SoSFBool | displayFaces |
SoSFBool | displayEdges |
SoSFBool | displayPoints |
SoSFFloat | fadingThreshold |
This node specifies the draw style to be used in subsequent nodes inheriting from MoMeshRepresentation and defining a surface or a line.
No Edge Fading (thold 0) | Edge Fading (thold 5) |
| |
See MoMaterial for setting the rendering attributes of facets, edges and points.
Use this node, for example, to efficiently render a colored surface and the outlines of its cells using a single rendering node.
displayFaces | TRUE |
displayEdges | FALSE |
displayPoints | FALSE |
fadingThreshold | 0 |
PEBIMeshViz, QuadraticWheelHexa27, Turbine, CellShapeConnectedFromSkin, ClipLine, ClipLineOnSkin, ElevatedPlaneSlice, EnhancedColoring, FenceSlice, FenceSliceSelection, Isoline, Legend, MaterialAndDrawStyle, Polyhedron, QuadraticHexa20, QuadraticHexa27, QuadraticTetra10, QuadraticTube, QuadraticWedge18, QuadraticWheelHexa20, QuadraticWheelTetra10, QuadraticWheelWedge18, SphereCylinderPlaneSlices, Streamlines, TutorialPicking1, TutorialPicking2, TutorialPicking3, TutorialPicking4, TutorialPicking5, TutorialPicking6, TutorialPicking7, TutorialPicking8, TutorialPicking9, WheelHexa8
MoDrawStyle::MoDrawStyle | ( | ) |
Constructor.
static SoType MoDrawStyle::getClassTypeId | ( | ) | [static] |
Returns the type identifier for this class.
Reimplemented from MoActionNode.
virtual SoType MoDrawStyle::getTypeId | ( | ) | const [virtual] |
Returns the type identifier for this specific instance.
Reimplemented from MoActionNode.
The display mode for mesh edges.
When set to TRUE, the edges of faces are displayed. Otherwise, they are not displayed (Default).
The display mode for mesh faces.
When set to TRUE (default), the surface of mesh representations are filled. Otherwise, they are not filled.
The display mode for mesh node points.
When set to TRUE, the node points are displayed. Otherwise, they are not displayed (Default).
Threshold allowing to fade out extra styles of a representation as it gets away from the view point.
For instance, edges and points displayed on a skin vanish depending of their size on screen. This threshold defines the pixel length limit on screen under which edges start fading out. When set to 0, fading is disabled, which is the default behavior. Setting the threshold to 5 leads to fade out edges with less than 5 pixels on screen. Note that a transparency is required so be sure to check SoTransparencyType documentation in order to be aware of known transparency limitations (AA compatibility).