Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class 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 
00006   Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
00007   All rights reserved.
00008   See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
00009 
00010      This software is distributed WITHOUT ANY WARRANTY; without even
00011      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
00012      PURPOSE.  See the above copyright notice for more information.
00013 
00014 =========================================================================*/
00025 #ifndef __vtkCompositer_h
00026 #define __vtkCompositer_h
00027 
00028 #include "vtkObject.h"
00029 
00030 class vtkMultiProcessController;
00031 class vtkCompositer;
00032 class vtkDataArray;
00033 class vtkFloatArray;
00034 
00035 class VTK_PARALLEL_EXPORT vtkCompositer : public vtkObject
00036 {
00037 public:
00038   static vtkCompositer *New();
00039   vtkTypeRevisionMacro(vtkCompositer,vtkObject);
00040   void PrintSelf(ostream& os, vtkIndent indent);
00041 
00043 
00045   virtual void CompositeBuffer(vtkDataArray *pBuf, vtkFloatArray *zBuf,
00046                                vtkDataArray *pTmp, vtkFloatArray *zTmp);
00048 
00050 
00051   virtual void SetController(vtkMultiProcessController*);
00052   vtkGetObjectMacro(Controller,vtkMultiProcessController);
00054 
00056 
00057   vtkSetMacro(NumberOfProcesses, int);
00058   vtkGetMacro(NumberOfProcesses, int);
00060 
00061 protected:
00062   vtkCompositer();
00063   ~vtkCompositer();
00064   
00065   vtkMultiProcessController *Controller;
00066   int NumberOfProcesses;
00067 
00068 private:
00069   vtkCompositer(const vtkCompositer&); // Not implemented
00070   void operator=(const vtkCompositer&); // Not implemented
00071 };
00072 
00073 #endif