42 #ifndef vtkPointOccupancyFilter_h
43 #define vtkPointOccupancyFilter_h
45 #include "vtkFiltersPointsModule.h"
68 vtkGetVectorMacro(SampleDimensions,
int, 3);
78 vtkSetVector6Macro(ModelBounds,
double);
79 vtkGetVectorMacro(ModelBounds,
double, 6);
88 vtkSetMacro(EmptyValue,
unsigned char);
89 vtkGetMacro(EmptyValue,
unsigned char);
90 vtkSetMacro(OccupiedValue,
unsigned char);
91 vtkGetMacro(OccupiedValue,
unsigned char);
98 int SampleDimensions[3];
99 double ModelBounds[6];
100 double Origin[3], Spacing[3];
abstract class to specify dataset behavior
Generic algorithm superclass for image algs.
topologically and geometrically regular array of data
a simple class to control print indentation
produce occupancy bit mask from input point cloud
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
Subclasses can reimplement this method to collect information from their inputs and set information f...
~vtkPointOccupancyFilter() override
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called in response to a REQUEST_DATA request from the executive.
void SetSampleDimensions(int dim[3])
unsigned char OccupiedValue
void SetSampleDimensions(int i, int j, int k)
Set / get the dimensions of the occupancy volume.
vtkPointOccupancyFilter()
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
void ComputeModelBounds(vtkDataSet *input, vtkImageData *output, vtkInformation *outInfo)
static vtkPointOccupancyFilter * New()
Standard methods for instantiating, obtaining type information, and printing information.