29#ifndef vtkCellSizeFilter_h
30#define vtkCellSizeFilter_h
32#include "vtkFiltersVerdictModule.h"
36VTK_ABI_NAMESPACE_BEGIN
57 vtkSetMacro(ComputeVertexCount,
bool);
58 vtkGetMacro(ComputeVertexCount,
bool);
59 vtkBooleanMacro(ComputeVertexCount,
bool);
68 vtkSetMacro(ComputeLength,
bool);
69 vtkGetMacro(ComputeLength,
bool);
70 vtkBooleanMacro(ComputeLength,
bool);
79 vtkSetMacro(ComputeArea,
bool);
80 vtkGetMacro(ComputeArea,
bool);
81 vtkBooleanMacro(ComputeArea,
bool);
90 vtkSetMacro(ComputeVolume,
bool);
91 vtkGetMacro(ComputeVolume,
bool);
92 vtkBooleanMacro(ComputeVolume,
bool);
100 vtkSetMacro(ComputeSum,
bool);
101 vtkGetMacro(ComputeSum,
bool);
102 vtkBooleanMacro(ComputeSum,
bool);
110 vtkSetStringMacro(VertexCountArrayName);
111 vtkGetStringMacro(VertexCountArrayName);
112 vtkSetStringMacro(LengthArrayName);
113 vtkGetStringMacro(LengthArrayName);
114 vtkSetStringMacro(AreaArrayName);
115 vtkGetStringMacro(AreaArrayName);
116 vtkSetStringMacro(VolumeArrayName);
117 vtkGetStringMacro(VolumeArrayName);
164 bool ComputeVertexCount;
170 char* VertexCountArrayName;
171 char* LengthArrayName;
173 char* VolumeArrayName;
int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
This is called within ProcessRequest when a request asks the algorithm to do its work.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
static vtkCellSizeFilter * New()
double IntegratePolygon(vtkPointSet *input, vtkIdList *cellPtIds)
Specify whether to sum the computed sizes and put the result in a field data array.
double IntegrateTriangleStrip(vtkPointSet *input, vtkIdList *cellPtIds)
Specify whether to sum the computed sizes and put the result in a field data array.
double IntegrateVoxel(vtkDataSet *input, vtkIdList *cellPtIds)
Specify whether to sum the computed sizes and put the result in a field data array.
double IntegrateGeneral1DCell(vtkDataSet *input, vtkIdList *cellPtIds)
Specify whether to sum the computed sizes and put the result in a field data array.
void IntegrateImageData(vtkImageData *input, vtkImageData *output, double sum[4])
double IntegratePixel(vtkDataSet *input, vtkIdList *cellPtIds)
Specify whether to sum the computed sizes and put the result in a field data array.
~vtkCellSizeFilter() override
double IntegrateGeneral2DCell(vtkPointSet *input, vtkIdList *cellPtIds)
Specify whether to sum the computed sizes and put the result in a field data array.
double IntegratePolyLine(vtkDataSet *input, vtkIdList *cellPtIds)
Specify whether to sum the computed sizes and put the result in a field data array.
void ExecuteBlock(vtkDataSet *input, vtkDataSet *output, double sum[4])
bool ComputeDataSet(vtkDataSet *input, vtkDataSet *output, double sum[4])
void AddSumFieldData(vtkDataObject *, double sum[4])
Method to add the computed sum to the field data of the data object.
virtual void ComputeGlobalSum(double sum[4])
Method to compute the global sum information.
double IntegrateGeneral3DCell(vtkPointSet *input, vtkIdList *cellPtIds)
Specify whether to sum the computed sizes and put the result in a field data array.
general representation of visualization data
abstract class to specify dataset behavior
dynamic, self-adjusting array of double
list of point or cell ids
topologically and geometrically regular array of data
a simple class to control print indentation
Allocate and hold a VTK object.
concrete class for storing a set of points
a 3D cell that represents a tetrahedron