Main Page   Class Hierarchy   Data Structures   File List   Data Fields   Globals  

CCamera Class Reference

Will be used for displaying the cameras. More...

#include <tvu_geomv_objects.h>

Inheritance diagram for CCamera::

CGeomvObject CTObject

Public Methods

 CCamera ()
 Contructors/Destructors. More...

 ~CCamera ()
 DEFINE_ID_FUNCTIONS (CCamera, CGeomvObject, CLASSNAME_GEOM_CAMERA_ID, CLASSNAME_GEOM_CAMERA) public
virtual TPOINT3D GetLocation ()
virtual TBOOL FromStruct (int id_camera, void *lpStruct, TLPCSTR lpObjectType=TNULL)
 Overwrite For snapping to a struct: for connecting to WLD. More...

virtual TBOOL Display (FILE *lpDevice=TNULL)
 Display to a device (a file), lpFile == NULL means that the device is GEOMVIEW. More...

virtual TLPCSTR SetCamera (CTList pContext, TBOOL bReset=TTRUE)
 Set camrera for GEOMVIEW. More...

virtual void Project (CTPoint3D &NewPosition, double Rotate=0.)
 For moving and rotating. More...

virtual CCamera& operator= (CCamera &ca)
 Operations. More...

virtual CTPoint3DGetPosition ()
 Get the position of the camera. More...

virtual CTAnglesGetDirection ()
virtual CTDoubleGetFOV ()

Protected Types

enum  { CM_SIZE_W = 15, CM_SIZE_H = 20, CM_SIZE_Z = 20 }
 Private datas The size of the camera. More...


Protected Attributes

CTPoint3D m_Position
 The position of the camera. More...

CTAngles m_Direction
 At this posion The direction of the camera. More...

CTDouble m_FOV
 The field of view (FOV) of the camera: zoom. More...

CTRGB m_BkgRGB
 Background color. More...

CTSize2D m_SizeWindow
 Window size. More...

CTString m_CameraFile
 The camera'options can be stored in a file. More...

TLPSTR m_lpBuffers

Detailed Description

Will be used for displaying the cameras.


Member Enumeration Documentation

anonymous enum [protected]
 

Private datas The size of the camera.

00207 {CM_SIZE_W = 15, CM_SIZE_H = 20, CM_SIZE_Z = 20};


Constructor & Destructor Documentation

CCamera::CCamera ( )
 

Contructors/Destructors.


Member Function Documentation

TBOOL CCamera::Display ( FILE * lpDevice = TNULL ) [virtual]
 

Display to a device (a file), lpFile == NULL means that the device is GEOMVIEW.

Reimplemented from CGeomvObject.

TBOOL CCamera::FromStruct ( int id_camera,
void * lpStruct,
TLPCSTR lpObjectType = TNULL ) [virtual]
 

Overwrite For snapping to a struct: for connecting to WLD.

CTPoint3D & CCamera::GetPosition ( ) [inline, virtual]
 

Get the position of the camera.

00201 { return m_Position; };

void CCamera::Project ( CTPoint3D & NewPosition,
double Rotate = 0. ) [virtual]
 

For moving and rotating.

Reimplemented from CGeomvObject.

TLPCSTR CCamera::SetCamera ( CTList pContext,
TBOOL bReset = TTRUE ) [virtual]
 

Set camrera for GEOMVIEW.

CCamera & CCamera::operator= ( CCamera & ca ) [virtual]
 

Operations.


Field Documentation

CTRGB CCamera::m_BkgRGB [protected]
 

Background color.

CTString CCamera::m_CameraFile [protected]
 

The camera'options can be stored in a file.

CTAngles CCamera::m_Direction [protected]
 

At this posion The direction of the camera.

CTDouble CCamera::m_FOV [protected]
 

The field of view (FOV) of the camera: zoom.

CTPoint3D CCamera::m_Position [protected]
 

The position of the camera.

CTSize2D CCamera::m_SizeWindow [protected]
 

Window size.


The documentation for this class was generated from the following file:
Generated at Wed Aug 6 15:58:59 2003 for TVU's libraries for video surveillance: by doxygen1.2.8.1 written by Dimitri van Heesch, © 1997-2001