31 #ifndef vtkVoxelModeller_h
32 #define vtkVoxelModeller_h
34 #include "vtkImagingHybridModule.h"
55 double ComputeModelBounds(
double origin[3],
double ar[3]);
62 void SetSampleDimensions(
int i,
int j,
int k);
63 void SetSampleDimensions(
int dim[3]);
64 vtkGetVectorMacro(SampleDimensions,
int,3);
72 vtkSetClampMacro(MaximumDistance,
double,0.0,1.0);
73 vtkGetMacro(MaximumDistance,
double);
81 void SetModelBounds(
const double bounds[6]);
82 void SetModelBounds(
double xmin,
double xmax,
double ymin,
double ymax,
double zmin,
double zmax);
83 vtkGetVectorMacro(ModelBounds,
double,6);
110 {this->SetScalarType(
VTK_BIT);};
111 vtkGetMacro(ScalarType,
int);
123 vtkGetMacro(ForegroundValue,
double);
125 vtkGetMacro(BackgroundValue,
double);
144 int SampleDimensions[3];
145 double MaximumDistance;
146 double ModelBounds[6];
147 double ForegroundValue;
148 double BackgroundValue;
#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.
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
#define VTK_UNSIGNED_CHAR
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
void SetScalarTypeToUnsignedChar()
Control the scalar type of the output image.