 |
VTK
9.1.0
|
Go to the documentation of this file.
89 #ifndef vtkBinnedDecimation_h
90 #define vtkBinnedDecimation_h
92 #include "vtkFiltersCoreModule.h"
122 vtkGetMacro(NumberOfXDivisions,
int);
123 vtkGetMacro(NumberOfYDivisions,
int);
124 vtkGetMacro(NumberOfZDivisions,
int);
128 void GetNumberOfDivisions(
int div[3]);
137 vtkSetMacro(AutoAdjustNumberOfDivisions,
bool);
138 vtkGetMacro(AutoAdjustNumberOfDivisions,
bool);
139 vtkBooleanMacro(AutoAdjustNumberOfDivisions,
bool);
149 void SetDivisionOrigin(
double x,
double y,
double z);
151 vtkGetVector3Macro(DivisionOrigin,
double);
154 vtkGetVector3Macro(DivisionSpacing,
double);
184 vtkSetClampMacro(PointGenerationMode,
int, INPUT_POINTS, BIN_AVERAGES);
185 vtkGetMacro(PointGenerationMode,
int);
203 vtkSetMacro(ProducePointData,
bool);
204 vtkGetMacro(ProducePointData,
bool);
205 vtkBooleanMacro(ProducePointData,
bool);
213 vtkSetMacro(ProduceCellData,
bool);
214 vtkGetMacro(ProduceCellData,
bool);
215 vtkBooleanMacro(ProduceCellData,
bool);
236 int NumberOfDivisions[3];
244 double DivisionOrigin[3];
245 double DivisionSpacing[3];
void SetNumberOfYDivisions(int num)
Set/Get the number of divisions along each axis for the spatial bins.
void SetDivisionSpacing(double x, double y, double z)
This is an alternative way to set up the bins.
bool GetLargeIds()
Return a flag indicating whether large ids were used during execution.
reduce the number of triangles in a vtkPolyData mesh
void SetNumberOfDivisions(int div0, int div1, int div2)
Set/Get the number of divisions along each axis for the spatial bins.
void SetNumberOfXDivisions(int num)
Set/Get the number of divisions along each axis for the spatial bins.
int FillInputPortInformation(int, vtkInformation *) override
Fill the input port information objects for this algorithm.
int ComputeNumberOfDivisions
void SetNumberOfDivisions(int div[3])
Set/Get the number of divisions along each axis for the spatial bins.
void SetPointGenerationModeToUseInputPoints()
Four options exist for generating output points.
static vtkBinnedDecimation * New()
Standard instantiation, type and print methods.
~vtkBinnedDecimation() override
void SetDivisionSpacing(double s[3])
This is an alternative way to set up the bins.
void ConfigureBinning(vtkPolyData *input, vtkIdType numPts)
void SetDivisionOrigin(double o[3])
This is an alternative way to set up the bins.
#define VTK_SIZEHINT(...)
void SetPointGenerationModeToBinCenters()
Four options exist for generating output points.
a simple class to control print indentation
void SetPointGenerationModeToBinPoints()
Four options exist for generating output points.
int * GetNumberOfDivisions()
Set/Get the number of divisions along each axis for the spatial bins.
void SetPointGenerationModeToBinAverages()
Four options exist for generating output points.
void PrintSelf(ostream &os, vtkIndent indent) override
Standard instantiation, type and print methods.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
concrete dataset represents vertices, lines, polygons, and triangle strips
void SetNumberOfZDivisions(int num)
Set/Get the number of divisions along each axis for the spatial bins.
bool AutoAdjustNumberOfDivisions
Superclass for algorithms that produce only polydata as output.