Main Page   Class Hierarchy   Data Structures   File List   Data Fields   Globals  

CTPerson Class Reference

Will be used for representing a person. More...

#include <tvu_geomv_objects.h>

Inheritance diagram for CTPerson::

CGeomvObject CTObject

Public Types

enum  { PERSON_MAX_OBJECTS = 100 }

Public Methods

 CTPerson ()
 Contructors/Destructors. More...

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

virtual TBOOL MM_FromStruct (void *lpBlob, TLPCSTR lpObjectType=TNULL, int r=0, int g=0, int b=0)
 MM. More...

virtual TBOOL MM_FromStruct2 (int H3d, int x, int y, int z, int r, int g, int b)
virtual TBOOL FromPersonPipe (CTPersonPipe *pp, TINT type=CTPersonPipe::TS_ALL)
 Convert from a person pipe type: accepted types of soures. More...

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

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

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

virtual LPCTObject GetPerson ()

Static Public Methods

double GetCorrectWidth (double Height)
 For the size of the person. More...

double GetCorrectThick (double Height)
double IsCorrectHeight (double Height)
double IsCorrectWidth (double Width)

Static Public Attributes

TINT m_iCount

Protected Attributes

CTPoint3D m_Position
 Private datas The position of the person. More...

LPCTObject m_Person
 At this posion A standard person. More...


Static Protected Attributes

TINT m_nObjects
 For generated objects. More...

LPTBYTE* m_Objects

Detailed Description

Will be used for representing a person.


Constructor & Destructor Documentation

CTPerson::CTPerson ( )
 

Contructors/Destructors.


Member Function Documentation

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

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

Reimplemented from CGeomvObject.

TBOOL CTPerson::FromPersonPipe ( CTPersonPipe * pp,
TINT type = CTPersonPipe::TS_ALL ) [virtual]
 

Convert from a person pipe type: accepted types of soures.

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

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

double CTPerson::GetCorrectWidth ( double Height ) [static]
 

For the size of the person.

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

Get the position of the person.

00450 { return m_Position; };

TBOOL CTPerson::MM_FromStruct ( void * lpBlob,
TLPCSTR lpObjectType = TNULL,
int r = 0,
int g = 0,
int b = 0 ) [virtual]
 

MM.

Reimplemented from CGeomvObject.

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

For moving and rotating.

Reimplemented from CGeomvObject.


Field Documentation

LPCTObject CTPerson::m_Person [protected]
 

At this posion A standard person.

CTPoint3D CTPerson::m_Position [protected]
 

Private datas The position of the person.

TINT CTPerson::m_nObjects [static, protected]
 

For generated objects.


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