24#ifndef _SO_VOLUME_RENDER_DETAIL_
25#define _SO_VOLUME_RENDER_DETAIL_
143 void getRgbaValues(std::vector<SbVec4ub>& rgbaValues, std::vector<SbVec3f>& objectPos,
144 std::vector<SbVec3i32>& dataPos, std::vector<SoLDMTileID>& tileIds,
145 float opacityThreshold = -1.f)
const;
153 void getRgbaValues(std::vector<SbVec4ub>& rgbaValues, std::vector<SbVec3f>& objectPos,
float opacityThreshold = -1.f)
const;
160 void getRgbaValues(std::vector<SbVec4ub>& rgbaValues,
float opacityThreshold = -1.f)
const;
167 void getRgbaValues(std::vector<SbVec4ub>& rgbaValues, std::vector<SbVec3i32>& dataPos,
float opacityThreshold = -1.f)
const;
179 static void initClass();
180 static void exitClass();
186 void setRgbaValues(
const std::vector<SbVec4ub>& rgbaValues,
const std::vector<SbVec3f>& points);
#define FALSE
Possible value of SbBool.
SO_PIMPL_PUBLIC_DECLARATION(SoFileDataAdapter)
#define SO_DETAIL_HEADER(className)
Base class for describing detail information about a shape node.
DrawStyle
Volume rendering style.
<a href="IconLegend.html"><img src="extVR.gif" alt="VolumeViz" border="0"></a> Base class for detail...
<a href="IconLegend.html"><img src="extVR.gif" alt="VolumeViz" border="0"></a> Stores detail informa...
SoLDM::DataSetIdPair getMask(size_t index, SbBool realValue=FALSE) const
Returns the i-th volume mask applied to the first non-transparent voxel.
virtual SoDetail * copy() const
Returns an instance that is a copy of this instance.
void getRgbaValues(std::vector< SbVec4ub > &rgbaValues, std::vector< SbVec3f > &objectPos, std::vector< SbVec3i32 > &dataPos, std::vector< SoLDMTileID > &tileIds, float opacityThreshold=-1.f) const
Returns the RGBA value, object space position, data space position and tileId for each voxel intersec...
void getRgbaValues(std::vector< SbVec4ub > &rgbaValues, std::vector< SbVec3i32 > &dataPos, float opacityThreshold=-1.f) const
Returns the RGBA value and data space position of each voxel intersected by the pick ray.
void getVoxelStyleAndIsoValue(SoVolumeDataDrawStyle::DrawStyle &style, double &iso, SbBool realValue=FALSE) const
Returns the style applied to the first non-transparent voxel (and its isovalue if the style is SoVolu...
size_t getMaskCount(SbBool realValue=FALSE) const
Returns the number of volume masks applied to the first non-transparent voxel.
void getRgbaValues(std::vector< SbVec4ub > &rgbaValues, float opacityThreshold=-1.f) const
Returns the RGBA value of each voxel intersected by the pick ray.
const std::vector< SoLDMTileID > & getRgbaValuesTileIds() const
Returns the tileID of each voxel intersected by the pick ray.
SoVolumeRenderDetail()
Constructor.
virtual ~SoVolumeRenderDetail()
Destructor.
void getRgbaValues(std::vector< SbVec4ub > &rgbaValues, std::vector< SbVec3f > &objectPos, float opacityThreshold=-1.f) const
Returns the RGBA value and object space position of each voxel intersected by the pick ray.
std::pair< SoDataSet *, int > DataSetIdPair
Pair containing an SoDataset and its dataSetId.