VTK
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 "vtkImageAlgorithm.h"
32 
34 
36 {
37 public:
40  void PrintSelf(ostream& os, vtkIndent indent);
41 
43 
45  virtual void SetController(vtkMultiProcessController*);
46  vtkGetObjectMacro(Controller, vtkMultiProcessController);
48 
50 
51  vtkSetMacro(CreateGhostCells, int);
52  vtkGetMacro(CreateGhostCells, int);
53  vtkBooleanMacro(CreateGhostCells, int);
55 
56 protected:
59 
60  // Data generation method
62  void RootExecute(vtkImageData *input, vtkImageData *output,
63  vtkInformation *outInfo);
64  void SatelliteExecute(int procId, vtkImageData *output,
65  vtkInformation *outInfo);
68 
71 
72 private:
73  vtkTransmitImageDataPiece(const vtkTransmitImageDataPiece&); // Not implemented
74  void operator=(const vtkTransmitImageDataPiece&); // Not implemented
75 };
76 
77 #endif
Store vtkAlgorithm input/output information.
virtual int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
vtkMultiProcessController * Controller
a simple class to control print indentation
Definition: vtkIndent.h:37
topologically and geometrically regular array of data
Definition: vtkImageData.h:43
virtual int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
For parallel processing, restrict IO to the first process in the cluste.r.
#define VTK_PARALLEL_EXPORT
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.