Documentation for vtkVoxelModeller

vtkVoxelModeller - convert an arbitrary dataset to a voxel representation

Super Class: vtkDataSetToStructuredPointsFilter

Description:

vtkVoxelModeller is a filter that converts an arbitrary data set to a structured point (i.e., voxel) representation. It is very similar to vtkImplicitModeller, except that it doesn't record distance; instead it records occupancy. As such, it stores its results in the more compact form of 0/1 bits.

 

See Also:

vtkImplicitModeller

 

Methods:

void vtkVoxelModeller ()
const char *GetClassName ()
void PrintSelf (unknown & ,vtkIndent )
static vtkVoxelModeller *New ()
float ComputeModelBounds (float ,float )
void SetSampleDimensions (int ,int ,int )
void SetSampleDimensions (int )
int *GetSampleDimensions ()
void SetMaximumDistance (float )
float GetMaximumDistance ()
void SetModelBounds (float *)
void SetModelBounds (float ,float ,float ,float ,float ,float )
float *GetModelBounds ()
void Write (char *)
void Execute ()

 

Detailed Method Descriptions:

Construct an instance of vtkVoxelModeller with its sample dimensions set to (50,50,50), and so that the model bounds are automatically computed from its input. The maximum distance is set to examine the whole grid. This could be made much faster, and probably will be in the future.

static vtkVoxelModeller *New ()

Compute the ModelBounds based on the input geometry.

float ComputeModelBounds (float ,float )

Set the i-j-k dimensions on which to sample the distance function.

void SetSampleDimensions (int ,int ,int )
void SetSampleDimensions (int )
int *GetSampleDimensions ()

Specify distance away from surface of input geometry to sample. Smaller values make large increases in performance.

void SetMaximumDistance (float )
float GetMaximumDistance ()

Specify the position in space to perform the voxelization.

void SetModelBounds (float *)
void SetModelBounds (float ,float ,float ,float ,float ,float )
float *GetModelBounds ()

The the volume out to a specified filename.

void Write (char *)