Main Page   Class Hierarchy   Data Structures   File List   Data Fields   Globals  

CT3DObject Class Reference

General definition of a 3D object. More...

#include <tvu_3dobject.h>

Inheritance diagram for CT3DObject::

CTReferableObject CTObject CTBodyPart CTStick CTHumanBody

Public Methods

 CT3DObject ()
 Contructors/Destructors. More...

virtual ~CT3DObject ()
 DEFINE_ID_FUNCTIONS (CT3DObject, CTReferableObject, CLASSNAME_3DOBJECT_ID, CLASSNAME_3DOBJECT) public
virtual TPOINT3D GetLocation ()
virtual TBOOL OnPostLoad (LPTBYTE *lpBuffers)
 OnPostLoad. More...

virtual CTList GetSaveLoadObjects (TBOOL bOnLoad=TTRUE)
 The children to save/load. More...

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

virtual TBOOL OnDisplaying (THFILE lpDevice)
virtual TBOOL Move ()
 Moving, rotating. More...

virtual TBOOL MoveTo (CTPoint3D &Position)
virtual TBOOL Rotate ()
virtual TBOOL Project ()
virtual TBOOL BuildObject ()
 Create the list of primitives who construct the part. More...

virtual TBOOL IsWellConstructed ()
 Test and construct the object and the sub objects. More...

virtual TBOOL ReferTo (CTReferableObject *lpObject)
 Reference object. More...

virtual TBOOL GetBoundary (BOUNDARY &Boundary)
 Get the boundary of the object. More...

void SetColor (CTRGB &RGBColor)
 Change the color of the part. More...

void SetColor (TINT r, TINT g, TINT b)
void SetColor (TLPCSTR lpStrColor)
CT3DObject* GetChild (TLPCSTR lpName)
 Get a sub part by its name. More...

CT3DObject* GetSubPart (TLPCSTR lpName)
 Get a child. More...

virtual void Delete ()
 For deleting the object. More...

CT3DObject& operator= (CT3DObject &AnObject)
 Operations. More...

CTPoint3DGetPosition ()
 For private data Position, angles and size. More...

CTAnglesGetAngles ()
CTSize3DGetSize ()
CTList GetPrimitives ()
 Primitives, sub-parts and siblings. More...

CTList GetChildren ()
CTList GetSiblings ()

Protected Attributes

CTRGB m_RGB
 Data Color. More...

CTPoint3D m_Position
 Position and size. More...

CTAngles m_Angles
CTSize3D m_Size
CTSize3D m_SizeOriginal
CTList m_Primitives
 How can I be constructed? List of the primitive objects who construct the part. More...

CTList m_Children
 And list of sub parts. More...

CTList m_Siblings
 The related objects. More...


Detailed Description

General definition of a 3D object.


Constructor & Destructor Documentation

CT3DObject::CT3DObject ( )
 

Contructors/Destructors.


Member Function Documentation

TBOOL CT3DObject::BuildObject ( ) [virtual]
 

Create the list of primitives who construct the part.

Reimplemented from CTReferableObject.

void CT3DObject::Delete ( ) [virtual]
 

For deleting the object.

Reimplemented in CTBodyPart, and CTHumanBody.

TBOOL CT3DObject::Display ( THFILE lpDevice = TNULL ) [virtual]
 

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

Reimplemented from CTObject.

TBOOL CT3DObject::GetBoundary ( BOUNDARY & Boundary ) [virtual]
 

Get the boundary of the object.

Reimplemented from CTObject.

CT3DObject * CT3DObject::GetChild ( TLPCSTR lpName )
 

Get a sub part by its name.

CTPoint3D & CT3DObject::GetPosition ( ) [inline]
 

For private data Position, angles and size.

00084 { return m_Position; };

CTList CT3DObject::GetPrimitives ( ) [inline]
 

Primitives, sub-parts and siblings.

00088 { return m_Primitives; };

CTList CT3DObject::GetSaveLoadObjects ( TBOOL bOnLoad = TTRUE ) [virtual]
 

The children to save/load.

Reimplemented from CTObject.

Reimplemented in CTBodyPart, and CTHumanBody.

CT3DObject * CT3DObject::GetSubPart ( TLPCSTR lpName )
 

Get a child.

TBOOL CT3DObject::IsWellConstructed ( ) [virtual]
 

Test and construct the object and the sub objects.

Reimplemented from CTReferableObject.

TBOOL CT3DObject::Move ( ) [virtual]
 

Moving, rotating.

TBOOL CT3DObject::OnPostLoad ( LPTBYTE * lpBuffers ) [virtual]
 

OnPostLoad.

Reimplemented from CTObject.

Reimplemented in CTBodyPart.

TBOOL CT3DObject::ReferTo ( CTReferableObject * lpObject ) [virtual]
 

Reference object.

Reimplemented from CTReferableObject.

Reimplemented in CTBodyPart.

void CT3DObject::SetColor ( CTRGB & RGBColor ) [inline, virtual]
 

Change the color of the part.

Reimplemented from CTObject.

00068 { SetColor(RGBColor.r, RGBColor.g, RGBColor.b); };

CT3DObject & CT3DObject::operator= ( CT3DObject & AnObject )
 

Operations.


Field Documentation

CTList CT3DObject::m_Children [protected]
 

And list of sub parts.

CTPoint3D CT3DObject::m_Position [protected]
 

Position and size.

CTList CT3DObject::m_Primitives [protected]
 

How can I be constructed? List of the primitive objects who construct the part.

CTRGB CT3DObject::m_RGB [protected]
 

Data Color.

CTList CT3DObject::m_Siblings [protected]
 

The related objects.


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