Stores the current color mapping.
More...
#include <MeshVizXLM/mapping/elements/MoColorMappingElement.h>
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, const MiColorMapping< double, SbColorRGBA > *colorMapping) |
| static const MiColorMapping < double, SbColorRGBA > * | getColorMapping (SoState *state) |
Stores the current color mapping.
This element stores the current color mapping.
MoCustomColorMapping, MoLevelColorMapping, MoLinearColorMapping, MoPredefinedColorMapping
| static int MoColorMappingElement::getClassStackIndex | ( | ) | [static] |
Returns the stack id for this element.
Reimplemented from SoReplacedElement.
| static SoType MoColorMappingElement::getClassTypeId | ( | ) | [static] |
Returns the type identifier for this class.
Reimplemented from SoReplacedElement.
| static const MiColorMapping<double,SbColorRGBA>* MoColorMappingElement::getColorMapping | ( | SoState * | state | ) | [static] |
Returns the current color mapping from the state.
| virtual void MoColorMappingElement::print | ( | FILE * | fp | ) | const [virtual] |
Prints element (for debugging).
Reimplemented from SoReplacedElement.
| static void MoColorMappingElement::set | ( | SoState * | state, | |
| SoNode * | node, | |||
| const MiColorMapping< double, SbColorRGBA > * | colorMapping | |||
| ) | [static] |
Sets the current color mapping.