VTK: Filters/Parallel/vtkCollectTable.h Source File

| VTK 9.3.1

vtkCollectTable.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2 // SPDX-FileCopyrightText: Copyright (c) Sandia Corporation
3 // SPDX-License-Identifier: BSD-3-Clause
12 #ifndef vtkCollectTable_h
13 #define vtkCollectTable_h
14
15 #include "vtkFiltersParallelModule.h" // For export macro
16 #include "vtkTableAlgorithm.h"
17
18 VTK_ABI_NAMESPACE_BEGIN
19 class vtkMultiProcessController;
20 class vtkSocketController;
21
22 class VTKFILTERSPARALLEL_EXPORT vtkCollectTable : public vtkTableAlgorithm
23 {
24 public:
25 static vtkCollectTable* New();
26 vtkTypeMacro(vtkCollectTable, vtkTableAlgorithm);
27 void PrintSelf(ostream& os, vtkIndent indent) override;
28
30
34 virtual void SetController(vtkMultiProcessController*);
35 vtkGetObjectMacro(Controller, vtkMultiProcessController);
37
39
44 virtual void SetSocketController(vtkSocketController*);
45 vtkGetObjectMacro(SocketController, vtkSocketController);
47
49
52 vtkSetMacro(PassThrough, vtkTypeBool);
53 vtkGetMacro(PassThrough, vtkTypeBool);
54 vtkBooleanMacro(PassThrough, vtkTypeBool);
56
57 protected:
58 vtkCollectTable();
59 ~vtkCollectTable() override;
60
61 vtkTypeBool PassThrough;
62
63 // Data generation method
64 int RequestUpdateExtent(vtkInformation*, vtkInformationVector**, vtkInformationVector*) override;
65 int RequestData(vtkInformation*, vtkInformationVector**, vtkInformationVector*) override;
66
67 vtkMultiProcessController* Controller;
68 vtkSocketController* SocketController;
69
70 private:
71 vtkCollectTable(const vtkCollectTable&) = delete;
72 void operator=(const vtkCollectTable&) = delete;
73 };
74
75 VTK_ABI_NAMESPACE_END
76 #endif
vtkCollectTable
Collect distributed table.
Definition: vtkCollectTable.h:23
vtkCollectTable::Controller
vtkMultiProcessController * Controller
Definition: vtkCollectTable.h:67
vtkCollectTable::RequestUpdateExtent
int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
vtkCollectTable::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkCollectTable::SetController
virtual void SetController(vtkMultiProcessController *)
By default this filter uses the global controller, but this method can be used to set another instead...
vtkCollectTable::PassThrough
vtkTypeBool PassThrough
Definition: vtkCollectTable.h:61
vtkCollectTable::SetSocketController
virtual void SetSocketController(vtkSocketController *)
When this filter is being used in client-server mode, this is the controller used to communicate betw...
vtkCollectTable::~vtkCollectTable
~vtkCollectTable() override
vtkCollectTable::vtkCollectTable
vtkCollectTable()
vtkCollectTable::RequestData
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
vtkCollectTable::New
static vtkCollectTable * New()
vtkCollectTable::SocketController
vtkSocketController * SocketController
Definition: vtkCollectTable.h:68
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:38
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:40
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:72
vtkMultiProcessController
Multiprocessing communication superclass.
Definition: vtkMultiProcessController.h:72
vtkSocketController
Process communication using Sockets.
Definition: vtkSocketController.h:42
vtkTableAlgorithm
Superclass for algorithms that produce only vtkTables as output.
Definition: vtkTableAlgorithm.h:37
vtkTypeBool
int vtkTypeBool
Definition: vtkABI.h:64
vtkTableAlgorithm.h