Go to the documentation of this file.
30 #ifndef vtkCenterOfMass_h
31 #define vtkCenterOfMass_h
82 bool UseScalarsAsWeights;
represent and manipulate 3D points
Superclass for algorithms that produce output of the same type as input.
#define vtkSetVector3Macro(name, type)
#define vtkTypeMacro(thisClass, superclass)
Find the center of mass of a set of points.
int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
abstract superclass for arrays of numeric data
GLenum GLenum GLenum input
#define vtkGetVector3Macro(name, type)
#define VTKFILTERSCORE_EXPORT
static void ComputeCenterOfMass(vtkPoints *input, vtkDataArray *scalars, double center[3])
a simple class to control print indentation
void PrintSelf(ostream &os, vtkIndent indent)
#define vtkGetMacro(name, type)
static vtkCenterOfMass * New()
vtkSetMacro(IgnoreDriverBugs, bool)