82#ifndef vtkMultiObjectMassProperties_h
83#define vtkMultiObjectMassProperties_h
85#include "vtkFiltersCoreModule.h"
88VTK_ABI_NAMESPACE_BEGIN
abstract superclass for arrays of numeric data
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
compute volume and area of objects in a polygonal mesh
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.
Superclass for algorithms that produce only polydata as output.
concrete dataset represents vertices, lines, polygons, and triangle strips
dynamic, self-adjusting array of unsigned char