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
CameraViewExternals.hh
1
#ifndef __CameraViewExternals_h__
2
#define __CameraViewExternals_h__
3
4
// ----------------------------------------------------------
5
#include <bias_config.h>
6
#include <iostream>
7
// BIAS
8
#include <Base/Math/Vector3.hh>
9
10
11
namespace
BIAS {
12
13
/** @class CameraViewExternals
14
\brief describes external params of a camera view
15
Used e.g. OpenGL and manipularted by controller classes, e.g. trackball.
16
\author Jan Woetzel */
17
class
BIASGui_EXPORT
CameraViewExternals
{
18
public
:
19
virtual
~CameraViewExternals
(){};
///< destructor
20
21
// ctors
22
CameraViewExternals
();
23
24
CameraViewExternals
(
const
BIAS::Vector3<double>
& C,
25
const
BIAS::Vector3<double>
& up,
26
const
BIAS::Vector3<double>
& viewAt);
27
28
29
std::ostream & Print(std::ostream & os=std::cout );
30
31
#ifdef BIAS_HAVE_OPENGL
32
void
DisplayGL()
const
;
33
void
DisplayViewAt(
const
double
& size=1.0)
const
;
34
#endif // BIAS_HAVE_OPENGL
35
36
void
InitMembers
()
37
{
38
C.Set(0,0,1);
39
up.Set(0,1,0);
40
viewAt.SetZero();
41
}
42
43
public
:
44
// external params : pose
45
BIAS::Vector3<double>
C
;
46
BIAS::Vector3<double>
up
;
47
BIAS::Vector3<double>
viewAt
;
48
49
};
// CameraViewExternals
50
51
}
// namespace BIAS
52
#endif
BIAS::CameraViewExternals::up
BIAS::Vector3< double > up
Definition:
CameraViewExternals.hh:46
BIAS::CameraViewExternals::~CameraViewExternals
virtual ~CameraViewExternals()
Definition:
CameraViewExternals.hh:19
BIAS::Vector3< double >
BIAS::CameraViewExternals::viewAt
BIAS::Vector3< double > viewAt
Definition:
CameraViewExternals.hh:47
BIAS::CameraViewExternals::C
BIAS::Vector3< double > C
Definition:
CameraViewExternals.hh:45
BIAS::CameraViewExternals::InitMembers
void InitMembers()
Definition:
CameraViewExternals.hh:36
BIAS::CameraViewExternals
describes external params of a camera view Used e.g.
Definition:
CameraViewExternals.hh:17
Generated on Tue Feb 6 2018 02:01:38 for Basic Image AlgorithmS Library by
1.8.5