33 #ifndef __vtkVoxelModeller_h
34 #define __vtkVoxelModeller_h
36 #include "vtkImagingHybridModule.h"
37 #include "vtkImageAlgorithm.h"
43 void PrintSelf(ostream& os, vtkIndent indent);
53 double ComputeModelBounds(
double origin[3],
double ar[3]);
58 void SetSampleDimensions(
int i,
int j,
int k);
59 void SetSampleDimensions(
int dim[3]);
60 vtkGetVectorMacro(SampleDimensions,
int,3);
66 vtkSetClampMacro(MaximumDistance,
double,0.0,1.0);
67 vtkGetMacro(MaximumDistance,
double);
73 void SetModelBounds(
double bounds[6]);
74 void SetModelBounds(
double xmin,
double xmax,
double ymin,
double ymax,
double zmin,
double zmax);
75 vtkGetVectorMacro(ModelBounds,
double,6);
82 vtkSetMacro(ScalarType,
int);
87 {this->SetScalarType(VTK_UNSIGNED_INT);};
90 {this->SetScalarType(VTK_UNSIGNED_LONG);};
93 {this->SetScalarType(VTK_UNSIGNED_SHORT);};
95 {this->SetScalarType(VTK_UNSIGNED_CHAR);};
97 {this->SetScalarType(VTK_CHAR);};
99 {this->SetScalarType(VTK_BIT);};
100 vtkGetMacro(ScalarType,
int);
108 vtkSetMacro(ForegroundValue,
double);
109 vtkGetMacro(ForegroundValue,
double);
110 vtkSetMacro(BackgroundValue,
double);
111 vtkGetMacro(BackgroundValue,
double);
117 virtual int RequestInformation (vtkInformation *,
118 vtkInformationVector **,
119 vtkInformationVector *);
122 virtual int RequestData(vtkInformation *request,
123 vtkInformationVector** inputVector,
124 vtkInformationVector* outputVector);
127 virtual int FillInputPortInformation(
int port, vtkInformation* info);
129 int SampleDimensions[3];
131 double ModelBounds[6];
void SetScalarTypeToChar()
void SetScalarTypeToFloat()
void SetScalarTypeToInt()
void SetScalarTypeToDouble()
void SetScalarTypeToLong()
void SetScalarTypeToUnsignedInt()
void SetScalarTypeToBit()
convert an arbitrary dataset to a voxel representation
void SetScalarTypeToShort()
void SetScalarTypeToUnsignedShort()
void SetScalarTypeToUnsignedLong()
void SetScalarTypeToUnsignedChar()