25#ifndef _SO_VOLUME_DETAIL_
26#define _SO_VOLUME_DETAIL_
28#include <Inventor/details/SoSubDetail.h>
29#include <Inventor/SbPImpl.h>
30#include <VolumeViz/nodes/SoVolumeDataDrawStyle.h>
31#include <LDM/elements/SoDataRangeElement.h>
242 static void initClass();
243 static void exitClass();
249 void setDrawStyleMap(
const SoVolumeDataDrawStyle::MaskDrawStyleValueMap& styleMap);
252 void setTransferFunctionList(
const std::vector<SoTransferFunction*>& tfList,
int intersectionTfId);
255 void setIsovalueMap(
const SoVolumeDataDrawStyle::IsovalueMap& isomap);
258 void setDataRangeMap(
const SoDataRangeElement::DataRangeIdMap& dataRangeMap);
261 void setVolumeRenderTransparency(
float transparency);
Base class for describing detail information about a shape node.
<a href="IconLegend.html"><img src="extLDM.gif" alt="Large Data Management" border="0"></a> Region o...
<a href="IconLegend.html"><img src="extLDM.gif" alt="Large Data Management" border="0"></a> Describe...
<a href="IconLegend.html"><img src="extVR.gif" alt="VolumeViz" border="0"></a> Volume data property ...
<a href="IconLegend.html"><img src="extVR.gif" alt="VolumeViz" border="0"></a> Base class for detail...
virtual SbBool getFirstNonTransparentValue(int64_t &value, SbVec3i32 &pos, SbVec3f *objPos=0, SbBool realValue=FALSE) const
Retrieves the value and position of the first non-transparent voxel along the pick ray (if any).
void getProfileObjectPos(SbVec3f profile[2]) const
Returns the profile position in object space (world coordinates).
double getProfileValueD(int index, SbVec3i32 &pos, SbVec3f *objPos, SbBool realValue=FALSE) const
Returns the index'th value (as a double) and its position in object and data space.
int getProfileDataPos(SbVec3i32 profile[2]) const
Returns the number of values along the profile and the profile position in data space (voxel coordina...
virtual SbBool getFirstNonTransparentValue(double &value, SbVec3i32 &pos, SbVec3f *objPos=0, SbBool realValue=FALSE) const
Retrieves the value and position of the first non-transparent voxel along the pick ray (if any).
int64_t getProfileValue(int index, SbVec3i32 &pos, SbVec3f *objPos=0, SbBool realValue=FALSE) const
Returns the index'th value (as an integer) and its position in object and data space.
SoVolumeDetail()
Constructor.
virtual SoDetail * copy() const
Returns an instance that is a copy of this instance.
virtual ~SoVolumeDetail()
Destructor.
std::vector< DataSetIdPair > DataSetIdPairList
List of DataSetIdPair.