35#ifndef vtkDistributedDataFilter_h
36#define vtkDistributedDataFilter_h
39#include "vtkFiltersParallelModule.h"
93 vtkBooleanMacro(RetainKdtree,
int);
94 vtkGetMacro(RetainKdtree,
int);
95 vtkSetMacro(RetainKdtree,
int);
108 vtkBooleanMacro(IncludeAllIntersectingCells,
int);
109 vtkGetMacro(IncludeAllIntersectingCells,
int);
110 vtkSetMacro(IncludeAllIntersectingCells,
int);
118 vtkBooleanMacro(ClipCells,
int);
119 vtkGetMacro(ClipCells,
int);
120 vtkSetMacro(ClipCells,
int);
124 ASSIGN_TO_ONE_REGION = 0,
125 ASSIGN_TO_ALL_INTERSECTING_REGIONS = 1,
126 SPLIT_BOUNDARY_CELLS = 2
164 vtkBooleanMacro(UseMinimalMemory,
int);
165 vtkGetMacro(UseMinimalMemory,
int);
166 vtkSetMacro(UseMinimalMemory,
int);
172 vtkGetMacro(MinimumGhostLevel,
int);
173 vtkSetMacro(MinimumGhostLevel,
int);
179 vtkBooleanMacro(Timing,
int);
180 vtkSetMacro(Timing,
int);
181 vtkGetMacro(Timing,
int);
This class represents an axis-aligned Binary Spatial Partitioning of a 3D space.
Superclass for algorithms that produce only data object as output.
Serial stand-in for parallel filter that distributes data among processors.
void SetUserRegionAssignments(const int *map, int numRegions)
vtkBSPCuts doesn't have information about process assignments for the cuts.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
Build a vtkUnstructuredGrid to store the input.
vtkMultiProcessController * Controller
@ ASSIGN_TO_ALL_INTERSECTING_REGIONS
int IncludeAllIntersectingCells
~vtkDistributedDataFilter() override
int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
vtkBSPCuts * GetCuts()
You can set the k-d tree decomposition, rather than have D3 compute it.
int RequestDataObject(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
Overridden to create the correct type of data output.
std::vector< int > UserRegionAssignments
void SetBoundaryModeToAssignToAllIntersectingRegions()
Handling of ClipCells and IncludeAllIntersectingCells.
static vtkDistributedDataFilter * New()
int GetBoundaryMode()
Handling of ClipCells and IncludeAllIntersectingCells.
void SetBoundaryModeToSplitBoundaryCells()
Handling of ClipCells and IncludeAllIntersectingCells.
int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
Ensure previous filters don't send up ghost cells.
vtkPKdTree * GetKdtree()
Get a pointer to the parallel k-d tree object.
double * ConvexSubRegionBounds
void SetBoundaryModeToAssignToOneRegion()
Handling of ClipCells and IncludeAllIntersectingCells.
void SetCuts(vtkBSPCuts *cuts)
void SetBoundaryMode(int mode)
Handling of ClipCells and IncludeAllIntersectingCells.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
vtkDistributedDataFilter()
void SetController(vtkMultiProcessController *c)
Set/Get the communicator object.
a simple class to control print indentation
Multiprocessing communication superclass.
Build a k-d tree decomposition of a list of points.