Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members | Related Pages

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 =========================================================================*/
00029 #ifndef __vtkCompositer_h
00030 #define __vtkCompositer_h
00031 
00032 #include "vtkObject.h"
00033 
00034 class vtkMultiProcessController;
00035 class vtkCompositer;
00036 class vtkDataArray;
00037 class vtkFloatArray;
00038 
00039 class VTK_PARALLEL_EXPORT vtkCompositer : public vtkObject
00040 {
00041 public:
00042   static vtkCompositer *New();
00043   vtkTypeRevisionMacro(vtkCompositer,vtkObject);
00044   void PrintSelf(ostream& os, vtkIndent indent);
00045 
00047 
00049   virtual void CompositeBuffer(vtkDataArray *pBuf, vtkFloatArray *zBuf,
00050                                vtkDataArray *pTmp, vtkFloatArray *zTmp);
00052 
00054 
00055   virtual void SetController(vtkMultiProcessController*);
00056   vtkGetObjectMacro(Controller,vtkMultiProcessController);
00058 
00060 
00061   vtkSetMacro(NumberOfProcesses, int);
00062   vtkGetMacro(NumberOfProcesses, int);
00064 
00065 protected:
00066   vtkCompositer();
00067   ~vtkCompositer();
00068   
00069   vtkMultiProcessController *Controller;
00070   int NumberOfProcesses;
00071 
00072 private:
00073   vtkCompositer(const vtkCompositer&); // Not implemented
00074   void operator=(const vtkCompositer&); // Not implemented
00075 };
00076 
00077 #endif