#include <tvu_3dobject.h>
Inheritance diagram for CT3DObject::
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... | |
CTPoint3D& | GetPosition () |
For private data Position, angles and size. More... | |
CTAngles& | GetAngles () |
CTSize3D& | GetSize () |
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... |
|
Contructors/Destructors.
|
|
Create the list of primitives who construct the part.
Reimplemented from CTReferableObject. |
|
For deleting the object.
Reimplemented in CTBodyPart, and CTHumanBody. |
|
Display to a device (a file), lpFile == NULL means that the device is GEOMVIEW.
Reimplemented from CTObject. |
|
Get the boundary of the object.
Reimplemented from CTObject. |
|
Get a sub part by its name.
|
|
For private data Position, angles and size.
00084 { return m_Position; }; |
|
Primitives, sub-parts and siblings.
00088 { return m_Primitives; }; |
|
The children to save/load.
Reimplemented from CTObject. Reimplemented in CTBodyPart, and CTHumanBody. |
|
Get a child.
|
|
Test and construct the object and the sub objects.
Reimplemented from CTReferableObject. |
|
Moving, rotating.
|
|
OnPostLoad.
Reimplemented from CTObject. Reimplemented in CTBodyPart. |
|
Reference object.
Reimplemented from CTReferableObject. Reimplemented in CTBodyPart. |
|
Change the color of the part.
Reimplemented from CTObject. 00068 { SetColor(RGBColor.r, RGBColor.g, RGBColor.b); }; |
|
Operations.
|
|
And list of sub parts.
|
|
Position and size.
|
|
How can I be constructed? List of the primitive objects who construct the part.
|
|
Data Color.
|
|
The related objects.
|