#include <tvu_geomv_objects.h>
Inheritance diagram for CCamera::

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 CTPoint3D& | GetPosition () |
| Get the position of the camera. More... | |
| virtual CTAngles& | GetDirection () |
| virtual CTDouble& | GetFOV () |
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 |
|
|
Private datas The size of the camera.
00207 {CM_SIZE_W = 15, CM_SIZE_H = 20, CM_SIZE_Z = 20};
|
|
|
Contructors/Destructors.
|
|
|
Display to a device (a file), lpFile == NULL means that the device is GEOMVIEW.
Reimplemented from CGeomvObject. |
|
|
Overwrite For snapping to a struct: for connecting to WLD.
|
|
|
Get the position of the camera.
00201 { return m_Position; };
|
|
|
For moving and rotating.
Reimplemented from CGeomvObject. |
|
|
Set camrera for GEOMVIEW.
|
|
|
Operations.
|
|
|
Background color.
|
|
|
The camera'options can be stored in a file.
|
|
|
At this posion The direction of the camera.
|
|
|
The field of view (FOV) of the camera: zoom.
|
|
|
The position of the camera.
|
|
|
Window size.
|
1.2.8.1 written by Dimitri van Heesch,
© 1997-2001