MoMaterial Class Reference
[Attributes]

MeshViz Property node that defines the material of surface representations. More...

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

Inheritance diagram for MoMaterial:
MoActionNode SoNode SoFieldContainer SoBase SoRefCounter SoTypedObject

List of all members.

Public Types

enum  ColoringType {
  COLOR,
  CONTOURING
}

Public Member Functions

virtual SoType getTypeId () const
 MoMaterial ()

Static Public Member Functions

static SoType getClassTypeId ()

Public Attributes

SoSFEnum faceColoring
SoSFColor faceColor
SoSFEnum lineColoring
SoSFColor lineColor
SoSFEnum pointColoring
SoSFColor pointColor
SoSFFloat transparency
SoSFBool enhancedColoring

Detailed Description

MeshViz Property node that defines the material of surface representations.

This node specifies the coloring to be used in subsequent nodes inheriting from MoMeshRepresentation and defining a surface. Specifically the face, edge and point coloring methods which can be uniform or contouring.

When the enhanced coloring method is enabled (enhancedColoring field set to TRUE), polygons are colored using a technique allowing to display more accurately the color gradient than what can be achieved normally with OpenGL.

Note:
This node applies only to surface representations.

FILE FORMAT/DEFAULT

SEE ALSO

MoDrawStyle for turning on display of facets, edges and points.

ACTION BEHAVIOR


Open Inventor by FEI reference manual, generated on 2 Sep 2019
Copyright © FEI S.A.S. All rights reserved.
http://www.openinventor.com/