#include <tvu_primitive_objects.h>
Inheritance diagram for CTPrimitiveObject::
Public Types | |
enum | { FACE_MAXPOINTS = 16 } |
Public Methods | |
CTPrimitiveObject () | |
Contructors/Destructors. More... | |
virtual | ~CTPrimitiveObject () |
DEFINE_ID_FUNCTIONS (CTPrimitiveObject, CTObject, CLASSNAME_PRIM_OBJECT_ID, CLASSNAME_PRIM_OBJECT) public | |
virtual TBOOL | IsMobileObject () |
virtual TPOINT3D | GetLocation () |
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 This fonction may be used for writing the object to a file oogl. More... | |
virtual TBOOL | OnDisplaying (THFILE lpDevice) |
Will be called for displaying. More... | |
virtual TBOOL | Move () |
Moving, rotating. More... | |
virtual TBOOL | Rotate () |
virtual TBOOL | Project () |
virtual TBOOL | BuildObject () |
Create the shape ==> list of points/faces. More... | |
virtual TBOOL | OnBuildObject () |
virtual TBOOL | GetBoundary (BOUNDARY &Boundary) |
Get the boundary of the object. More... | |
virtual void | Delete () |
For deleting the object. More... | |
virtual CTPrimitiveObject& | operator= (CTPrimitiveObject &AnObject) |
Operations. More... | |
CTRGB& | GetRGB () |
For private data Color. More... | |
CTPoint3D& | GetPosition () |
Position, angles and size. More... | |
CTAngles& | GetAngles () |
CTSize3D& | GetSize () |
CTSize3D& | GetCurrentSize () |
TBOOL | GetPoint (TINT nIndex, LPTPOINT3D lpPoint) |
Get the point of index. More... | |
Protected Types | |
typedef struct CTPrimitiveObject::tagFACE | FACE |
Private data struct Face = Number of points + list of index of points. More... | |
typedef struct CTPrimitiveObject::tagFACE * | LPFACE |
Private data struct Face = Number of points + list of index of points. More... | |
typedef struct CTPrimitiveObject::tagPRIVATEDATA | PRIVATEDATA |
typedef struct CTPrimitiveObject::tagPRIVATEDATA * | LPPRIVATEDATA |
Protected Methods | |
virtual TBOOL | AllocateBuffers () |
virtual TINT | GetPointsCount () |
virtual TINT | GetFacesCount () |
Protected Attributes | |
CTRGB | m_RGB |
Data Color. More... | |
CTPoint3D | m_Position |
Position and size. More... | |
CTAngles | m_Angles |
CTSize3D | m_Size |
CTSize3D | m_CurrentSize |
LPTBYTE | m_Buffers |
Private pointer to a LPPRIVATEDATA structure. More... |
|
Private data struct Face = Number of points + list of index of points.
|
|
Private data struct Face = Number of points + list of index of points.
|
|
Contructors/Destructors.
|
|
Create the shape ==> list of points/faces.
|
|
For deleting the object.
|
|
Display to a device (a file), lpFile == NULL means that the device is GEOMVIEW This fonction may be used for writing the object to a file oogl.
Reimplemented from CTObject. |
|
Get the boundary of the object.
Reimplemented from CTObject. |
|
Get the point of index.
|
|
Position, angles and size.
00086 { return m_Position; }; |
|
For private data Color.
00084 { return m_RGB; }; |
|
The children to save/load.
Reimplemented from CTObject. |
|
Moving, rotating.
|
|
Will be called for displaying.
|
|
Operations.
|
|
Private pointer to a LPPRIVATEDATA structure.
|
|
Position and size.
|
|
Data Color.
|