Go to the documentation of this file.
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);
93 vtkSetMacro(ScalarType,
int);
110 {this->SetScalarType(
VTK_BIT);};
111 vtkGetMacro(ScalarType,
int);
122 vtkSetMacro(ForegroundValue,
double);
123 vtkGetMacro(ForegroundValue,
double);
124 vtkSetMacro(BackgroundValue,
double);
125 vtkGetMacro(BackgroundValue,
double);
144 int SampleDimensions[3];
146 double ModelBounds[6];
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called in response to a REQUEST_DATA request from the executive.
void SetScalarTypeToUnsignedInt()
void SetScalarTypeToUnsignedShort()
void SetScalarTypeToShort()
#define VTK_UNSIGNED_SHORT
void SetScalarTypeToBit()
Generic algorithm superclass for image algs.
void SetScalarTypeToUnsignedLong()
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 SetScalarTypeToUnsignedChar()
~vtkVoxelModeller() override
a simple class to control print indentation
#define VTK_UNSIGNED_CHAR
void SetScalarTypeToChar()
void SetScalarTypeToDouble()
#define VTK_UNSIGNED_LONG
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
static vtkAlgorithm * New()
void SetScalarTypeToFloat()
void SetScalarTypeToLong()
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
void SetScalarTypeToInt()
convert an arbitrary dataset to a voxel representation