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