38#ifndef vtkCellSizeFilter_h
39#define vtkCellSizeFilter_h
41#include "vtkFiltersVerdictModule.h"
63 vtkSetMacro(ComputeVertexCount,
bool);
64 vtkGetMacro(ComputeVertexCount,
bool);
65 vtkBooleanMacro(ComputeVertexCount,
bool);
74 vtkSetMacro(ComputeLength,
bool);
75 vtkGetMacro(ComputeLength,
bool);
76 vtkBooleanMacro(ComputeLength,
bool);
85 vtkSetMacro(ComputeArea,
bool);
86 vtkGetMacro(ComputeArea,
bool);
87 vtkBooleanMacro(ComputeArea,
bool);
96 vtkSetMacro(ComputeVolume,
bool);
97 vtkGetMacro(ComputeVolume,
bool);
98 vtkBooleanMacro(ComputeVolume,
bool);
106 vtkSetMacro(ComputeSum,
bool);
107 vtkGetMacro(ComputeSum,
bool);
108 vtkBooleanMacro(ComputeSum,
bool);
116 vtkSetStringMacro(VertexCountArrayName);
117 vtkGetStringMacro(VertexCountArrayName);
118 vtkSetStringMacro(LengthArrayName);
119 vtkGetStringMacro(LengthArrayName);
120 vtkSetStringMacro(AreaArrayName);
121 vtkGetStringMacro(AreaArrayName);
122 vtkSetStringMacro(VolumeArrayName);
123 vtkGetStringMacro(VolumeArrayName);
170 bool ComputeVertexCount;
176 char* VertexCountArrayName;
177 char* LengthArrayName;
179 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