MoDrawStyle Class Reference
[Attributes]

MeshViz Property node that defines the draw style of representations. More...

#include <MeshVizXLM/mapping/nodes/MoDrawStyle.h>

Inheritance diagram for MoDrawStyle:
MoActionNode SoNode SoFieldContainer SoBase SoRefCounter SoTypedObject

List of all members.

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

Detailed Description

MeshViz Property node that defines the draw style of representations.

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 Edge Fading
edge_fading_off.png
edge_fading_on.png

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. When the fields displayFaces and displayEdges are TRUE, it is possible that a surface (for instance extracted by a MoMeshSkin or a MoMeshSlab) is rendered in 2 passes. The first pass draws the cell faces of the surface, and the second pass draws the cell edges in addition to the faces. The rendering in 2 passes can occur only for very large surface (containing millions of triangles or quadrangles) where the first pass can be done quickly before starting additional computations to display the edges. Note: The rendering of surfaces extracted from an unstructured grid is always done in one pass.

FILE FORMAT/DEFAULT

SEE ALSO

MoMaterial

ACTION BEHAVIOR


Open Inventor Toolkit reference manual, generated on 4 Sep 2023
Copyright © Thermo Fisher Scientific All rights reserved.
https://www.openinventor.com/