92 #ifndef vtkBinnedDecimation_h
93 #define vtkBinnedDecimation_h
95 #include "vtkFiltersCoreModule.h"
122 void SetNumberOfXDivisions(
int num);
123 void SetNumberOfYDivisions(
int num);
124 void SetNumberOfZDivisions(
int num);
125 vtkGetMacro(NumberOfXDivisions,
int);
126 vtkGetMacro(NumberOfYDivisions,
int);
127 vtkGetMacro(NumberOfZDivisions,
int);
129 void SetNumberOfDivisions(
int div0,
int div1,
int div2);
131 void GetNumberOfDivisions(
int div[3]);
140 vtkSetMacro(AutoAdjustNumberOfDivisions,
bool);
141 vtkGetMacro(AutoAdjustNumberOfDivisions,
bool);
142 vtkBooleanMacro(AutoAdjustNumberOfDivisions,
bool);
152 void SetDivisionOrigin(
double x,
double y,
double z);
154 vtkGetVector3Macro(DivisionOrigin,
double);
155 void SetDivisionSpacing(
double x,
double y,
double z);
157 vtkGetVector3Macro(DivisionSpacing,
double);
187 vtkSetClampMacro(PointGenerationMode,
int, INPUT_POINTS, BIN_AVERAGES);
188 vtkGetMacro(PointGenerationMode,
int);
206 vtkSetMacro(ProducePointData,
bool);
207 vtkGetMacro(ProducePointData,
bool);
208 vtkBooleanMacro(ProducePointData,
bool);
216 vtkSetMacro(ProduceCellData,
bool);
217 vtkGetMacro(ProduceCellData,
bool);
218 vtkBooleanMacro(ProduceCellData,
bool);
239 int NumberOfDivisions[3];
247 double DivisionOrigin[3];
248 double DivisionSpacing[3];
bool AutoAdjustNumberOfDivisions
void SetPointGenerationModeToBinAverages()
Four options exist for generating output points.
void SetNumberOfDivisions(int div[3])
Set/Get the number of divisions along each axis for the spatial bins.
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
void SetPointGenerationModeToUseInputPoints()
Four options exist for generating output points.
bool GetLargeIds()
Return a flag indicating whether large ids were used during execution.
concrete dataset represents vertices, lines, polygons, and triangle strips
static vtkPolyDataAlgorithm * New()
Superclass for algorithms that produce only polydata as output.
void SetPointGenerationModeToBinPoints()
Four options exist for generating output points.
a simple class to control print indentation
void SetDivisionSpacing(double s[3])
This is an alternative way to set up the bins.
#define VTK_SIZEHINT(...)
void SetPointGenerationModeToBinCenters()
Four options exist for generating output points.
reduce the number of triangles in a vtkPolyData mesh
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
void SetDivisionOrigin(double o[3])
This is an alternative way to set up the bins.
int ComputeNumberOfDivisions
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.