VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Rendering
OpenGL
vtkCameraPass.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkCameraPass.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
=========================================================================*/
34
#ifndef __vtkCameraPass_h
35
#define __vtkCameraPass_h
36
37
#include "vtkRenderingOpenGLModule.h"
// For export macro
38
#include "
vtkRenderPass.h
"
39
40
class
VTKRENDERINGOPENGL_EXPORT
vtkCameraPass
:
public
vtkRenderPass
41
{
42
public
:
43
static
vtkCameraPass
*
New
();
44
vtkTypeMacro(
vtkCameraPass
,
vtkRenderPass
);
45
void
PrintSelf
(ostream& os,
vtkIndent
indent);
46
47
//BTX
49
51
virtual
void
Render
(
const
vtkRenderState
*s);
52
//ETX
54
57
void
ReleaseGraphicsResources
(
vtkWindow
*w);
58
60
64
vtkGetObjectMacro(DelegatePass,
vtkRenderPass
);
65
virtual
void
SetDelegatePass(
vtkRenderPass
*delegatePass);
67
69
71
vtkSetMacro(AspectRatioOverride,
double
);
72
vtkGetMacro(AspectRatioOverride,
double
);
73
protected
:
75
76
vtkCameraPass
();
77
79
80
virtual
~
vtkCameraPass
();
81
virtual
void
GetTiledSizeAndOrigin(
82
const
vtkRenderState
* render_state,
83
int
* width,
int
*
height
,
int
*originX,
84
int
* originY);
86
87
vtkRenderPass
*
DelegatePass
;
88
89
double
AspectRatioOverride
;
90
private
:
91
vtkCameraPass
(
const
vtkCameraPass
&);
// Not implemented.
92
void
operator=(
const
vtkCameraPass
&);
// Not implemented.
93
};
94
95
#endif
Generated on Thu May 24 2012 22:22:36 for VTK by
1.8.1