VTK
dox
opt
build
vtk6-6.3.0+dfsg2
Rendering
OpenGL2
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 "vtkRenderingOpenGL2Module.h"
// For export macro
30
#include "
vtkRenderPass.h
"
31
32
class
vtkOpenGLRenderWindow
;
33
class
vtkDepthPeelingPassLayerList;
// Pimpl
34
class
vtkFrameBufferObject
;
35
class
vtkTextureObject
;
36
37
class
VTKRENDERINGOPENGL2_EXPORT
vtkImageProcessingPass
:
public
vtkRenderPass
38
{
39
public
:
40
vtkTypeMacro
(
vtkImageProcessingPass
,
vtkRenderPass
);
41
void
PrintSelf
(ostream& os,
vtkIndent
indent);
42
45
void
ReleaseGraphicsResources
(
vtkWindow
*
w
);
46
48
52
vtkGetObjectMacro
(DelegatePass,
vtkRenderPass
);
53
virtual
void
SetDelegatePass
(
vtkRenderPass
*delegatePass);
55
56
protected
:
58
vtkImageProcessingPass
();
59
61
virtual
~vtkImageProcessingPass
();
62
64
68
void
RenderDelegate
(
const
vtkRenderState
*
s
,
69
int
width
,
70
int
height
,
71
int
newWidth,
72
int
newHeight,
73
vtkFrameBufferObject
*fbo,
74
vtkTextureObject
*
target
);
76
77
78
vtkRenderPass
*DelegatePass;
79
80
private
:
81
vtkImageProcessingPass
(
const
vtkImageProcessingPass
&);
// Not implemented.
82
void
operator=(
const
vtkImageProcessingPass
&);
// Not implemented.
83
};
84
85
#endif
vtkImageProcessingPass::SetDelegatePass
virtual void SetDelegatePass(vtkRenderPass *delegatePass)
vtkFrameBufferObject
internal class which encapsulates OpenGL frame buffer object. Not to be used directly.
Definition:
vtkFrameBufferObject.h:47
vtkGetObjectMacro
#define vtkGetObjectMacro(name, type)
Definition:
vtkSetGet.h:232
vtkImageProcessingPass::ReleaseGraphicsResources
void ReleaseGraphicsResources(vtkWindow *w)
vtkRenderPass.h
vtkgl::s
GLdouble s
Definition:
vtkgl.h:11594
vtkTypeMacro
#define vtkTypeMacro(thisClass, superclass)
Definition:
vtkSetGet.h:642
vtkImageProcessingPass::~vtkImageProcessingPass
virtual ~vtkImageProcessingPass()
vtkWindow
window superclass for vtkRenderWindow
Definition:
vtkWindow.h:34
vtkImageProcessingPass::vtkImageProcessingPass
vtkImageProcessingPass()
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:39
vtkTextureObject
abstracts an OpenGL texture object.
Definition:
vtkTextureObject.h:40
vtkgl::width
GLint GLint GLsizei width
Definition:
vtkgl.h:11316
vtkImageProcessingPass::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
vtkOpenGLRenderWindow
OpenGL rendering window.
Definition:
vtkOpenGLRenderWindow.h:41
vtkgl::w
GLubyte GLubyte GLubyte GLubyte w
Definition:
vtkgl.h:12054
vtkRenderState
Context in which a vtkRenderPass will render.
Definition:
vtkRenderState.h:40
target
boost::graph_traits< vtkGraph * >::vertex_descriptor target(boost::graph_traits< vtkGraph * >::edge_descriptor e, vtkGraph *)
Definition:
vtkBoostGraphAdapter.h:828
vtkImageProcessingPass::RenderDelegate
void RenderDelegate(const vtkRenderState *s, int width, int height, int newWidth, int newHeight, vtkFrameBufferObject *fbo, vtkTextureObject *target)
vtkImageProcessingPass
Convenient class for post-processing passes. render pass.
Definition:
vtkImageProcessingPass.h:40
vtkgl::height
GLint GLint GLsizei GLsizei height
Definition:
vtkgl.h:11316
vtkRenderPass
Perform part of the rendering of a vtkRenderer.
Definition:
vtkRenderPass.h:58
Generated by
1.8.20