VTK
/Users/kitware/Dashboards/MyTests/VTK_BLD_Release_docs/Utilities/Doxygen/dox/Rendering/OpenGL/vtkImageProcessingPass.h
Go to the documentation of this file.
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 "vtkRenderingOpenGLModule.h" // For export macro
00030 #include "vtkRenderPass.h"
00031 
00032 class vtkOpenGLRenderWindow;
00033 class vtkDepthPeelingPassLayerList; // Pimpl
00034 class vtkShaderProgram2;
00035 class vtkShader2;
00036 class vtkFrameBufferObject;
00037 class vtkTextureObject;
00038 
00039 class VTKRENDERINGOPENGL_EXPORT vtkImageProcessingPass : public vtkRenderPass
00040 {
00041 public:
00042   vtkTypeMacro(vtkImageProcessingPass,vtkRenderPass);
00043   void PrintSelf(ostream& os, vtkIndent indent);
00044 
00047   void ReleaseGraphicsResources(vtkWindow *w);
00048 
00050 
00054   vtkGetObjectMacro(DelegatePass,vtkRenderPass);
00055   virtual void SetDelegatePass(vtkRenderPass *delegatePass);
00057 
00058  protected:
00060   vtkImageProcessingPass();
00061 
00063   virtual ~vtkImageProcessingPass();
00064 
00066 
00070   void RenderDelegate(const vtkRenderState *s,
00071                       int width,
00072                       int height,
00073                       int newWidth,
00074                       int newHeight,
00075                       vtkFrameBufferObject *fbo,
00076                       vtkTextureObject *target);
00078 
00079 
00080   vtkRenderPass *DelegatePass;
00081 
00082  private:
00083   vtkImageProcessingPass(const vtkImageProcessingPass&);  // Not implemented.
00084   void operator=(const vtkImageProcessingPass&);  // Not implemented.
00085 };
00086 
00087 #endif