80 #ifndef vtkBinnedDecimation_h
81 #define vtkBinnedDecimation_h
83 #include "vtkFiltersCoreModule.h"
86 VTK_ABI_NAMESPACE_BEGIN
111 void SetNumberOfXDivisions(
int num);
112 void SetNumberOfYDivisions(
int num);
113 void SetNumberOfZDivisions(
int num);
114 vtkGetMacro(NumberOfXDivisions,
int);
115 vtkGetMacro(NumberOfYDivisions,
int);
116 vtkGetMacro(NumberOfZDivisions,
int);
118 void SetNumberOfDivisions(
int div0,
int div1,
int div2);
120 void GetNumberOfDivisions(
int div[3]);
129 vtkSetMacro(AutoAdjustNumberOfDivisions,
bool);
130 vtkGetMacro(AutoAdjustNumberOfDivisions,
bool);
131 vtkBooleanMacro(AutoAdjustNumberOfDivisions,
bool);
141 void SetDivisionOrigin(
double x,
double y,
double z);
143 vtkGetVector3Macro(DivisionOrigin,
double);
144 void SetDivisionSpacing(
double x,
double y,
double z);
146 vtkGetVector3Macro(DivisionSpacing,
double);
176 vtkSetClampMacro(PointGenerationMode,
int, INPUT_POINTS, BIN_AVERAGES);
177 vtkGetMacro(PointGenerationMode,
int);
195 vtkSetMacro(ProducePointData,
bool);
196 vtkGetMacro(ProducePointData,
bool);
197 vtkBooleanMacro(ProducePointData,
bool);
205 vtkSetMacro(ProduceCellData,
bool);
206 vtkGetMacro(ProduceCellData,
bool);
207 vtkBooleanMacro(ProduceCellData,
bool);
228 int NumberOfDivisions[3];
236 double DivisionOrigin[3];
237 double DivisionSpacing[3];
253 VTK_ABI_NAMESPACE_END
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.