class Sp_Obj

The Base Class of all object

Inheritance:


Public Fields

[more]string Name
the name of the object
[more]Sp_Obj* father
The father of object
[more]Sp_Adm* adm
The Adm 3d
[more]int priority
his priority: This is a static value !!!
[more]list<Sp_Obj *> sons
Sons
[more]list<Sp_EntityBase *> entities
his entities
[more]Sp_LTrans trans
The transformations
[more]Sp_Mat4 coord_camera
The coordinates compared to the active camera

Public Methods

[more] Sp_Client_Time(Sp_Adm_Time *)
The constructor
[more]long GetElapsedTime()
these functions must be called after that adm called FrameTick time elapsed from the beginning of programme
[more]long GetFrameElapsedTime()
time elapsed from last frame
[more]long GetFrameCounter()
number of the current frame
[more] Sp_Obj()
default constructor Don't use it !!!
[more] Sp_Obj(char *name, Sp_Adm *adm3d, Sp_Obj *your_father, int prio)
the real constructor
[more]virtual ~Sp_Obj()
The destructor
[more]virtual void Add_Obj(Sp_Obj *)
Add a son
[more]virtual void Rem_Obj(Sp_Obj *)
Remove a son
[more]void Add_Entity(Sp_EntityBase *)
Add an Entity
[more]void Rem_Entity(Sp_EntityBase *)
Rem an Entity
[more]virtual void Print() const
Print information about Sp_Obj
[more]virtual Sp_Mat4 GetProjection() const
Projection * Matrix View
[more]virtual void DrawObj()
Essential function: This is called each frame (used to draw)


Documentation

The Base Class of all object
o Sp_Client_Time(Sp_Adm_Time *)
The constructor

olong GetElapsedTime()
these functions must be called after that adm called FrameTick time elapsed from the beginning of programme

olong GetFrameElapsedTime()
time elapsed from last frame

olong GetFrameCounter()
number of the current frame

o Sp_Obj()
default constructor Don't use it !!!

o Sp_Obj(char *name, Sp_Adm *adm3d, Sp_Obj *your_father, int prio)
the real constructor

ovirtual ~Sp_Obj()
The destructor

ovirtual void Add_Obj(Sp_Obj *)
Add a son

ovirtual void Rem_Obj(Sp_Obj *)
Remove a son

ovoid Add_Entity(Sp_EntityBase *)
Add an Entity

ovoid Rem_Entity(Sp_EntityBase *)
Rem an Entity

ovirtual void Print() const
Print information about Sp_Obj

ovirtual Sp_Mat4 GetProjection() const
Projection * Matrix View

ovirtual void DrawObj()
Essential function: This is called each frame (used to draw)

ostring Name
the name of the object

oSp_Obj* father
The father of object

oSp_Adm* adm
The Adm 3d

oint priority
his priority: This is a static value !!!

olist<Sp_Obj *> sons
Sons

olist<Sp_EntityBase *> entities
his entities

oSp_LTrans trans
The transformations

oSp_Mat4 coord_camera
The coordinates compared to the active camera


Direct child classes:
Sp_View
Sp_Light
Sp_Adm

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.