VTK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
vtkTransmitImageDataPiece.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkTransmitImageDataPiece.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 =========================================================================*/
28 #ifndef __vtkTransmitImageDataPiece_h
29 #define __vtkTransmitImageDataPiece_h
30 
31 #include "vtkFiltersParallelImagingModule.h" // For export macro
32 #include "vtkImageAlgorithm.h"
33 
35 
37 {
38 public:
41  void PrintSelf(ostream& os, vtkIndent indent);
42 
44 
46  virtual void SetController(vtkMultiProcessController*);
47  vtkGetObjectMacro(Controller, vtkMultiProcessController);
49 
51 
52  vtkSetMacro(CreateGhostCells, int);
53  vtkGetMacro(CreateGhostCells, int);
54  vtkBooleanMacro(CreateGhostCells, int);
56 
57 protected:
60 
61  // Data generation method
63  void RootExecute(vtkImageData *input, vtkImageData *output,
64  vtkInformation *outInfo);
65  void SatelliteExecute(int procId, vtkImageData *output,
66  vtkInformation *outInfo);
69 
72 
73 private:
74  vtkTransmitImageDataPiece(const vtkTransmitImageDataPiece&); // Not implemented
75  void operator=(const vtkTransmitImageDataPiece&); // Not implemented
76 };
77 
78 #endif
#define VTKFILTERSPARALLELIMAGING_EXPORT
Store vtkAlgorithm input/output information.
GLenum GLenum GLenum input
Definition: vtkgl.h:15941
virtual int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
vtkMultiProcessController * Controller
a simple class to control print indentation
Definition: vtkIndent.h:38
topologically and geometrically regular array of data
Definition: vtkImageData.h:44
virtual int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
For parallel processing, restrict IO to the first process in the cluste.r.
Generic algorithm superclass for image algs.
Store zero or more vtkInformation instances.
void PrintSelf(ostream &os, vtkIndent indent)
static vtkAlgorithm * New()
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
Multiprocessing communication superclass.