src
paraview-5.12
VTKExtensions
FiltersRendering
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
;
33
class
vtkMultiProcessController
;
34
class
vtkRedistributeDataSetFilter;
35
36
class
VTKPVVTKEXTENSIONSFILTERSRENDERING_EXPORT
vtkOrderedCompositeDistributor
37
:
public
vtkDataObjectAlgorithm
38
{
39
public
:
40
vtkTypeMacro(
vtkOrderedCompositeDistributor
,
vtkDataObjectAlgorithm
);
41
static
vtkOrderedCompositeDistributor
*
New
();
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
51
enum
BoundaryModes
52
{
53
ASSIGN_TO_ONE_REGION = 0,
54
ASSIGN_TO_ALL_INTERSECTING_REGIONS = 1,
55
SPLIT_BOUNDARY_CELLS = 2
56
};
57
58
protected
:
59
vtkOrderedCompositeDistributor
();
60
~
vtkOrderedCompositeDistributor
()
override
;
61
62
int
FillInputPortInformation
(
int
port,
vtkInformation
* info)
override
;
63
int
RequestDataObject
(
vtkInformation
*,
vtkInformationVector
**,
vtkInformationVector
*)
override
;
64
int
RequestData
(
vtkInformation
*,
vtkInformationVector
**,
vtkInformationVector
*)
override
;
65
66
private
:
67
vtkOrderedCompositeDistributor
(
const
vtkOrderedCompositeDistributor
&) =
delete
;
68
void
operator=
(
const
vtkOrderedCompositeDistributor
&) =
delete
;
69
70
vtkNew<vtkRedistributeDataSetFilter>
RedistributeDataSetFilter;
71
};
72
73
#endif // vtkOrderedCompositeDistributor_h
vtkObjectBase::operator=
void operator=(const vtkObjectBase &)
vtkInformationVector
vtkDataObjectAlgorithm
vtkOrderedCompositeDistributor::BoundaryModes
BoundaryModes
Definition:
vtkOrderedCompositeDistributor.h:51
vtkDataObjectAlgorithm::FillInputPortInformation
virtual int FillInputPortInformation(int port, vtkInformation *info)
vtkDataObjectAlgorithm::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) VTK_OVERRIDE
vtkBoundingBox
vtkMultiProcessController
vtkIndent
vtkNew< vtkRedistributeDataSetFilter >
vtkInformation
vtkNew.h
vtkOrderedCompositeDistributor
Definition:
vtkOrderedCompositeDistributor.h:36
vtkDataObjectAlgorithm::New
static vtkDataObjectAlgorithm * New()
vtkDataObjectAlgorithm::RequestData
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
vtkDataObjectAlgorithm.h
vtkDataObjectAlgorithm::RequestDataObject
virtual int RequestDataObject(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
Generated by
1.8.17 on Wed Mar 27 2024