 |
VTK
9.1.0
|
Go to the documentation of this file.
50 #ifndef vtkVoxelModeller_h
51 #define vtkVoxelModeller_h
54 #include "vtkImagingHybridModule.h"
83 vtkGetVectorMacro(SampleDimensions,
int, 3);
91 vtkSetClampMacro(MaximumDistance,
double, 0.0, 1.0);
92 vtkGetMacro(MaximumDistance,
double);
101 void SetModelBounds(
double xmin,
double xmax,
double ymin,
double ymax,
double zmin,
double zmax);
102 vtkGetVectorMacro(ModelBounds,
double, 6);
112 vtkSetMacro(ScalarType,
int);
124 vtkGetMacro(ScalarType,
int);
135 vtkSetMacro(ForegroundValue,
double);
136 vtkGetMacro(ForegroundValue,
double);
137 vtkSetMacro(BackgroundValue,
double);
138 vtkGetMacro(BackgroundValue,
double);
154 int SampleDimensions[3];
156 double ModelBounds[6];
void SetModelBounds(const double bounds[6])
Specify the position in space to perform the voxelization.
void SetScalarTypeToUnsignedInt()
Control the scalar type of the output image.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void SetScalarTypeToUnsignedShort()
Control the scalar type of the output image.
void SetScalarTypeToShort()
Control the scalar type of the output image.
#define VTK_UNSIGNED_SHORT
void SetScalarTypeToBit()
Control the scalar type of the output image.
Generic algorithm superclass for image algs.
double ComputeModelBounds(double origin[3], double spacing[3])
Compute the ModelBounds based on the input geometry.
void SetModelBounds(double xmin, double xmax, double ymin, double ymax, double zmin, double zmax)
Specify the position in space to perform the voxelization.
void SetScalarTypeToUnsignedLong()
Control the scalar type of the output image.
void SetScalarTypeToUnsignedChar()
Control the scalar type of the output image.
a simple class to control print indentation
int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
This is called in response to a REQUEST_DATA request from the executive.
#define VTK_UNSIGNED_CHAR
void SetScalarTypeToChar()
Control the scalar type of the output image.
void SetScalarTypeToDouble()
Control the scalar type of the output image.
#define VTK_UNSIGNED_LONG
~vtkVoxelModeller() override=default
static vtkVoxelModeller * New()
Construct an instance of vtkVoxelModeller with its sample dimensions set to (50,50,...
int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
Subclasses can reimplement this method to collect information from their inputs and set information f...
void SetScalarTypeToFloat()
Control the scalar type of the output image.
void SetScalarTypeToLong()
Control the scalar type of the output image.
void SetSampleDimensions(int dim[3])
Set the i-j-k dimensions on which to sample the distance function.
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 SetScalarTypeToInt()
Control the scalar type of the output image.
convert an arbitrary dataset to a voxel representation
void SetSampleDimensions(int i, int j, int k)
Set the i-j-k dimensions on which to sample the distance function.