30 #ifndef vtkCenterOfMass_h
31 #define vtkCenterOfMass_h
48 vtkSetVector3Macro(Center,
double);
49 vtkGetVector3Macro(Center,
double);
54 vtkSetMacro(UseScalarsAsWeights,
bool);
55 vtkGetMacro(UseScalarsAsWeights,
bool);
66 static void ComputeCenterOfMass(
82 bool UseScalarsAsWeights;
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
#define VTKFILTERSCORE_EXPORT
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.
static vtkPointSetAlgorithm * New()
void PrintSelf(ostream &os, vtkIndent indent)
represent and manipulate 3D points