VTK
dox
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
=========================================================================*/
27
#ifndef vtkImageProcessingPass_h
28
#define vtkImageProcessingPass_h
29
30
#include "vtkRenderingOpenGL2Module.h"
// For export macro
31
#include "
vtkOpenGLRenderPass.h
"
32
33
class
vtkOpenGLRenderWindow
;
34
class
vtkDepthPeelingPassLayerList;
// Pimpl
35
class
vtkOpenGLFramebufferObject
;
36
class
vtkTextureObject
;
37
38
class
VTKRENDERINGOPENGL2_EXPORT
vtkImageProcessingPass
:
public
vtkOpenGLRenderPass
39
{
40
public
:
41
vtkTypeMacro(
vtkImageProcessingPass
,
vtkOpenGLRenderPass
);
42
void
PrintSelf
(ostream& os,
vtkIndent
indent)
override
;
43
49
void
ReleaseGraphicsResources
(
vtkWindow
*w)
override
;
50
52
58
vtkGetObjectMacro(DelegatePass,
vtkRenderPass
);
59
virtual
void
SetDelegatePass(
vtkRenderPass
*delegatePass);
61
62
protected
:
66
vtkImageProcessingPass
();
67
71
~
vtkImageProcessingPass
()
override
;
72
82
void
RenderDelegate(
const
vtkRenderState
*s,
83
int
width,
84
int
height
,
85
int
newWidth,
86
int
newHeight,
87
vtkOpenGLFramebufferObject
*fbo,
88
vtkTextureObject
*
target
);
89
90
91
vtkRenderPass
*
DelegatePass
;
92
93
private
:
94
vtkImageProcessingPass
(
const
vtkImageProcessingPass
&) =
delete
;
95
void
operator=(
const
vtkImageProcessingPass
&) =
delete
;
96
};
97
98
#endif
vtkRenderPass::ReleaseGraphicsResources
virtual void ReleaseGraphicsResources(vtkWindow *w)
Release graphics resources and ask components to release their own resources.
vtkOpenGLRenderPass::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkOpenGLFramebufferObject
Internal class which encapsulates OpenGL FramebufferObject.
Definition:
vtkOpenGLFramebufferObject.h:182
vtkWindow
window superclass for vtkRenderWindow
Definition:
vtkWindow.h:37
vtkX3D::height
Definition:
vtkX3D.h:254
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:39
vtkTextureObject
abstracts an OpenGL texture object.
Definition:
vtkTextureObject.h:44
vtkImageProcessingPass::DelegatePass
vtkRenderPass * DelegatePass
Definition:
vtkImageProcessingPass.h:91
vtkOpenGLRenderPass
Abstract render pass with shader modifications.
Definition:
vtkOpenGLRenderPass.h:38
vtkOpenGLRenderPass.h
vtkOpenGLRenderWindow
OpenGL rendering window.
Definition:
vtkOpenGLRenderWindow.h:53
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:832
vtkImageProcessingPass
Convenient class for post-processing passes. render pass.
Definition:
vtkImageProcessingPass.h:38
vtkRenderPass
Perform part of the rendering of a vtkRenderer.
Definition:
vtkRenderPass.h:58
Generated by
1.8.16