Basic Image AlgorithmS Library
2.8.0
Main Page
Related Pages
Modules
Classes
Examples
All
Classes
Namespaces
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Groups
Pages
Gui
CameraViewport.hh
1
#ifndef __CameraViewport_h__
2
#define __CameraViewport_h__
3
4
#include <bias_config.h>
5
#include <iostream>
6
7
8
namespace
BIAS {
9
10
/** @class CameraViewport
11
\brief describes internal parameter viewport of an (OpenGL) camera view
12
13
\author Jan Woetzel 09/2003 */
14
class
BIASGui_EXPORT
CameraViewport
{
15
public
:
16
virtual
~CameraViewport
(){};
///< destructor
17
18
// ctors
19
CameraViewport
();
20
21
CameraViewport
(
const
int
vx0,
int
vy0,
unsigned
int
vwidth,
unsigned
int
height );
22
23
24
double
GetAspect()
const
;
25
26
std::ostream & Print(std::ostream & os=std::cout )
const
;
27
28
void
InitMembers();
29
30
#ifdef BIAS_HAVE_OPENGL
31
void
DisplayGL()
const
;
32
#endif // BIAS_HAVE_OPENGL
33
34
public
:
35
int
x0
;
//< origin in scroen coords
36
int
y0
;
37
unsigned
int
width
;
//< dim in screen coords
38
unsigned
int
height
;
39
40
};
// CameraViewFrustum
41
42
43
44
45
}
// namespace BIAS
46
#endif
BIAS::CameraViewport::y0
int y0
Definition:
CameraViewport.hh:36
BIAS::CameraViewport
describes internal parameter viewport of an (OpenGL) camera view
Definition:
CameraViewport.hh:14
BIAS::CameraViewport::~CameraViewport
virtual ~CameraViewport()
Definition:
CameraViewport.hh:16
BIAS::CameraViewport::x0
int x0
Definition:
CameraViewport.hh:35
BIAS::CameraViewport::height
unsigned int height
Definition:
CameraViewport.hh:38
BIAS::CameraViewport::width
unsigned int width
Definition:
CameraViewport.hh:37
Generated on Tue Feb 6 2018 02:01:38 for Basic Image AlgorithmS Library by
1.8.5