VTK
vtkTransmitStructuredDataPiece.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkTransmitStructuredDataPiece.h
5 
6  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7  All rights reserved.
8  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
26 #ifndef vtkTransmitStructuredDataPiece_h
27 #define vtkTransmitStructuredDataPiece_h
28 
29 #include "vtkFiltersParallelModule.h" // For export macro
30 #include "vtkDataSetAlgorithm.h"
31 
33 
34 class VTKFILTERSPARALLEL_EXPORT vtkTransmitStructuredDataPiece : public vtkDataSetAlgorithm
35 {
36 public:
39  void PrintSelf(ostream& os, vtkIndent indent);
40 
42 
47  vtkGetObjectMacro(Controller, vtkMultiProcessController);
49 
51 
54  vtkSetMacro(CreateGhostCells, int);
55  vtkGetMacro(CreateGhostCells, int);
56  vtkBooleanMacro(CreateGhostCells, int);
58 
59 protected:
62 
63  // Data generation method
65  void RootExecute(vtkDataSet *input, vtkDataSet *output,
66  vtkInformation *outInfo);
67  void SatelliteExecute(int procId, vtkDataSet *output,
68  vtkInformation *outInfo);
71 
74 
75 private:
77  void operator=(const vtkTransmitStructuredDataPiece&) VTK_DELETE_FUNCTION;
78 };
79 
80 #endif
vtkTransmitStructuredDataPiece::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
vtkTransmitStructuredDataPiece::RequestData
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called within ProcessRequest when a request asks the algorithm to do its work.
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:42
vtkTransmitStructuredDataPiece::Controller
vtkMultiProcessController * Controller
Definition: vtkTransmitStructuredDataPiece.h:73
vtkTransmitStructuredDataPiece::~vtkTransmitStructuredDataPiece
~vtkTransmitStructuredDataPiece()
vtkTransmitStructuredDataPiece::RootExecute
void RootExecute(vtkDataSet *input, vtkDataSet *output, vtkInformation *outInfo)
vtkTransmitStructuredDataPiece
Definition: vtkTransmitStructuredDataPiece.h:35
vtkDataSetAlgorithm
Superclass for algorithms that produce output of the same type as input.
Definition: vtkDataSetAlgorithm.h:52
vtkTransmitStructuredDataPiece::SetController
virtual void SetController(vtkMultiProcessController *)
By defualt this filter uses the global controller, but this method can be used to set another instead...
vtkMultiProcessController
Multiprocessing communication superclass.
Definition: vtkMultiProcessController.h:83
vtkTransmitStructuredDataPiece::RequestInformation
virtual int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called within ProcessRequest when a request asks for Information.
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:40
vtkDataSet
abstract class to specify dataset behavior
Definition: vtkDataSet.h:63
vtkBooleanMacro
vtkBooleanMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:87
vtkSetMacro
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkDataSetAlgorithm.h
vtkTransmitStructuredDataPiece::CreateGhostCells
int CreateGhostCells
Definition: vtkTransmitStructuredDataPiece.h:72
vtkTransmitStructuredDataPiece::RequestUpdateExtent
virtual int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called within ProcessRequest when each filter in the pipeline decides what portion of its inp...
vtkTransmitStructuredDataPiece::SatelliteExecute
void SatelliteExecute(int procId, vtkDataSet *output, vtkInformation *outInfo)
vtkTransmitStructuredDataPiece::vtkTransmitStructuredDataPiece
vtkTransmitStructuredDataPiece()
vtkTransmitStructuredDataPiece::New
static vtkTransmitStructuredDataPiece * New()