VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Rendering
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 "
vtkRenderPass.h
"
38
39
class
VTK_RENDERING_EXPORT
vtkCameraPass
:
public
vtkRenderPass
40
{
41
public
:
42
static
vtkCameraPass
*
New
();
43
vtkTypeMacro(
vtkCameraPass
,
vtkRenderPass
);
44
void
PrintSelf
(ostream& os,
vtkIndent
indent);
45
46
//BTX
48
50
virtual
void
Render
(
const
vtkRenderState
*s);
51
//ETX
53
56
void
ReleaseGraphicsResources
(
vtkWindow
*w);
57
59
63
vtkGetObjectMacro(DelegatePass,
vtkRenderPass
);
64
virtual
void
SetDelegatePass(
vtkRenderPass
*delegatePass);
66
68
70
vtkSetMacro(AspectRatioOverride,
double
);
71
vtkGetMacro(AspectRatioOverride,
double
);
72
protected
:
73
// Description:
74
// Default constructor. DelegatePass is set to NULL.
75
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 Mar 13 2014 08:10:28 for VTK by
1.8.1.2