00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: $RCSfile: vtkCompositeRenderManager.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 =========================================================================*/ 00042 #ifndef __vtkCompositeRenderManager_h 00043 #define __vtkCompositeRenderManager_h 00044 00045 #include "vtkParallelRenderManager.h" 00046 00047 class vtkCompositer; 00048 class vtkFloatArray; 00049 00050 class VTK_PARALLEL_EXPORT vtkCompositeRenderManager : public vtkParallelRenderManager 00051 { 00052 public: 00053 vtkTypeRevisionMacro(vtkCompositeRenderManager, vtkParallelRenderManager); 00054 static vtkCompositeRenderManager *New(); 00055 virtual void PrintSelf(ostream &os, vtkIndent indent); 00056 00058 00059 void SetCompositer(vtkCompositer *c); 00060 vtkGetObjectMacro(Compositer, vtkCompositer); 00062 00064 00065 vtkGetMacro(ImageProcessingTime, double); 00067 00068 protected: 00069 vtkCompositeRenderManager(); 00070 ~vtkCompositeRenderManager(); 00071 00072 vtkCompositer *Compositer; 00073 00074 virtual void PreRenderProcessing(); 00075 virtual void PostRenderProcessing(); 00076 00077 vtkFloatArray *DepthData; 00078 vtkUnsignedCharArray *TmpPixelData; 00079 vtkFloatArray *TmpDepthData; 00080 00081 private: 00082 vtkCompositeRenderManager(const vtkCompositeRenderManager &);//Not implemented 00083 void operator=(const vtkCompositeRenderManager &); //Not implemented 00084 }; 00085 00086 #endif //__vtkCompositeRenderManager_h