31 #ifndef vtkCenterOfMass_h
32 #define vtkCenterOfMass_h
34 #include "vtkFiltersCoreModule.h"
51 vtkSetVector3Macro(Center,
double);
52 vtkGetVector3Macro(Center,
double);
60 vtkGetMacro(UseScalarsAsWeights,
bool);
72 static void ComputeCenterOfMass(
87 bool UseScalarsAsWeights;
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
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 produce output of the same type as input.
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
static vtkPointSetAlgorithm * New()
represent and manipulate 3D points