19 #ifndef vtkCenterOfMass_h
20 #define vtkCenterOfMass_h
22 #include "vtkFiltersCoreModule.h"
26 VTK_ABI_NAMESPACE_BEGIN
41 vtkSetVector3Macro(Center,
double);
42 vtkGetVector3Macro(Center,
double);
49 vtkSetMacro(UseScalarsAsWeights,
bool);
50 vtkGetMacro(UseScalarsAsWeights,
bool);
74 bool UseScalarsAsWeights;
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
void PrintSelf(ostream &os, vtkIndent indent) override
Standard methods for instantiation, obtaining type information, and printing instances of the class...
Find the center of mass of a set of points.
a simple class to control print indentation
abstract superclass for arrays of numeric data
Superclass for algorithms that process vtkPointSet input.
static vtkPointSetAlgorithm * New()
Standard methods for instantiation, obtaining type information, and printing instances of the class...
represent and manipulate 3D points