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 =========================================================================*/ 00031 #ifndef __vtkCompositeRenderManager_h 00032 #define __vtkCompositeRenderManager_h 00033 00034 #include "vtkParallelRenderManager.h" 00035 00036 class vtkCompositer; 00037 class vtkFloatArray; 00038 00039 class VTK_PARALLEL_EXPORT vtkCompositeRenderManager : public vtkParallelRenderManager 00040 { 00041 public: 00042 vtkTypeRevisionMacro(vtkCompositeRenderManager, vtkParallelRenderManager); 00043 static vtkCompositeRenderManager *New(); 00044 virtual void PrintSelf(ostream &os, vtkIndent indent); 00045 00047 00048 void SetCompositer(vtkCompositer *c); 00049 vtkGetObjectMacro(Compositer, vtkCompositer); 00051 00053 00054 vtkGetMacro(ImageProcessingTime, double); 00056 00057 protected: 00058 vtkCompositeRenderManager(); 00059 ~vtkCompositeRenderManager(); 00060 00061 vtkCompositer *Compositer; 00062 00063 virtual void PreRenderProcessing(); 00064 virtual void PostRenderProcessing(); 00065 00066 vtkFloatArray *DepthData; 00067 vtkUnsignedCharArray *TmpPixelData; 00068 vtkFloatArray *TmpDepthData; 00069 00070 private: 00071 vtkCompositeRenderManager(const vtkCompositeRenderManager &);//Not implemented 00072 void operator=(const vtkCompositeRenderManager &); //Not implemented 00073 }; 00074 00075 #endif //__vtkCompositeRenderManager_h