MoCustomColorMapping Class Reference
[Attributes]

MeshViz Property node that defines a custom color mapping. More...

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

Inheritance diagram for MoCustomColorMapping:
MoColorMapping MoActionNode SoNode SoFieldContainer SoBase SoRefCounter SoTypedObject

List of all members.

Public Member Functions

virtual SoType getTypeId () const
 MoCustomColorMapping ()
virtual void setColorMapping (const MiColorMapping< double, SbColorRGBA > *colorMapping)
virtual const MiColorMapping
< double, SbColorRGBA > * 
getColorMapping ()

Static Public Member Functions

static SoType getClassTypeId ()

Detailed Description

MeshViz Property node that defines a custom color mapping.

This node specifies a custom color mapping function defined by a custom MiColorMapping object provided by the application. Specifically an MiColorMapping object that maps a double value to an SbColorRGBA value.

Note:
This node has no fields. Therefore the node itself can be written to (and read from) an Inventor file, but the actual custom color mapping is not written or read back.

FILE FORMAT/DEFAULT

ACTION BEHAVIOR

SEE ALSO

MiColorMapping, MoCombineColorMapping MoLevelColorMapping, MoLinearColorMapping, MoPredefinedColorMapping

See related examples:

Legend


Constructor & Destructor Documentation

MoCustomColorMapping::MoCustomColorMapping (  ) 

Constructor.

Initially the color mapping is empty and has no effect.


Member Function Documentation

static SoType MoCustomColorMapping::getClassTypeId (  )  [static]

Returns the type identifier for this class.

Reimplemented from MoColorMapping.

virtual const MiColorMapping<double,SbColorRGBA>* MoCustomColorMapping::getColorMapping (  )  [virtual]

Gets the color mapping interface.

virtual SoType MoCustomColorMapping::getTypeId (  )  const [virtual]

Returns the type identifier for this specific instance.

Reimplemented from MoColorMapping.

virtual void MoCustomColorMapping::setColorMapping ( const MiColorMapping< double, SbColorRGBA > *  colorMapping  )  [virtual]

Sets the color mapping interface.

Sets the node as modified by calling touch(). When setting a new color map, the MiColorMapping::getTimeStamp() must return a different value than previously to actually take into account the change of color map.


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/