MoLevelColorMapping Class Reference
[Attributes]

MeshViz Property node that defines a color mapping with constant color in each interval. More...

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

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

List of all members.

Public Member Functions

virtual SoType getTypeId () const
 MoLevelColorMapping ()

Static Public Member Functions

static SoType getClassTypeId ()

Public Attributes

SoMFFloat values
SoMFVec4f colors
SoSFBool minThresholdEnable
SoSFFloat minThresholdValue
SoSFVec4f minThresholdColor
SoSFBool maxThresholdEnable
SoSFFloat maxThresholdValue
SoSFVec4f maxThresholdColor

Detailed Description

MeshViz Property node that defines a color mapping with constant color in each interval.

This node specifies a color mapping defined by a set of N scalar values (thus N-1 intervals) and N-1 colors representing the constant color used for values located in each interval. Thus, for a given value v, Vk <= v < Vk+1, the associated color is Ck.

Notes:

FILE FORMAT/DEFAULT

ACTION BEHAVIOR

SEE ALSO

MoCombineColorMapping, MoCustomColorMapping, MoLinearColorMapping, MoPredefinedColorMapping

See related examples:

MeshVizColorMapping, Legend, MaterialAndDrawStyle


Constructor & Destructor Documentation

MoLevelColorMapping::MoLevelColorMapping (  ) 

Constructor.

Initially the color mapping is empty and has no effect.


Member Function Documentation

static SoType MoLevelColorMapping::getClassTypeId (  )  [static]

Returns the type identifier for this class.

Reimplemented from MoColorMapping.

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

Returns the type identifier for this specific instance.

Reimplemented from MoColorMapping.


Member Data Documentation

Contains a set of N-1 color values defining the constant color of each level.


Each color consists of R, G, B and A values in the range 0..1. Default is empty.

Max Threshold color (R, G, B and A values in the range 0..1).

Default is transparent black (0,0,0,0).

Max Threshold enable flag.


When TRUE, values higher than maxThresholdValue are displayed using the maxThresholdColor. Default is FALSE.

Max Threshold value.

Default is 0.

Min Threshold color (R, G, B and A values in the range 0..1).

Default is transparent black (0,0,0,0).

Min Threshold enable flag.


When TRUE, values lower than minThresholdValue are displayed using the minThresholdColor. Default is FALSE.

Min Threshold value.

Default is 0.

Contains a set of N scalar values defining the levels of the colormap.

Default is empty.


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

Open Inventor Toolkit reference manual, generated on 15 Mar 2023
Copyright © Thermo Fisher Scientific All rights reserved.
http://www.openinventor.com/