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 "vtkRenderingOpenGL2Module.h" // For export macro 00030 #include "vtkRenderPass.h" 00031 00032 class vtkOpenGLRenderWindow; 00033 class vtkDepthPeelingPassLayerList; // Pimpl 00034 class vtkFrameBufferObject; 00035 class vtkTextureObject; 00036 00037 class VTKRENDERINGOPENGL2_EXPORT vtkImageProcessingPass : public vtkRenderPass 00038 { 00039 public: 00040 vtkTypeMacro(vtkImageProcessingPass,vtkRenderPass); 00041 void PrintSelf(ostream& os, vtkIndent indent); 00042 00045 void ReleaseGraphicsResources(vtkWindow *w); 00046 00048 00052 vtkGetObjectMacro(DelegatePass,vtkRenderPass); 00053 virtual void SetDelegatePass(vtkRenderPass *delegatePass); 00055 00056 protected: 00058 vtkImageProcessingPass(); 00059 00061 virtual ~vtkImageProcessingPass(); 00062 00064 00068 void RenderDelegate(const vtkRenderState *s, 00069 int width, 00070 int height, 00071 int newWidth, 00072 int newHeight, 00073 vtkFrameBufferObject *fbo, 00074 vtkTextureObject *target); 00076 00077 00078 vtkRenderPass *DelegatePass; 00079 00080 private: 00081 vtkImageProcessingPass(const vtkImageProcessingPass&); // Not implemented. 00082 void operator=(const vtkImageProcessingPass&); // Not implemented. 00083 }; 00084 00085 #endif