82 #ifndef vtkMultiObjectMassProperties_h
83 #define vtkMultiObjectMassProperties_h
85 #include "vtkFiltersCoreModule.h"
88 VTK_ABI_NAMESPACE_BEGIN
123 vtkSetStdStringFromCharMacro(ObjectIdsArrayName);
124 vtkGetCharFromStdStringMacro(ObjectIdsArrayName);
181 void TraverseAndMark(
189 VTK_ABI_NAMESPACE_END
double GetTotalArea()
Return the summed area of all objects.
vtkIdType NumberOfObjects
compute volume and area of objects in a polygonal mesh
vtkUnsignedCharArray * ObjectValidity
std::string ObjectIdsArrayName
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
vtkIdType GetNumberOfObjects()
Return the number of objects identified.
dynamic, self-adjusting array of vtkIdType
vtkIdTypeArray * ObjectIds
concrete dataset represents vertices, lines, polygons, and triangle strips
vtkTypeBool SkipValidityCheck
double GetTotalVolume()
Return the summed volume of all objects.
dynamic, self-adjusting array of double
static vtkPolyDataAlgorithm * New()
Superclass for algorithms that produce only polydata as output.
a simple class to control print indentation
list of point or cell ids
abstract superclass for arrays of numeric data
vtkDoubleArray * ObjectVolumes
dynamic, self-adjusting array of unsigned char
vtkTypeBool GetAllValid()
Return whether all objects are valid or not.
vtkIdList * CellNeighbors
vtkDoubleArray * ObjectAreas
vtkDoubleArray * ObjectCentroids
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.