Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

Parallel/vtkCompositer.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    $RCSfile: vtkCompositer.h,v $
00005   Language:  C++
00006 
00007   Copyright (c) 1993-2002 Ken Martin, Will Schroeder, Bill Lorensen 
00008   All rights reserved.
00009   See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
00010 
00011      This software is distributed WITHOUT ANY WARRANTY; without even 
00012      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 
00013      PURPOSE.  See the above copyright notice for more information.
00014 
00015 =========================================================================*/
00040 #ifndef __vtkCompositer_h
00041 #define __vtkCompositer_h
00042 
00043 #include "vtkObject.h"
00044 
00045 class vtkMultiProcessController;
00046 class vtkCompositer;
00047 class vtkDataArray;
00048 class vtkFloatArray;
00049 
00050 class VTK_PARALLEL_EXPORT vtkCompositer : public vtkObject
00051 {
00052 public:
00053   static vtkCompositer *New();
00054   vtkTypeRevisionMacro(vtkCompositer,vtkObject);
00055   void PrintSelf(ostream& os, vtkIndent indent);
00056 
00058 
00060   virtual void CompositeBuffer(vtkDataArray *pBuf, vtkFloatArray *zBuf,
00061                                vtkDataArray *pTmp, vtkFloatArray *zTmp);
00063 
00065 
00066   virtual void SetController(vtkMultiProcessController*);
00067   vtkGetObjectMacro(Controller,vtkMultiProcessController);
00069 
00071 
00072   vtkSetMacro(NumberOfProcesses, int);
00073   vtkGetMacro(NumberOfProcesses, int);
00075 
00076 protected:
00077   vtkCompositer();
00078   ~vtkCompositer();
00079   
00080   vtkMultiProcessController *Controller;
00081   int NumberOfProcesses;
00082 
00083 private:
00084   vtkCompositer(const vtkCompositer&); // Not implemented
00085   void operator=(const vtkCompositer&); // Not implemented
00086 };
00087 
00088 #endif