33 #ifndef __vtkVoxelModeller_h
34 #define __vtkVoxelModeller_h
52 double ComputeModelBounds(
double origin[3],
double ar[3]);
57 void SetSampleDimensions(
int i,
int j,
int k);
58 void SetSampleDimensions(
int dim[3]);
59 vtkGetVectorMacro(SampleDimensions,
int,3);
65 vtkSetClampMacro(MaximumDistance,
double,0.0,1.0);
66 vtkGetMacro(MaximumDistance,
double);
72 void SetModelBounds(
double bounds[6]);
73 void SetModelBounds(
double xmin,
double xmax,
double ymin,
double ymax,
double zmin,
double zmax);
74 vtkGetVectorMacro(ModelBounds,
double,6);
81 vtkSetMacro(ScalarType,
int);
98 {this->SetScalarType(
VTK_BIT);};
99 vtkGetMacro(ScalarType,
int);
107 vtkSetMacro(ForegroundValue,
double);
108 vtkGetMacro(ForegroundValue,
double);
109 vtkSetMacro(BackgroundValue,
double);
110 vtkGetMacro(BackgroundValue,
double);
128 int SampleDimensions[3];
130 double ModelBounds[6];
#define VTK_UNSIGNED_SHORT
void SetScalarTypeToChar()
void SetScalarTypeToFloat()
void SetScalarTypeToInt()
void SetScalarTypeToDouble()
void SetScalarTypeToLong()
void SetScalarTypeToUnsignedInt()
a simple class to control print indentation
virtual int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
void SetScalarTypeToBit()
convert an arbitrary dataset to a voxel representation
virtual int FillInputPortInformation(int port, vtkInformation *info)
void SetScalarTypeToShort()
#define VTK_UNSIGNED_CHAR
void SetScalarTypeToUnsignedShort()
Generic algorithm superclass for image algs.
void PrintSelf(ostream &os, vtkIndent indent)
static vtkAlgorithm * New()
#define VTK_UNSIGNED_LONG
void SetScalarTypeToUnsignedLong()
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
void SetScalarTypeToUnsignedChar()