34 #ifndef vtkVoxelModeller_h 35 #define vtkVoxelModeller_h 37 #include "vtkImagingHybridModule.h" 58 double ComputeModelBounds(
double origin[3],
double ar[3]);
65 void SetSampleDimensions(
int i,
int j,
int k);
66 void SetSampleDimensions(
int dim[3]);
67 vtkGetVectorMacro(SampleDimensions,
int,3);
75 vtkSetClampMacro(MaximumDistance,
double,0.0,1.0);
76 vtkGetMacro(MaximumDistance,
double);
84 void SetModelBounds(
const double bounds[6]);
85 void SetModelBounds(
double xmin,
double xmax,
double ymin,
double ymax,
double zmin,
double zmax);
86 vtkGetVectorMacro(ModelBounds,
double,6);
96 vtkSetMacro(ScalarType,
int);
113 {this->SetScalarType(
VTK_BIT);};
114 vtkGetMacro(ScalarType,
int);
125 vtkSetMacro(ForegroundValue,
double);
126 vtkGetMacro(ForegroundValue,
double);
127 vtkSetMacro(BackgroundValue,
double);
128 vtkGetMacro(BackgroundValue,
double);
147 int SampleDimensions[3];
149 double ModelBounds[6];
#define VTK_UNSIGNED_SHORT
void SetScalarTypeToChar()
Control the scalar type of the output image.
void SetScalarTypeToFloat()
Control the scalar type of the output image.
void SetScalarTypeToInt()
Control the scalar type of the output image.
void SetScalarTypeToDouble()
Control the scalar type of the output image.
void SetScalarTypeToLong()
Control the scalar type of the output image.
void SetScalarTypeToUnsignedInt()
Control the scalar type of the output image.
a simple class to control print indentation
virtual int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
Subclasses can reimplement this method to collect information from their inputs and set information f...
void SetScalarTypeToBit()
Control the scalar type of the output image.
convert an arbitrary dataset to a voxel representation
void SetScalarTypeToShort()
Control the scalar type of the output image.
#define VTK_UNSIGNED_CHAR
int FillInputPortInformation(int port, vtkInformation *info) override
These method should be reimplemented by subclasses that have more than a single input or single outpu...
void SetScalarTypeToUnsignedShort()
Control the scalar type of the output image.
Generic algorithm superclass for image algs.
static vtkAlgorithm * New()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
#define VTK_UNSIGNED_LONG
void SetScalarTypeToUnsignedLong()
Control the scalar type of the output image.
~vtkVoxelModeller() override
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called in response to a REQUEST_DATA request from the executive.
void SetScalarTypeToUnsignedChar()
Control the scalar type of the output image.