PoNonLinearDataMapping2 Class Reference
[Misc]

MeshViz Node class to define a non linear data mapping. More...

#include <MeshViz/nodes/PoNonLinearDataMapping2.h>

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

List of all members.

Public Types

enum  Type {
  NON_LINEAR_PER_LEVEL,
  LINEAR_PER_LEVEL
}

Public Member Functions

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

Static Public Member Functions

static SoType getClassTypeId ()

Public Attributes

SoSFEnum type
SoMFFloat value
SoMFColor color
SoMFFloat transparency

Detailed Description

MeshViz Node class to define a non linear data mapping.

This node defines the current data mapping for all subsequent MeshViz representations which use it. There is no data mapping until a PoDataMapping node is traversed.

This node defines a non linear association between colors, transparencies and floating-point values. In other words, this association is defined by 2 functions F(c,v) and F(c,t):

         F(c,v)(V) = C (with c being a color and v being a value).
         F(t,v)(V) = T (with t being a transparency and v being a value).
   

There are two ways to express F(c,v)(V):

There are as well, two ways to express F(t,v)(V)

FILE FORMAT/DEFAULT


Open Inventor Toolkit reference manual, generated on 12 Feb 2024
Copyright © Thermo Fisher Scientific All rights reserved.
http://www.openinventor.com/