92 #ifndef vtkMultiObjectMassProperties_h 93 #define vtkMultiObjectMassProperties_h 95 #include "vtkFiltersCoreModule.h" 133 {
return this->NumberOfObjects;}
140 {
return this->AllValid;}
147 {
return this->TotalVolume;}
154 {
return this->TotalArea;}
double GetTotalArea()
Return the summed area of all objects.
vtkIdType NumberOfObjects
compute volume and area of objects in a polygonal mesh
vtkUnsignedCharArray * ObjectValidity
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
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.