vtkOrderedCompositeDistributor.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Kitware Inc.
2 // SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
3 // SPDX-FileCopyrightText: Copyright 2005 Sandia Corporation
4 // SPDX-License-Identifier: LicenseRef-BSD-3-Clause-Sandia-USGov
5 
22 #ifndef vtkOrderedCompositeDistributor_h
23 #define vtkOrderedCompositeDistributor_h
24 
25 #include "vtkPVVTKExtensionsFiltersRenderingModule.h" // needed for export macro
26 
27 #include "vtkDataObjectAlgorithm.h"
28 #include "vtkNew.h" // needed for ivar
29 
30 #include <vector> // for std::vector
31 
32 class vtkBoundingBox;
34 class vtkRedistributeDataSetFilter;
35 
37  : public vtkDataObjectAlgorithm
38 {
39 public:
42  void PrintSelf(ostream& os, vtkIndent indent) override;
43 
45  void SetCuts(const std::vector<vtkBoundingBox>& boxes);
46  void SetController(vtkMultiProcessController* controller);
47  void SetBoundaryMode(int mode);
49 
50  // These are kept consistent with vtkRedistributeDataSetFilter::BoundaryModes
52  {
53  ASSIGN_TO_ONE_REGION = 0,
54  ASSIGN_TO_ALL_INTERSECTING_REGIONS = 1,
55  SPLIT_BOUNDARY_CELLS = 2
56  };
57 
58 protected:
61 
62  int FillInputPortInformation(int port, vtkInformation* info) override;
65 
66 private:
68  void operator=(const vtkOrderedCompositeDistributor&) = delete;
69 
70  vtkNew<vtkRedistributeDataSetFilter> RedistributeDataSetFilter;
71 };
72 
73 #endif // vtkOrderedCompositeDistributor_h
virtual int RequestDataObject(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
static vtkDataObjectAlgorithm * New()
void PrintSelf(ostream &os, vtkIndent indent) VTK_OVERRIDE
#define VTKPVVTKEXTENSIONSFILTERSRENDERING_EXPORT
virtual int FillInputPortInformation(int port, vtkInformation *info)
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This class distributes data for use with ordered compositing (i.e.
void operator=(const vtkObjectBase &)