19#ifndef vtkIntegrateAttributes_h
20#define vtkIntegrateAttributes_h
22#include "vtkFiltersParallelModule.h"
26VTK_ABI_NAMESPACE_BEGIN
65 vtkSetMacro(DivideAllCellDataByVolume,
bool);
66 vtkGetMacro(DivideAllCellDataByVolume,
bool);
84 double totalSumCenter[3],
int& integrationDimension);
91 int& integrationDimension);
93 int integrationDimension);
95 double totalSumCenter[3],
int& integrationDimension);
109 class vtkIntegrateAttributesFunctor;
111 static void AllocateAttributes(
116 double& totalSum,
double totalSumCenter[3],
int integrationDimension);
121 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
Helper class for vtkIntegrateAttributes.
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
void SetIntegrationStrategy(vtkIntegrationStrategy *strategy)
Get/Set the integration strategy.
static int CompareIntegrationDimension(vtkDataSet *output, int dim, double &totalSum, double totalSumCenter[3], int &integrationDimension)
static void ZeroAttributes(vtkDataSetAttributes *outda)
vtkIntegrationStrategy * GetIntegrationStrategy()
Get/Set the integration strategy.
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.
abstract class to define an integration strategy for vtkIntegrateAttributes
Multiprocessing communication superclass.
Hold a reference to a vtkObjectBase instance.
Superclass for algorithms that produce only unstructured grid as output.
dataset represents arbitrary combinations of all possible cell types