VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Rendering
OpenGL
vtkImageProcessingPass.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkImageProcessingPass.h
5
6
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7
All rights reserved.
8
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9
10
This software is distributed WITHOUT ANY WARRANTY; without even
11
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12
PURPOSE. See the above copyright notice for more information.
13
14
=========================================================================*/
26
#ifndef __vtkImageProcessingPass_h
27
#define __vtkImageProcessingPass_h
28
29
#include "vtkRenderingOpenGLModule.h"
// For export macro
30
#include "
vtkRenderPass.h
"
31
32
class
vtkOpenGLRenderWindow
;
33
class
vtkDepthPeelingPassLayerList;
// Pimpl
34
class
vtkShaderProgram2
;
35
class
vtkShader2
;
36
class
vtkFrameBufferObject
;
37
class
vtkTextureObject
;
38
39
class
VTKRENDERINGOPENGL_EXPORT
vtkImageProcessingPass
:
public
vtkRenderPass
40
{
41
public
:
42
vtkTypeMacro(
vtkImageProcessingPass
,
vtkRenderPass
);
43
void
PrintSelf
(ostream& os,
vtkIndent
indent);
44
47
void
ReleaseGraphicsResources
(
vtkWindow
*w);
48
50
54
vtkGetObjectMacro(DelegatePass,
vtkRenderPass
);
55
virtual
void
SetDelegatePass(
vtkRenderPass
*delegatePass);
57
58
protected
:
60
vtkImageProcessingPass
();
61
63
virtual
~
vtkImageProcessingPass
();
64
66
70
void
RenderDelegate(
const
vtkRenderState
*s,
71
int
width,
72
int
height
,
73
int
newWidth,
74
int
newHeight,
75
vtkFrameBufferObject
*fbo,
76
vtkTextureObject
*
target
);
78
79
80
vtkRenderPass
*
DelegatePass
;
81
82
private
:
83
vtkImageProcessingPass
(
const
vtkImageProcessingPass
&);
// Not implemented.
84
void
operator=(
const
vtkImageProcessingPass
&);
// Not implemented.
85
};
86
87
#endif
Generated on Thu May 24 2012 22:22:36 for VTK by
1.8.1