MoLinearColorMapping Class Reference
[Attributes]

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

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

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

List of all members.

Public Member Functions

virtual SoType getTypeId () const
 MoLinearColorMapping ()

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 interpolated color in each interval.

This node defines a linear color mapping defined by a set of scalar values and their corresponding colors. For a given value v, Vk <= v <= Vk+1, the associated color c is determined by a linear interpolation between (Vk,Ck) and (Vk+1,Ck+1). Where Vk,Ck is pair number k of the colormap.

Notes:

FILE FORMAT/DEFAULT

ACTION BEHAVIOR

SEE ALSO

MoCombineColorMapping, MoCustomColorMapping, MoLevelColorMapping, MoPredefinedColorMapping

See related examples:

Legend, MaterialAndDrawStyle, TutorialCombineColorMapping


Constructor & Destructor Documentation

MoLinearColorMapping::MoLinearColorMapping (  ) 

Constructor.

Initially the color mapping is empty and has no effect.


Member Function Documentation

static SoType MoLinearColorMapping::getClassTypeId (  )  [static]

Returns the type identifier for this class.

Reimplemented from MoColorMapping.

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

Returns the type identifier for this specific instance.

Reimplemented from MoColorMapping.


Member Data Documentation

Contains a set of N colors defining the color at each scalar value.


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 12 Feb 2024
Copyright © Thermo Fisher Scientific All rights reserved.
http://www.openinventor.com/