80#ifndef vtkBinnedDecimation_h
81#define vtkBinnedDecimation_h
83#include "vtkFiltersCoreModule.h"
86VTK_ABI_NAMESPACE_BEGIN
114 vtkGetMacro(NumberOfXDivisions,
int);
115 vtkGetMacro(NumberOfYDivisions,
int);
116 vtkGetMacro(NumberOfZDivisions,
int);
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);
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];
reduce the number of triangles in a vtkPolyData mesh
void SetDivisionSpacing(double x, double y, double z)
This is an alternative way to set up the bins.
void SetPointGenerationModeToBinCenters()
Four options exist for generating output points.
void ConfigureBinning(vtkPolyData *input, vtkIdType numPts)
void SetNumberOfYDivisions(int num)
Set/Get the number of divisions along each axis for the spatial bins.
int ComputeNumberOfDivisions
int FillInputPortInformation(int, vtkInformation *) override
Fill the input port information objects for this algorithm.
void PrintSelf(ostream &os, vtkIndent indent) override
Standard instantiation, type and print methods.
~vtkBinnedDecimation() override
void SetNumberOfZDivisions(int num)
Set/Get the number of divisions along each axis for the spatial bins.
void SetDivisionOrigin(double o[3])
This is an alternative way to set up the bins.
bool GetLargeIds()
Return a flag indicating whether large ids were used during execution.
void SetPointGenerationModeToBinAverages()
Four options exist for generating output points.
void SetNumberOfXDivisions(int num)
Set/Get the number of divisions along each axis for the spatial bins.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
void SetNumberOfDivisions(int div[3])
Set/Get the number of divisions along each axis for the spatial bins.
bool AutoAdjustNumberOfDivisions
int * GetNumberOfDivisions()
Set/Get the number of divisions along each axis for the spatial bins.
void SetPointGenerationModeToBinPoints()
Four options exist for generating output points.
void SetPointGenerationModeToUseInputPoints()
Four options exist for generating output points.
void SetDivisionSpacing(double s[3])
This is an alternative way to set up the bins.
static vtkBinnedDecimation * New()
Standard instantiation, type and print methods.
void SetNumberOfDivisions(int div0, int div1, int div2)
Set/Get the number of divisions along each axis for the spatial bins.
a simple class to control print indentation
Superclass for algorithms that produce only polydata as output.
concrete dataset represents vertices, lines, polygons, and triangle strips
#define VTK_SIZEHINT(...)