NL3D::CCameraInfo Class Reference

#include <camera.h>


Detailed Description

A camera descriptor

Used to export or build a CCamera.

Definition at line 48 of file camera.h.

Public Member Functions

 CCameraInfo ()
void serial (NLMISC::IStream &s)

Data Fields

float Fov
NLMISC::CVector Pos
float Roll
bool TargetMode
NLMISC::CVector TargetPos
bool UseFov


Constructor & Destructor Documentation

NL3D::CCameraInfo::CCameraInfo  ) 
 

Definition at line 219 of file camera.cpp.

References Fov, Roll, TargetMode, and UseFov.

00220 {
00221         Roll = 0;
00222         Fov = 0;
00223         TargetMode = false;
00224         UseFov = false;
00225 }


Member Function Documentation

void NL3D::CCameraInfo::serial NLMISC::IStream s  ) 
 

Definition at line 229 of file camera.cpp.

References Fov, Pos, Roll, s, TargetMode, TargetPos, and UseFov.

00230 {
00231         s.serialVersion (0);
00232         
00233         s.serial (Pos);
00234         s.serial (TargetPos);
00235         s.serial (Roll);
00236         s.serial (Fov);
00237         s.serial (TargetMode);
00238         s.serial (UseFov);
00239 }


Field Documentation

float NL3D::CCameraInfo::Fov
 

Definition at line 55 of file camera.h.

Referenced by NL3D::CCamera::build(), CCameraInfo(), and serial().

NLMISC::CVector NL3D::CCameraInfo::Pos
 

Definition at line 52 of file camera.h.

Referenced by NL3D::CCamera::build(), and serial().

float NL3D::CCameraInfo::Roll
 

Definition at line 54 of file camera.h.

Referenced by NL3D::CCamera::build(), CCameraInfo(), and serial().

bool NL3D::CCameraInfo::TargetMode
 

Definition at line 56 of file camera.h.

Referenced by NL3D::CCamera::build(), CCameraInfo(), and serial().

NLMISC::CVector NL3D::CCameraInfo::TargetPos
 

Definition at line 53 of file camera.h.

Referenced by NL3D::CCamera::build(), and serial().

bool NL3D::CCameraInfo::UseFov
 

Definition at line 57 of file camera.h.

Referenced by NL3D::CCamera::build(), CCameraInfo(), and serial().


The documentation for this class was generated from the following files:
Generated on Tue Mar 16 06:44:52 2004 for NeL by doxygen 1.3.6