91#ifndef vtkMultiObjectMassProperties_h
92#define vtkMultiObjectMassProperties_h
94#include "vtkFiltersCoreModule.h"
dynamic, self-adjusting array of double
list of point or cell ids
dynamic, self-adjusting array of vtkIdType
a simple class to control print indentation
vtkDoubleArray * ObjectCentroids
vtkSetStdStringFromCharMacro(ObjectIdsArrayName)
Set/Get the name of the ObjectIds array.
int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
This is called by the superclass.
~vtkMultiObjectMassProperties() override
vtkUnsignedCharArray * ObjectValidity
vtkMultiObjectMassProperties()
vtkTypeBool SkipValidityCheck
void PrintSelf(ostream &os, vtkIndent indent) override
Standard methods for construction, type and printing.
vtkDoubleArray * ObjectVolumes
vtkIdType NumberOfObjects
vtkGetCharFromStdStringMacro(ObjectIdsArrayName)
Set/Get the name of the ObjectIds array.
vtkIdList * CellNeighbors
void TraverseAndMark(vtkPolyData *output, vtkIdType *objectIds, vtkDataArray *valid, unsigned char *orient)
double GetTotalArea()
Return the summed area of all objects.
vtkIdType GetNumberOfObjects()
Return the number of objects identified.
std::string ObjectIdsArrayName
vtkIdTypeArray * ObjectIds
vtkDoubleArray * ObjectAreas
double GetTotalVolume()
Return the summed volume of all objects.
static vtkMultiObjectMassProperties * New()
Standard methods for construction, type and printing.
vtkTypeBool GetAllValid()
Return whether all objects are valid or not.
concrete dataset represents vertices, lines, polygons, and triangle strips
dynamic, self-adjusting array of unsigned char