25#ifndef _SOHEIGHTFIELDDETAIL_H
26#define _SOHEIGHTFIELDDETAIL_H
30#pragma warning(disable:4251)
33#include <VolumeViz/nodes/SoVolumeRendering.h>
34#include <Inventor/STL/vector>
35#include <Inventor/details/SoSubDetail.h>
36#include <Inventor/SbVec.h>
38#include <LDM/SoLDMTileID.h>
129 static void initClass();
130 static void exitClass();
134 inline void setUvPos(
const SbVec2f &pos) { m_uvPos = pos; }
136 inline const SbVec2f& getUvPos()
const {
return m_uvPos; }
138 inline void setIjkPos(
const SbVec3i32 &pos) { m_ijkPos = pos; }
140 inline void setTile(
const SoLDMTileID& tile) { m_tileId = tile; }
143 inline const SoLDMTileID& getTile()
const {
return m_tileId; }
146 inline void setHeight(
float height) { m_height = height; }
149 inline void setColor(
const SbVec4i32& color) { m_color = color; }
158 std::vector<double> m_values;
Abstract base class for all actions.
<a href="IconLegend.html"><img src="extLDM.gif" alt="Large Data Management" border="0"></a> Data set...
Base class for describing detail information about a shape node.
<a href="IconLegend.html"><img src="extVR.gif" alt="VolumeViz" border="0"></a> Stores detail informa...
float getHeight() const
Get the height value of the nearest elevation point.
void getProperty(size_t propertyNumber, SoHeightFieldProperty *&property, int &id) const
Returns the specified property and its id.
const SbVec4i32 & getColor() const
Returns the color of the picked cell.
double getValue(size_t propertyNumber) const
Returns the value of the picked cell in the specified property (SoHeightFieldProperty node).
const SbVec3i32 & getIjkPos() const
Returns the position in data space (cell coordinates) of the picked cell.
SoHeightFieldDetail()
Constructor.
virtual ~SoHeightFieldDetail()
Destructor.
size_t getNumProperties() const
Returns the number of active properties.
virtual SoDetail * copy() const
Returns an instance that is a copy of this instance.
<a href="IconLegend.html"><img src="extVR.gif" alt="VolumeViz" border="0"></a> Height field property...
<a href="IconLegend.html"><img src="extLDM.gif" alt="Large Data Management" border="0"></a> Tile ID
std::vector< DataSetIdPair > DataSetIdPairList
List of DataSetIdPair.