29#ifndef vtkCellSizeFilter_h
30#define vtkCellSizeFilter_h
32#include "vtkFiltersVerdictModule.h"
35VTK_ABI_NAMESPACE_BEGIN
55 vtkSetMacro(ComputeVertexCount,
bool);
56 vtkGetMacro(ComputeVertexCount,
bool);
57 vtkBooleanMacro(ComputeVertexCount,
bool);
66 vtkSetMacro(ComputeLength,
bool);
67 vtkGetMacro(ComputeLength,
bool);
68 vtkBooleanMacro(ComputeLength,
bool);
77 vtkSetMacro(ComputeArea,
bool);
78 vtkGetMacro(ComputeArea,
bool);
79 vtkBooleanMacro(ComputeArea,
bool);
88 vtkSetMacro(ComputeVolume,
bool);
89 vtkGetMacro(ComputeVolume,
bool);
90 vtkBooleanMacro(ComputeVolume,
bool);
98 vtkSetMacro(ComputeSum,
bool);
99 vtkGetMacro(ComputeSum,
bool);
100 vtkBooleanMacro(ComputeSum,
bool);
108 vtkSetStringMacro(VertexCountArrayName);
109 vtkGetStringMacro(VertexCountArrayName);
110 vtkSetStringMacro(LengthArrayName);
111 vtkGetStringMacro(LengthArrayName);
112 vtkSetStringMacro(AreaArrayName);
113 vtkGetStringMacro(AreaArrayName);
114 vtkSetStringMacro(VolumeArrayName);
115 vtkGetStringMacro(VolumeArrayName);
162 bool ComputeVertexCount;
168 char* VertexCountArrayName;
169 char* LengthArrayName;
171 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
concrete class for storing a set of points