Go to the documentation of this file.
34 #ifndef vtkVoxelModeller_h
35 #define vtkVoxelModeller_h
37 #include "vtkImagingHybridModule.h"
67 vtkGetVectorMacro(SampleDimensions,
int,3);
75 vtkSetClampMacro(MaximumDistance,
double,0.0,1.0);
76 vtkGetMacro(MaximumDistance,
double);
85 void SetModelBounds(
double xmin,
double xmax,
double ymin,
double ymax,
double zmin,
double zmax);
86 vtkGetVectorMacro(ModelBounds,
double,6);
113 {this->SetScalarType(
VTK_BIT);};
114 vtkGetMacro(ScalarType,
int);
126 vtkGetMacro(ForegroundValue,
double);
128 vtkGetMacro(BackgroundValue,
double);
147 int SampleDimensions[3];
149 double ModelBounds[6];
void SetModelBounds(const double bounds[6])
Specify the position in space to perform the voxelization.
void SetScalarTypeToUnsignedInt()
void SetScalarTypeToUnsignedShort()
void SetScalarTypeToShort()
#define VTK_UNSIGNED_SHORT
void SetScalarTypeToBit()
double ComputeModelBounds(double origin[3], double ar[3])
Compute the ModelBounds based on the input geometry.
Generic algorithm superclass for image algs.
virtual int FillInputPortInformation(int port, vtkInformation *info)
Fill the input port information objects for this algorithm.
void SetModelBounds(double xmin, double xmax, double ymin, double ymax, double zmin, double zmax)
void SetScalarTypeToUnsignedLong()
void SetScalarTypeToUnsignedChar()
a simple class to control print indentation
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
#define VTK_UNSIGNED_CHAR
virtual int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
Subclasses can reimplement this method to collect information from their inputs and set information f...
void SetScalarTypeToChar()
void SetScalarTypeToDouble()
#define VTK_UNSIGNED_LONG
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called in response to a REQUEST_DATA request from the executive.
static vtkVoxelModeller * New()
Construct an instance of vtkVoxelModeller with its sample dimensions set to (50,50,...
void SetScalarTypeToFloat()
void SetScalarTypeToLong()
void SetSampleDimensions(int dim[3])
void SetScalarTypeToInt()
convert an arbitrary dataset to a voxel representation
void SetSampleDimensions(int i, int j, int k)
Set the i-j-k dimensions on which to sample the distance function.