41#ifndef vtkCellSizeFilter_h
42#define vtkCellSizeFilter_h
44#include "vtkFiltersVerdictModule.h"
66 vtkSetMacro(ComputeVertexCount,
bool);
67 vtkGetMacro(ComputeVertexCount,
bool);
68 vtkBooleanMacro(ComputeVertexCount,
bool);
77 vtkSetMacro(ComputeLength,
bool);
78 vtkGetMacro(ComputeLength,
bool);
79 vtkBooleanMacro(ComputeLength,
bool);
88 vtkSetMacro(ComputeArea,
bool);
89 vtkGetMacro(ComputeArea,
bool);
90 vtkBooleanMacro(ComputeArea,
bool);
99 vtkSetMacro(ComputeVolume,
bool);
100 vtkGetMacro(ComputeVolume,
bool);
101 vtkBooleanMacro(ComputeVolume,
bool);
109 vtkSetMacro(ComputeSum,
bool);
110 vtkGetMacro(ComputeSum,
bool);
111 vtkBooleanMacro(ComputeSum,
bool);
119 vtkSetStringMacro(VertexCountArrayName);
120 vtkGetStringMacro(VertexCountArrayName);
121 vtkSetStringMacro(LengthArrayName);
122 vtkGetStringMacro(LengthArrayName);
123 vtkSetStringMacro(AreaArrayName);
124 vtkGetStringMacro(AreaArrayName);
125 vtkSetStringMacro(VolumeArrayName);
126 vtkGetStringMacro(VolumeArrayName);
173 bool ComputeVertexCount;
179 char* VertexCountArrayName;
180 char* LengthArrayName;
182 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