Documentation for vtkSliceCubes

vtkSliceCubes - generate isosurface(s) from volume four slices at a time

Super Class: vtkObject

Description:

vtkSliceCubes is a special version of the marching cubes filter. Instead of ingesting an entire volume at once it processes only four slices at a time. This way, it can generate isosurfaces from huge volumes. Also, the output of this object is written to a marching cubes triangle file. That way, output triangles do not need to be held in memory. To use vtkSliceCubes you must specify an instance of vtkVolumeReader to read the data. Set this object up with the proper file prefix, image range, data origin, data dimensions, header size, data mask, and swap bytes flag. The vtkSliceCubes object will then take over and read slices as necessary. You also will need to specify the name of an output marching cubes triangle file.

 

Caveats:

This process object is both a source and mapper (i.e., it reads and writes data to a file). This is different than the other marching cubes objects (and most process objects in the system). It's specialized to handle very large data. This object only extracts a single isosurface. This compares with the other contouring objects in vtk that generate multiple surfaces. To read the output file use vtkMCubesReader.

 

See Also:

vtkMarchingCubes vtkContourFilter vtkMCubesReader vtkDividingCubes vtkVolumeReader

 

Methods:

void vtkSliceCubes ()
void vtkSliceCubes ()
static vtkSliceCubes *New ()
const char *GetClassName ()
void PrintSelf (unknown & ,vtkIndent )
void Write ()
void Update ()
void SetReader (vtkVolumeReader *)
vtkVolumeReader *GetReader ()
void SetFileName (char *)
char *GetFileName ()
void SetValue (float )
float GetValue ()
void SetLimitsFileName (char *)
char *GetLimitsFileName ()
void Execute ()

 

Detailed Method Descriptions:

Set/get object to read slices.

void SetReader (vtkVolumeReader *)
vtkVolumeReader *GetReader ()

Specify file name of marching cubes output file.

void SetFileName (char *)
char *GetFileName ()

Set/get isosurface contour value.

void SetValue (float )
float GetValue ()

Specify file name of marching cubes limits file. The limits file speeds up subsequent reading of output triangle file.

void SetLimitsFileName (char *)
char *GetLimitsFileName ()