19#ifndef vtkIntegrateAttributes_h
20#define vtkIntegrateAttributes_h
22#include "vtkFiltersParallelModule.h"
25VTK_ABI_NAMESPACE_BEGIN
54 vtkSetMacro(DivideAllCellDataByVolume,
bool);
55 vtkGetMacro(DivideAllCellDataByVolume,
bool);
73 double totalSumCenter[3],
int& integrationDimension);
80 int& integrationDimension);
82 int integrationDimension);
84 double totalSumCenter[3],
int& integrationDimension);
98 class vtkIntegrateAttributesFunctor;
103 vtkFieldList& pdList, vtkFieldList& cdList,
double& totalSum,
double totalSumCenter[3],
104 int integrationDimension);
109 IntegrateAttrInfo = 2000,
represent and manipulate attribute data in a dataset
abstract class to specify dataset behavior
Superclass for all pipeline executives in VTK.
list of point or cell ids
a simple class to control print indentation
Integrates lines, surfaces and volume.
~vtkIntegrateAttributes() override
int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
This is called by the superclass.
int PieceNodeMinToNode0(vtkUnstructuredGrid *data, double &totalSum, double totalSumCenter[3], int &integrationDimension)
static void IntegrateSatelliteData(vtkDataSetAttributes *inda, vtkDataSetAttributes *outda)
bool DivideAllCellDataByVolume
static int CompareIntegrationDimension(vtkDataSet *output, int dim, double &totalSum, double totalSumCenter[3], int &integrationDimension)
static void ZeroAttributes(vtkDataSetAttributes *outda)
vtkMultiProcessController * Controller
static void DivideDataArraysByConstant(vtkDataSetAttributes *data, bool skipLastArray, double sum)
void SendPiece(vtkUnstructuredGrid *src, double totalSum, const double totalSumCenter[3], int integrationDimension)
int FillInputPortInformation(int, vtkInformation *) override
Fill the input port information objects for this algorithm.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void ReceivePiece(vtkUnstructuredGrid *mergeTo, int fromId, double &totalSum, double totalSumCenter[3], int &integrationDimension)
static vtkIntegrateAttributes * New()
void SetController(vtkMultiProcessController *controller)
Get/Set the parallel controller to use.
vtkExecutive * CreateDefaultExecutive() override
Create a default executive.
Multiprocessing communication superclass.
Superclass for algorithms that produce only unstructured grid as output.
dataset represents arbitrary combinations of all possible cell types