Height field property node. More...
#include <VolumeViz/nodes/SoHeightFieldProperty.h>
Public Member Functions | |
virtual SoType | getTypeId () const |
SoHeightFieldProperty () | |
Static Public Member Functions | |
static SoType | getClassTypeId () |
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.
fileName | "" |
storageHint | AUTO |
usePalettedTexture | TRUE |
texturePrecision | 0 |
useSharedPalettedTexture | TRUE |
useCompressedTexture | TRUE |
useExtendedData | FALSE |
dataSetId | 1 |
data | NODATA 0 0 0 UBYTE 8 |
SoHeightFieldRender, SoHeightFieldGeometry, SoMultiDataSeparator, SoConverter
HorizonGpuCompose, SimpleHorizon, SimpleHorizonInMemory, SimpleHorizonRGBA
SoHeightFieldProperty::SoHeightFieldProperty | ( | ) |
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.