SoHeightFieldPropertyMask Class Reference

VolumeViz Height field mask node. More...

#include <VolumeViz/nodes/SoHeightFieldPropertyMask.h>

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

List of all members.

Public Member Functions

virtual SoType getTypeId () const
 SoHeightFieldPropertyMask ()

Static Public Member Functions

static SoType getClassTypeId ()

Detailed Description

VolumeViz Height field mask node.

SoHeightFieldPropertyMask specifies undefined "cells" in a height field data set. The mask is itself a data volume consisting of binary values. The volume values may be any supported data type. Zero values are "false" indicating undefined cells and non-zero values are "true" indicating valid cells.

A cell is defined by four height values in the SoHeightFieldGeometry data set. Setting a value to the undefinedValue in SoHeightFieldGeometry removes that height value from the mesh. Setting a cell to undefined in SoHeightFieldPropertyMask effectively removes four height values from the mesh.

The dimensions of the SoHeightFieldPropertyMask data set must be exactly the same as the dimensions of the corresponding SoHeightFieldGeomerty data set. However, since this data set corresponds to cells, if the SoHeightFieldGeometry dimensions are N x N, then only (N-1) x (N-1) values in the SoHeightFieldPropertyMask will actually be used.

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

FILE FORMAT/DEFAULT

SEE ALSO

SoHeightFieldRender, SoHeightFieldGeometry, SoMultiDataSeparator, SoHeightFieldProperty, SoConverter


Constructor & Destructor Documentation

SoHeightFieldPropertyMask::SoHeightFieldPropertyMask (  ) 

Member Function Documentation

static SoType SoHeightFieldPropertyMask::getClassTypeId (  )  [static]

Returns the type identifier for this class.

Reimplemented from SoVolumeData.

virtual SoType SoHeightFieldPropertyMask::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/