PoDataMapping Class Reference

MeshViz Abstract base class for all data mapping nodes. More...

#include <MeshViz/nodes/PoDataMapping.h>

Inheritance diagram for PoDataMapping:
PoNode SoNode SoFieldContainer SoBase SoRefCounter SoTypedObject PoLinearDataMapping PoNonLinearDataMapping PoNonLinearDataMapping2

List of all members.

Public Member Functions

virtual SoType getTypeId () const
virtual const SbColorgetColor (float value)=0
virtual const SbColorgetColor (float value, float &transparency)=0

Static Public Member Functions

static SoType getClassTypeId ()

Public Attributes

SoSFBool minThresholdEnabled
SoSFFloat minThreshold
SoSFColor minThresholdColor
SoSFFloat minThresholdTransparency
SoSFBool maxThresholdEnabled
SoSFFloat maxThreshold
SoSFColor maxThresholdColor
SoSFFloat maxThresholdTransparency
SoSFBool transparencyEnabled
SoSFFloat transparencyValueDeletedParts

Detailed Description

MeshViz Abstract base class for all data mapping nodes.

This node is the abstract base class for all data mapping nodes. Data mapping defines an association between colors, transparencies and floating-point values. Giving transparencies is not compulsory. When they are not given, they are supposed to be equal to 0 , i.e. each color is opaque.

Whatever data mapping, two threshold values can be defined, minThreshold and maxThreshold. One color (minThresholdColor) and one transparency (minThresholdTransparency) are associated to minThreshold. As well, maxThresholdColor and maxThresholdTransparency are associated to maxThreshold. For a given value vi <= minThreshold, the associated color ci is minThresholdColor and the associated transparency ti is minThresholdTransparency. As well, for a given value vi >= maxThreshold, the associated color ci is maxThresholdColor and the associated transparency ti is maxThresholdTransparency.


Open Inventor Toolkit reference manual, generated on 12 Sep 2022
Copyright © Thermo Fisher Scientific All rights reserved.