MoMaterialElement Class Reference
[Elements]

MeshViz Stores the current material. More...

#include <MeshVizXLM/mapping/elements/MoMaterialElement.h>

Inheritance diagram for MoMaterialElement:
SoReplacedElement SoElement SoTypedObject

List of all members.

Public Member Functions

virtual void print (FILE *fp) const

Static Public Member Functions

static SoType getClassTypeId ()
static int getClassStackIndex ()
static void set (SoState *state, SoNode *node, MoMaterial::ColoringType coloring, const SbColor &color, MoMaterial::ColoringType lineColoring, const SbColor &lineColor, MoMaterial::ColoringType markerColoring, const SbColor &markerColor, float transparency, bool enhancedColoring)
static bool getMaterial (SoState *state, MoMaterial::ColoringType &coloring, SbColor &color, MoMaterial::ColoringType &lineColoring, SbColor &lineColor, MoMaterial::ColoringType &markerColoring, SbColor &markerColor, float &transparency, bool &enhancedColoring)
static bool getColoringTypes (SoState *state, MoMaterial::ColoringType &coloring, MoMaterial::ColoringType &lineColoring, MoMaterial::ColoringType &markerColoring)
static bool getDefault (MoMaterial::ColoringType &coloring, SbColor &color, MoMaterial::ColoringType &lineColoring, SbColor &lineColor, MoMaterial::ColoringType &markerColoring, SbColor &markerColor, float &transparency, bool &enhancedColoring)

Detailed Description

MeshViz Stores the current material.

This element stores the current colors and coloring options.

SEE ALSO

MoMaterial


Member Function Documentation

static int MoMaterialElement::getClassStackIndex (  )  [static]

Returns the stack id for this element.

Reimplemented from SoReplacedElement.

static SoType MoMaterialElement::getClassTypeId (  )  [static]

Returns the type identifier for this class.

Reimplemented from SoReplacedElement.

static bool MoMaterialElement::getColoringTypes ( SoState state,
MoMaterial::ColoringType coloring,
MoMaterial::ColoringType lineColoring,
MoMaterial::ColoringType markerColoring 
) [static]

Returns the current coloring type Material from the state.

static bool MoMaterialElement::getDefault ( MoMaterial::ColoringType coloring,
SbColor color,
MoMaterial::ColoringType lineColoring,
SbColor lineColor,
MoMaterial::ColoringType markerColoring,
SbColor markerColor,
float &  transparency,
bool &  enhancedColoring 
) [static]

Returns the default Material from the state.

static bool MoMaterialElement::getMaterial ( SoState state,
MoMaterial::ColoringType coloring,
SbColor color,
MoMaterial::ColoringType lineColoring,
SbColor lineColor,
MoMaterial::ColoringType markerColoring,
SbColor markerColor,
float &  transparency,
bool &  enhancedColoring 
) [static]

Returns the current Material from the state.

virtual void MoMaterialElement::print ( FILE *  fp  )  const [virtual]

Prints element (for debugging).

Reimplemented from SoReplacedElement.

static void MoMaterialElement::set ( SoState state,
SoNode node,
MoMaterial::ColoringType  coloring,
const SbColor color,
MoMaterial::ColoringType  lineColoring,
const SbColor lineColor,
MoMaterial::ColoringType  markerColoring,
const SbColor markerColor,
float  transparency,
bool  enhancedColoring 
) [static]

Sets the current material.


The documentation for this class was generated from the following file:

Open Inventor Toolkit reference manual, generated on 12 Feb 2024
Copyright © Thermo Fisher Scientific All rights reserved.
http://www.openinventor.com/