38#ifndef vtkDistributedDataFilter_h
39#define vtkDistributedDataFilter_h
42#include "vtkFiltersParallelModule.h"
96 vtkBooleanMacro(RetainKdtree,
int);
97 vtkGetMacro(RetainKdtree,
int);
98 vtkSetMacro(RetainKdtree,
int);
111 vtkBooleanMacro(IncludeAllIntersectingCells,
int);
112 vtkGetMacro(IncludeAllIntersectingCells,
int);
113 vtkSetMacro(IncludeAllIntersectingCells,
int);
121 vtkBooleanMacro(ClipCells,
int);
122 vtkGetMacro(ClipCells,
int);
123 vtkSetMacro(ClipCells,
int);
127 ASSIGN_TO_ONE_REGION = 0,
128 ASSIGN_TO_ALL_INTERSECTING_REGIONS = 1,
129 SPLIT_BOUNDARY_CELLS = 2
167 vtkBooleanMacro(UseMinimalMemory,
int);
168 vtkGetMacro(UseMinimalMemory,
int);
169 vtkSetMacro(UseMinimalMemory,
int);
175 vtkGetMacro(MinimumGhostLevel,
int);
176 vtkSetMacro(MinimumGhostLevel,
int);
182 vtkBooleanMacro(Timing,
int);
183 vtkSetMacro(Timing,
int);
184 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.