SoHeightFieldProperty Class Reference
[Nodes]

VolumeViz Height field property node. More...

#include <VolumeViz/nodes/SoHeightFieldProperty.h>

Inheritance diagram for SoHeightFieldProperty:
SoVolumeData SoDataSet SoVolumeRendering SoNode SoFieldContainer SoBase SoRefCounter SoTypedObject

List of all members.

Public Member Functions

virtual SoType getTypeId () const
 SoHeightFieldProperty ()

Static Public Member Functions

static SoType getClassTypeId ()

Detailed Description

VolumeViz Height field property node.

SoHeightFieldProperty defines a set of values on a uniform grid in the XY plane that can be used to color an SoHeightFieldGeometry when rendered using an SoHeightFieldRender node.

SoHeightFieldProperty is derived from SoVolumeData and serves a similar purpose in the scene graph, providing a reference to an LDM data set which will be loaded as needed by rendering nodes, specifically SoHeightFieldRender in this case.

The property data is given using the inherited field fileName or by using a custom reader through the setReader method.

Multiple SoHeightFieldProperty nodes can be inserted in a scene graph and combined together in the GPU to do render compositing. However the default fragment shader only handles one property (the first one). To combine multiple properties use a custom shader program (see SoVolumeShader and the example program).

Note that it is not necessary (or useful) to set the inherited extent field. SoHeightFieldRender will use the extent associated with the SoHeightFieldGeometry node.

Also note that the inherited undefinedValue field is ignored. Setting it has no effect.

FILE FORMAT/DEFAULT

SEE ALSO

SoHeightFieldRender, SoHeightFieldGeometry, SoMultiDataSeparator, SoConverter

See related examples:

HorizonGpuCompose, SimpleHorizon, SimpleHorizonInMemory, SimpleHorizonRGBA


Constructor & Destructor Documentation

SoHeightFieldProperty::SoHeightFieldProperty (  ) 

Member Function Documentation

static SoType SoHeightFieldProperty::getClassTypeId (  )  [static]

Returns the type identifier for this class.

Reimplemented from SoVolumeData.

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

Returns the type identifier for this specific instance.

Reimplemented from SoVolumeData.


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/