89#ifndef vtkMultiObjectMassProperties_h
90#define vtkMultiObjectMassProperties_h
92#include "vtkFiltersCoreModule.h"
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
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
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.
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