VTK
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
dox
Rendering
OpenGL2
vtkSSAAPass.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkSSAAPass.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
=========================================================================*/
39
#ifndef vtkSSAAPass_h
40
#define vtkSSAAPass_h
41
42
#include "
vtkRenderingOpenGL2Module.h
"
// For export macro
43
#include "
vtkRenderPass.h
"
44
45
class
vtkFrameBufferObject
;
46
class
vtkOpenGLHelper
;
47
class
vtkTextureObject
;
48
49
class
VTKRENDERINGOPENGL2_EXPORT
vtkSSAAPass
:
public
vtkRenderPass
50
{
51
public
:
52
static
vtkSSAAPass
*
New
();
53
vtkTypeMacro(
vtkSSAAPass
,
vtkRenderPass
);
54
void
PrintSelf
(ostream& os,
vtkIndent
indent);
55
56
//BTX
58
60
virtual
void
Render
(
const
vtkRenderState
*s);
61
//ETX
63
66
void
ReleaseGraphicsResources
(
vtkWindow
*w);
67
69
73
vtkGetObjectMacro(DelegatePass,
vtkRenderPass
);
74
virtual
void
SetDelegatePass(
vtkRenderPass
*delegatePass);
76
77
protected
:
79
vtkSSAAPass
();
80
82
virtual
~
vtkSSAAPass
();
83
85
86
vtkFrameBufferObject
*
FrameBufferObject
;
87
vtkTextureObject
*
Pass1
;
// render target for the scene
88
vtkTextureObject
*
Pass2
;
// render target for the horizontal pass
90
91
// Structures for the various cell types we render.
92
vtkOpenGLHelper
*
SSAAProgram
;
93
94
bool
Supported
;
95
bool
SupportProbed
;
96
97
vtkRenderPass
*
DelegatePass
;
98
99
private
:
100
vtkSSAAPass
(
const
vtkSSAAPass
&);
// Not implemented.
101
void
operator=(
const
vtkSSAAPass
&);
// Not implemented.
102
};
103
104
#endif
VTKRENDERINGOPENGL2_EXPORT
#define VTKRENDERINGOPENGL2_EXPORT
Definition:
vtkRenderingOpenGL2Module.h:15
vtkSSAAPass::FrameBufferObject
vtkFrameBufferObject * FrameBufferObject
Definition:
vtkSSAAPass.h:86
vtkSSAAPass::SSAAProgram
vtkOpenGLHelper * SSAAProgram
Definition:
vtkSSAAPass.h:92
vtkRenderPass::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
vtkWindow
window superclass for vtkRenderWindow
Definition:
vtkWindow.h:36
vtkRenderState
Context in which a vtkRenderPass will render.
Definition:
vtkRenderState.h:39
vtkSSAAPass::Pass2
vtkTextureObject * Pass2
Definition:
vtkSSAAPass.h:88
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:38
vtkRenderPass.h
vtkFrameBufferObject
internal class which encapsulates OpenGL frame buffer object. Not to be used directly.
Definition:
vtkFrameBufferObject.h:46
vtkSSAAPass::DelegatePass
vtkRenderPass * DelegatePass
Definition:
vtkSSAAPass.h:97
vtkTextureObject
abstracts an OpenGL texture object.
Definition:
vtkTextureObject.h:42
vtkRenderPass::Render
virtual void Render(const vtkRenderState *s)=0
vtkRenderingOpenGL2Module.h
vtkOpenGLHelper
Definition:
vtkOpenGLHelper.h:30
vtkRenderPass::ReleaseGraphicsResources
virtual void ReleaseGraphicsResources(vtkWindow *w)
vtkSSAAPass::Supported
bool Supported
Definition:
vtkSSAAPass.h:94
vtkSSAAPass::SupportProbed
bool SupportProbed
Definition:
vtkSSAAPass.h:95
vtkObject::New
static vtkObject * New()
vtkRenderPass
Perform part of the rendering of a vtkRenderer.
Definition:
vtkRenderPass.h:57
vtkSSAAPass
Implement Screen Space Anti Aliasing pass.
Definition:
vtkSSAAPass.h:49
vtkSSAAPass::Pass1
vtkTextureObject * Pass1
Definition:
vtkSSAAPass.h:87
Generated on Wed Dec 16 2015 17:15:10 for VTK by
1.8.9.1