16#ifndef _VOLUME_MARCHING_CUBES_
17#define _VOLUME_MARCHING_CUBES_
19#include <Medical/InventorMedical.h>
21#include <Inventor/nodes/SoTriangleSet.h>
22#include <VolumeViz/nodes/SoVolumeData.h>
23#include <LDM/SoLDMTileID.h>
24#include <LDM/SoLDMDataAccess.h>
168 int marchCube(
SbVec3f& corner,
SbVec3f& size,
float values[8],
float isoval,
SbVec3f vertices[15] );
176 float getVoxelValue(
int i,
int j,
int k);
184 unsigned int m_voxelBytes;
194 std::vector<SbVec3f> m_vertices;
199 size_t m_numTriangles;
DataType
Supported data type.
<a href="IconLegend.html"><img src="extLDM.gif" alt="Large Data Management" border="0"></a> Octree t...
Set of triangles shape node.
<a href="IconLegend.html"><img src="extVR.gif" alt="VolumeViz" border="0"></a> Volume data property ...
<a href="IconLegend.html"><img src="extTGS.gif" alt="VSG extension" border="0"></a> (Preview feature...
size_t getNumTriangles() const
Returns number of triangles in most recently generated isosurface.
VolumeMarchingCubes()
Constructor.
SoTriangleSet * getIsosurface(const SoVolumeData &volume, float isovalue)
Returns the geometry for an isosurface with the specified value.
~VolumeMarchingCubes()
Destructor.
float getIsovalue() const
Returns isovalue of most recently generated isosurface.
Information about returned data when directly accessing the data rather than copying the data.