VTK
|
00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: vtkImageProcessingPass.h 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 =========================================================================*/ 00026 #ifndef __vtkImageProcessingPass_h 00027 #define __vtkImageProcessingPass_h 00028 00029 #include "vtkRenderPass.h" 00030 00031 class vtkOpenGLRenderWindow; 00032 class vtkDepthPeelingPassLayerList; // Pimpl 00033 class vtkShaderProgram2; 00034 class vtkShader2; 00035 class vtkFrameBufferObject; 00036 class vtkTextureObject; 00037 00038 class VTK_RENDERING_EXPORT vtkImageProcessingPass : public vtkRenderPass 00039 { 00040 public: 00041 vtkTypeMacro(vtkImageProcessingPass,vtkRenderPass); 00042 void PrintSelf(ostream& os, vtkIndent indent); 00043 00046 void ReleaseGraphicsResources(vtkWindow *w); 00047 00049 00053 vtkGetObjectMacro(DelegatePass,vtkRenderPass); 00054 virtual void SetDelegatePass(vtkRenderPass *delegatePass); 00056 00057 protected: 00059 vtkImageProcessingPass(); 00060 00062 virtual ~vtkImageProcessingPass(); 00063 00065 00069 void RenderDelegate(const vtkRenderState *s, 00070 int width, 00071 int height, 00072 int newWidth, 00073 int newHeight, 00074 vtkFrameBufferObject *fbo, 00075 vtkTextureObject *target); 00077 00078 00079 vtkRenderPass *DelegatePass; 00080 00081 private: 00082 vtkImageProcessingPass(const vtkImageProcessingPass&); // Not implemented. 00083 void operator=(const vtkImageProcessingPass&); // Not implemented. 00084 }; 00085 00086 #endif