#include <scene.h>
Inherits RefCountClass.
Inherited by SimpleSceneClass.
Public Types | |
| enum | { SCENE_ID_UNKOWN = 0xFFFFFFFF , SCENE_ID_SCENE = 0 , SCENE_ID_SIMPLE , SCENE_ID_LAST = 0x0000FFFF } |
| enum | PolyRenderType { POINT , LINE , FILL } |
| enum | ExtraPassPolyRenderType { EXTRA_PASS_DISABLE , EXTRA_PASS_LINE , EXTRA_PASS_CLEAR_LINE } |
| enum | RegType { ON_FRAME_UPDATE = 0 , LIGHT , RELEASE } |
Public Member Functions | |
| SceneClass (void) | |
| virtual | ~SceneClass (void) |
| virtual int | Get_Scene_ID (void) const |
| virtual void | Add_Render_Object (RenderObjClass *obj) |
| virtual void | Remove_Render_Object (RenderObjClass *obj) |
| virtual SceneIterator * | Create_Iterator (bool onlyvisible=false)=0 |
| virtual void | Destroy_Iterator (SceneIterator *it)=0 |
| virtual void | Set_Ambient_Light (const Vector3 &color) |
| virtual const Vector3 & | Get_Ambient_Light (void) |
| virtual void | Set_Fog_Enable (bool set) |
| virtual bool | Get_Fog_Enable (void) |
| virtual void | Set_Fog_Color (const Vector3 &color) |
| virtual const Vector3 & | Get_Fog_Color (void) |
| virtual void | Set_Fog_Range (float start, float end) |
| virtual void | Get_Fog_Range (float *start, float *end) |
| void | Set_Polygon_Mode (PolyRenderType mode) |
| PolyRenderType | Get_Polygon_Mode (void) |
| void | Set_Extra_Pass_Polygon_Mode (ExtraPassPolyRenderType mode) |
| ExtraPassPolyRenderType | Get_Extra_Pass_Polygon_Mode (void) |
| virtual void | Register (RenderObjClass *obj, RegType for_what)=0 |
| virtual void | Unregister (RenderObjClass *obj, RegType for_what)=0 |
| virtual float | Compute_Point_Visibility (RenderInfoClass &rinfo, const Vector3 &point) |
| virtual void | Save (ChunkSaveClass &csave) |
| virtual void | Load (ChunkLoadClass &cload) |
Public Member Functions inherited from RefCountClass | |
| RefCountClass (void) | |
| RefCountClass (const RefCountClass &) | |
| void | Add_Ref (void) const |
| WWINLINE void | Release_Ref (void) const |
| int | Num_Refs (void) const |
| virtual void | Delete_This (void) |
Protected Member Functions | |
| virtual void | Render (RenderInfoClass &rinfo) |
| SceneClass (const SceneClass &) | |
| SceneClass & | operator== (const SceneClass &) |
Protected Member Functions inherited from RefCountClass | |
| virtual | ~RefCountClass (void) |
Protected Attributes | |
| Vector3 | AmbientLight |
| PolyRenderType | PolyRenderMode |
| ExtraPassPolyRenderType | ExtraPassPolyRenderMode |
| bool | FogEnabled |
| Vector3 | FogColor |
| float | FogStart |
| float | FogEnd |
Friends | |
| class | WW3D |
Additional Inherited Members | |
Static Public Member Functions inherited from RefCountClass | |
| static int | Total_Refs (void) |
| static RefCountClass * | Add_Active_Ref (RefCountClass *obj) |
| static RefCountClass * | Set_Ref_Owner (RefCountClass *obj, char *file, int line) |
| static void | Remove_Active_Ref (RefCountClass *obj) |
| static bool | Validate_Active_Ref (RefCountClass *obj) |
Public Attributes inherited from RefCountClass | |
| RefCountNodeClass | ActiveRefNode |
| ActiveRefStruct | ActiveRefInfo |
Static Public Attributes inherited from RefCountClass | |
| static RefCountListClass | ActiveRefList |
SceneClass This is a bunch of render objects that define a 3D scene. The requirements of a SceneClass are:
The "registration" interface is used by certain render objects to enable extra processing. For example, particle emmitters/buffers need to be updated each frame regardless of whether they are visible so they are registered for "ON_FRAME_UPDATE" processing.
| anonymous enum |
| enum SceneClass::RegType |
|
protected |
|
virtual |
Reimplemented in SimpleSceneClass.
|
inlinevirtual |
Reimplemented in SimpleSceneClass.
|
pure virtual |
Implemented in SimpleSceneClass.
|
pure virtual |
Implemented in SimpleSceneClass.
|
inlinevirtual |
|
inline |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inline |
|
inlinevirtual |
|
virtual |
|
protected |
|
pure virtual |
Implemented in SimpleSceneClass.
|
virtual |
Reimplemented in SimpleSceneClass, and SkeletonSceneClass.
|
protectedvirtual |
Reimplemented in RTS3DScene.
|
virtual |
|
inlinevirtual |
|
inline |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inline |
|
pure virtual |
Implemented in SimpleSceneClass.
|
protected |
|
protected |