61#ifndef vtkPointOccupancyFilter_h
62#define vtkPointOccupancyFilter_h
64#include "vtkFiltersPointsModule.h"
87 vtkGetVectorMacro(SampleDimensions,
int, 3);
97 vtkSetVector6Macro(ModelBounds,
double);
98 vtkGetVectorMacro(ModelBounds,
double, 6);
107 vtkSetMacro(EmptyValue,
unsigned char);
108 vtkGetMacro(EmptyValue,
unsigned char);
109 vtkSetMacro(OccupiedValue,
unsigned char);
110 vtkGetMacro(OccupiedValue,
unsigned char);
117 int SampleDimensions[3];
118 double ModelBounds[6];
119 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
Standard methods for instantiating, obtaining type information, and printing information.
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])
Set / get the dimensions of the occupancy volume.
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
These method should be reimplemented by subclasses that have more than a single input or single outpu...
void ComputeModelBounds(vtkDataSet *input, vtkImageData *output, vtkInformation *outInfo)
static vtkPointOccupancyFilter * New()
Standard methods for instantiating, obtaining type information, and printing information.