Project

General

Profile

SO3Engine

#include <SO3Scene.h>

Inheritance diagram for SO3::SScene:
SO3::SData

Public Member Functions

 SScene (SRoot *parent, const std::string &sceneName)
 
 ~SScene ()
 
void clearOgreScene ()
 
Ogre::SceneManager * GetOgreScenePointer ()
 
SNodeGetRootNode ()
 
SNodeGetNode (const std::string &nodeName) const
 
void PreUpdate ()
 
void PostUpdate ()
 
const SNodeMapGetNodeList () const
 
const STerrainMapGetTerrainList () const
 
SNodeCreateNode (const std::string &newNodeName)
 
SNodeCreateNodeWithUniqueName (const std::string &basename)
 
void DeleteNode (SNode *existingNode)
 
SVirtualPointerCreateVirtualPointer (const std::string &basename)
 
SCameraCreateCamera (const std::string &newCameraName)
 
SEntityCreateEntity (const std::string &groupName, const std::string &newEntityName, const std::string &meshName, bool loadInBackground=false)
 
SEntityCreateEntity (const std::string &newEntityName, const SEntity::EntityPrefabType &prefabType)
 
SEntityCreateEntity (const std::string &entityName, const std::string &ressourceGroup, Ogre::MeshPtr meshPointer)
 
SEntityCloneEntity (const std::string &newEntityName, SEntity *entity)
 
SEntityCreatePlane (const std::string &groupName, const std::string &newEntityName, const SPointFloat &sizev, const SPointInt &seg, const SPointFloat &uv)
 
SEntityCreateSphere (const std::string &groupName, const std::string &newEntityName, const float &radius, const int &rings, const int &segments)
 
SEntityCreateCone (const std::string &groupName, const std::string &newEntityName, const float &radius, const float &height, const int &segments)
 
SEntityCreateOctahedron (const std::string &groupName, const std::string &newEntityName, const float &base, const float &bottom, const float &dist)
 
void DeleteEntity (SEntity *existingEntity)
 
void ReloadEntities ()
 
SLineEntityCreateLineEntity (const std::string &newLineEntityName, bool dashed=false, bool disableDepth=false)
 
void DeleteLineEntity (SLineEntity *existingLineEntity)
 
void UpdateLightsShadowParameters ()
 
SSkeletonCreateSkeleton (const std::string &newSkeletonName, SEntity *entity)
 
void DeleteSkeleton (SSkeleton *existingSkeleton)
 
SBoneCreateBone (const std::string &newBoneName, SSkeleton *skeleton, const unsigned short &id)
 
void DeleteBone (SBone *existingBone)
 
SParticleSystemCreateParticleSystem (const std::string &newParticleSystemName, const std::string &particleSystemTemplate)
 
void DeleteParticleSystem (SParticleSystem *existingParticleSystem)
 
SLightCreateLight (const std::string &newLightName)
 
void DeleteLight (SLight *existingLight)
 
SDynamicCubeMapCreateDynamicCubeMap (const std::string &newDynamicCubeMapName)
 
void DeleteDynamicCubeMap (SDynamicCubeMap *existingDynamicCubeMap)
 
SRenderToTextureCreateRenderToTexture (const std::string &newRttName, SCamera *povCamera)
 
void DeleteRenderToTexture (SRenderToTexture *existingRenderToTexture)
 
SDynamicReflectionMapCreateDynamicReflectionMap (SViewPort *viewport, const std::string &newDynamicReflectionMapName)
 
void DeleteDynamicReflectionMap (SDynamicReflectionMap *existingDynamicReflectionMap)
 
SMaterialCreateMaterial (const std::string &groupname, const std::string &matname, const bool &loadedFromScript=false)
 
void DeleteMaterial (SMaterial *material)
 
SMaterialGetMaterial (const std::string &groupName, const std::string &materialName, bool searchOtherGroups=true)
 
bool IsMaterialExist (SMaterial *)
 
const SMaterialMapGetMaterials (const std::string &groupName)
 
const SGroupMaterialMapGetMaterials ()
 
void CleanGroupMaterials (const std::string &groupName)
 
STextureCreateTexture (const std::string &groupname, const std::string &texname, const std::string &path, const int &w=0, const int &h=0)
 
STextureCreateTexture (const std::string &groupname, const std::string &texname, Ogre::Image image)
 
void DeleteTexture (STexture *texture)
 
STextureGetTexture (const std::string &groupName, const std::string &texName)
 
const STextureMapGetTextures (const std::string &groupName)
 
const SGroupTextureMapGetTextures ()
 
void CleanGroupTextures (const std::string &groupName)
 
STerrainCreateTerrain (const std::string &name)
 
void DeleteTerrain (STerrain *terrain)
 
void UpdateAllTerrains ()
 
void DeleteAllTerrains ()
 
SRootGetParent ()
 
SPhysicWorldGetPhysicsWorld ()
 
SSequenceAnimationCreateAnimationSequence (const std::string &animationName)
 
void AddAnimation (SAnim *existingAnimation)
 
void RemoveAnimation (SAnim *existingAnimation)
 
void RemoveAnimation (const std::string &animationName)
 
void DeleteAnimation (SAnim *existingAnimation)
 
unsigned short GetNumAnimations ()
 
SAnimGetAnimation (const std::string &animationName)
 
SAnimMap GetAnimations () const
 
SEnvironmentGetEnvironment () const
 
SLightingManagerGetLightingManager ()
 
SShadowManager::ShadowType GetShadowType ()
 
void SetShadowType (const SShadowManager::ShadowType &shadowType)
 
SShadowManager::ShadowQuality GetShadowQuality ()
 
void SetShadowQuality (const SShadowManager::ShadowQuality &quality)
 
SShadowManagerGetShadowManager ()
 
void DestroyInternalRessources ()
 
void ReloadInternalRessources ()
 
Ogre::ColourValue GetAmbientLight ()
 
void SetAmbientLight (const Ogre::ColourValue &color)
 
void UpdateCamera (SViewPort *viewport)
 
void RegisterViewport (SViewPort *viewport)
 
void UnregisterViewport (SViewPort *viewport)
 
bool ParseResourceScript (const std::string &groupName, const std::string &scriptName, const SResource::ResourceType &scriptType)
 
void SetDebugEnable (const bool &enable)
 
void SetDebugDisplay (const int &color, const int &posx, const int &posy, const int &width, const int &height, const int &charHeight)
 
void SetDebugText (const std::string &text)
 
void GetSimpleRayCast (Ogre::Ray cameraRay, SRaycastResult &result)
 
void GetSimpleRayCast (Ogre::Ray cameraRay, SEntity *selected, SRaycastResult &result)
 
Ogre::RaySceneQuery * GetRayquery ()
 
void SetMaterialsPointSize (Ogre::Real size)
 
- Public Member Functions inherited from SO3::SData
 SData (const std::string &dataName)
 
virtual ~SData ()
 
std::string GetName () const
 
SUserObjectBindingsGetUserObjectBindings ()
 
const SUserObjectBindingsGetUserObjectBindings () const
 

Public Attributes

Ogre::SceneManager * O3SceneManager
 
Ogre::MeshManager * O3MeshManager
 
Ogre::MaterialManager * O3MaterialManager
 
Ogre::SkeletonManager * O3SkeletonManager
 
Ogre::TextureManager * O3TextureManager
 
bool hasSkyBox
 
bool skyBoxDrawFirst
 
bool hasSkyDome
 
bool skyDomeDrawFirst
 
bool hasSkyPlane
 
bool skyPlaneDrawFirst
 
Ogre::MaterialPtr skyBoxMat
 
Ogre::MaterialPtr skyDomeMat
 
Ogre::MaterialPtr skyPlaneMat
 
Ogre::MaterialPtr materialCaster
 
Ogre::MaterialPtr materialReceiver
 
Ogre::Plane skyPlane
 
Ogre::String curMessage
 
SEnvironmentenvironment
 

Protected Member Functions

bool NodeExist (const std::string &name)
 
bool AddNode (SNode *existingNode)
 
void RemoveNode (SNode *existingNode)
 
void RemoveNode (const std::string &nodeName)
 
void DeleteAllNodes ()
 
void DeleteAllAnimations ()
 
void DeleteAllMaterials ()
 
void DeleteAllTextures ()
 
bool UnloadResource (Ogre::ResourceManager *resMgr, const std::string &resName, const std::string &groupName)
 
bool UnloadResource (Ogre::ParticleSystemManager *resMgr, const std::string &resName)
 
bool UnloadMaterials (const std::string &filename, const std::string &groupName)
 
bool UnloadCompositors (const std::string &filename, const std::string &groupName)
 
bool UnloadParticles (const std::string &filename, const std::string &groupName)
 
bool UnloadVertexPrograms (const std::string &filename, const std::string &groupName)
 
bool UnloadFragmentPrograms (const std::string &filename, const std::string &groupName)
 

Additional Inherited Members

- Protected Attributes inherited from SO3::SData
std::string name
 

Detailed Description

Definition at line 124 of file SO3Scene.h.

Constructor & Destructor Documentation

◆ SScene()

SO3::SScene::SScene ( SRoot parent,
const std::string &  sceneName 
)

Constructor.

Definition at line 63 of file SO3Scene.cpp.

◆ ~SScene()

SO3::SScene::~SScene ( )

Destructor.

Definition at line 303 of file SO3Scene.cpp.

Member Function Documentation

◆ AddAnimation()

void SO3::SScene::AddAnimation ( SAnim existingAnimation)

Add a SAnim object to the list of handled animations.

Definition at line 1374 of file SO3Scene.cpp.

◆ AddNode()

bool SO3::SScene::AddNode ( SNode existingNode)
protected

Add a SNode object to the list of handled nodes.

Definition at line 415 of file SO3Scene.cpp.

◆ CleanGroupMaterials()

void SO3::SScene::CleanGroupMaterials ( const std::string &  groupName)

Definition at line 1161 of file SO3Scene.cpp.

◆ CleanGroupTextures()

void SO3::SScene::CleanGroupTextures ( const std::string &  groupName)

Definition at line 1310 of file SO3Scene.cpp.

◆ clearOgreScene()

void SO3::SScene::clearOgreScene ( )

Definition at line 185 of file SO3Scene.cpp.

◆ CloneEntity()

SEntity * SO3::SScene::CloneEntity ( const std::string &  newEntityName,
SEntity entity 
)

Clone a SEntity object

Definition at line 701 of file SO3Scene.cpp.

◆ CreateAnimationSequence()

SSequenceAnimation * SO3::SScene::CreateAnimationSequence ( const std::string &  animationName)

Definition at line 1337 of file SO3Scene.cpp.

◆ CreateBone()

SBone * SO3::SScene::CreateBone ( const std::string &  newBoneName,
SSkeleton skeleton,
const unsigned short &  id 
)

Create a new SBone object

Definition at line 946 of file SO3Scene.cpp.

◆ CreateCamera()

SCamera * SO3::SScene::CreateCamera ( const std::string &  newCameraName)

Create a new SCamera object

Definition at line 653 of file SO3Scene.cpp.

◆ CreateCone()

SEntity * SO3::SScene::CreateCone ( const std::string &  groupName,
const std::string &  newEntityName,
const float &  radius,
const float &  height,
const int &  segments 
)

Create a cone object

Definition at line 759 of file SO3Scene.cpp.

◆ CreateDynamicCubeMap()

SDynamicCubeMap * SO3::SScene::CreateDynamicCubeMap ( const std::string &  newDynamicCubeMapName)

Create a new SDynamicCubeMap object

Definition at line 997 of file SO3Scene.cpp.

◆ CreateDynamicReflectionMap()

SDynamicReflectionMap * SO3::SScene::CreateDynamicReflectionMap ( SViewPort viewport,
const std::string &  newDynamicReflectionMapName 
)

Create a new SDynamicReflectionMap object

Definition at line 1031 of file SO3Scene.cpp.

◆ CreateEntity() [1/3]

SEntity * SO3::SScene::CreateEntity ( const std::string &  entityName,
const std::string &  ressourceGroup,
Ogre::MeshPtr  meshPointer 
)

Create a new SEntity object, using a prefab type

Definition at line 689 of file SO3Scene.cpp.

◆ CreateEntity() [2/3]

SEntity * SO3::SScene::CreateEntity ( const std::string &  groupName,
const std::string &  newEntityName,
const std::string &  meshName,
bool  loadInBackground = false 
)

Create a new SEntity object

Definition at line 665 of file SO3Scene.cpp.

◆ CreateEntity() [3/3]

SEntity * SO3::SScene::CreateEntity ( const std::string &  newEntityName,
const SEntity::EntityPrefabType prefabType 
)

Create a new SEntity object, using a prefab type

Definition at line 677 of file SO3Scene.cpp.

◆ CreateLight()

SLight * SO3::SScene::CreateLight ( const std::string &  newLightName)

Create a new SLight object

Definition at line 980 of file SO3Scene.cpp.

◆ CreateLineEntity()

SLineEntity * SO3::SScene::CreateLineEntity ( const std::string &  newLineEntityName,
bool  dashed = false,
bool  disableDepth = false 
)

Create a new SLineEntity object

Definition at line 809 of file SO3Scene.cpp.

◆ CreateMaterial()

SMaterial * SO3::SScene::CreateMaterial ( const std::string &  groupname,
const std::string &  matname,
const bool &  loadedFromScript = false 
)

Create a new scene material

Definition at line 1048 of file SO3Scene.cpp.

◆ CreateNode()

SNode * SO3::SScene::CreateNode ( const std::string &  newNodeName)

Create a new SNode object

Definition at line 599 of file SO3Scene.cpp.

◆ CreateNodeWithUniqueName()

SNode * SO3::SScene::CreateNodeWithUniqueName ( const std::string &  basename)

Create a new SNode object with a unique name.

Definition at line 611 of file SO3Scene.cpp.

◆ CreateOctahedron()

SEntity * SO3::SScene::CreateOctahedron ( const std::string &  groupName,
const std::string &  newEntityName,
const float &  base,
const float &  bottom,
const float &  dist 
)

Create an octahedron object

Definition at line 775 of file SO3Scene.cpp.

◆ CreateParticleSystem()

SParticleSystem * SO3::SScene::CreateParticleSystem ( const std::string &  newParticleSystemName,
const std::string &  particleSystemTemplate 
)

Create a new SParticleSystem object

Definition at line 963 of file SO3Scene.cpp.

◆ CreatePlane()

SEntity * SO3::SScene::CreatePlane ( const std::string &  groupName,
const std::string &  newEntityName,
const SPointFloat sizev,
const SPointInt seg,
const SPointFloat uv 
)

Create a plane object

Definition at line 727 of file SO3Scene.cpp.

◆ CreateRenderToTexture()

SRenderToTexture * SO3::SScene::CreateRenderToTexture ( const std::string &  newRttName,
SCamera povCamera 
)

Create a new SRenderToTexture object

Definition at line 1014 of file SO3Scene.cpp.

◆ CreateSkeleton()

SSkeleton * SO3::SScene::CreateSkeleton ( const std::string &  newSkeletonName,
SEntity entity 
)

Create a new SSkeleton object

Definition at line 927 of file SO3Scene.cpp.

◆ CreateSphere()

SEntity * SO3::SScene::CreateSphere ( const std::string &  groupName,
const std::string &  newEntityName,
const float &  radius,
const int &  rings,
const int &  segments 
)

Create a sphere object

Definition at line 743 of file SO3Scene.cpp.

◆ CreateTerrain()

STerrain * SO3::SScene::CreateTerrain ( const std::string &  name)

Create a terrain

Definition at line 826 of file SO3Scene.cpp.

◆ CreateTexture() [1/2]

STexture * SO3::SScene::CreateTexture ( const std::string &  groupname,
const std::string &  texname,
const std::string &  path,
const int &  w = 0,
const int &  h = 0 
)

Create a new scene texture

Definition at line 1186 of file SO3Scene.cpp.

◆ CreateTexture() [2/2]

STexture * SO3::SScene::CreateTexture ( const std::string &  groupname,
const std::string &  texname,
Ogre::Image  image 
)

Definition at line 1219 of file SO3Scene.cpp.

◆ CreateVirtualPointer()

SVirtualPointer * SO3::SScene::CreateVirtualPointer ( const std::string &  basename)

Create a new SVirtualPointer object

Definition at line 639 of file SO3Scene.cpp.

◆ DeleteAllAnimations()

void SO3::SScene::DeleteAllAnimations ( )
protected

Destroy all existing animations.

Definition at line 2052 of file SO3Scene.cpp.

◆ DeleteAllMaterials()

void SO3::SScene::DeleteAllMaterials ( )
protected

Destroy all existing materials.

Definition at line 2076 of file SO3Scene.cpp.

◆ DeleteAllNodes()

void SO3::SScene::DeleteAllNodes ( )
protected

Destroy all existing nodes.

Definition at line 2033 of file SO3Scene.cpp.

◆ DeleteAllTerrains()

void SO3::SScene::DeleteAllTerrains ( )

Destroy all existing terrains.

Definition at line 876 of file SO3Scene.cpp.

◆ DeleteAllTextures()

void SO3::SScene::DeleteAllTextures ( )
protected

Destroy all existing textures.

Definition at line 2094 of file SO3Scene.cpp.

◆ DeleteAnimation()

void SO3::SScene::DeleteAnimation ( SAnim existingAnimation)

Delete manually an sequence animation.

Definition at line 1344 of file SO3Scene.cpp.

◆ DeleteBone()

void SO3::SScene::DeleteBone ( SBone existingBone)

Delete an existing SBone object

Definition at line 958 of file SO3Scene.cpp.

◆ DeleteDynamicCubeMap()

void SO3::SScene::DeleteDynamicCubeMap ( SDynamicCubeMap existingDynamicCubeMap)

Delete an existing SDynamicCubeMap object

Definition at line 1009 of file SO3Scene.cpp.

◆ DeleteDynamicReflectionMap()

void SO3::SScene::DeleteDynamicReflectionMap ( SDynamicReflectionMap existingDynamicReflectionMap)

Delete an existing SDynamicReflectionMap object

Definition at line 1043 of file SO3Scene.cpp.

◆ DeleteEntity()

void SO3::SScene::DeleteEntity ( SEntity existingEntity)

Delete an existing SEntity object

Definition at line 791 of file SO3Scene.cpp.

◆ DeleteLight()

void SO3::SScene::DeleteLight ( SLight existingLight)

Delete an existing SLight object

Definition at line 992 of file SO3Scene.cpp.

◆ DeleteLineEntity()

void SO3::SScene::DeleteLineEntity ( SLineEntity existingLineEntity)

Delete an existing SLineEntity object

Definition at line 821 of file SO3Scene.cpp.

◆ DeleteMaterial()

void SO3::SScene::DeleteMaterial ( SMaterial material)

Delete a scene material

Definition at line 1075 of file SO3Scene.cpp.

◆ DeleteNode()

void SO3::SScene::DeleteNode ( SNode existingNode)

Delete an existing SNode object

Definition at line 630 of file SO3Scene.cpp.

◆ DeleteParticleSystem()

void SO3::SScene::DeleteParticleSystem ( SParticleSystem existingParticleSystem)

Delete an existing SParticleSystem object

Definition at line 975 of file SO3Scene.cpp.

◆ DeleteRenderToTexture()

void SO3::SScene::DeleteRenderToTexture ( SRenderToTexture existingRenderToTexture)

Delete an existing SRenderToTexture object

Definition at line 1026 of file SO3Scene.cpp.

◆ DeleteSkeleton()

void SO3::SScene::DeleteSkeleton ( SSkeleton existingSkeleton)

Delete an existing SSkeleton object

Definition at line 941 of file SO3Scene.cpp.

◆ DeleteTerrain()

void SO3::SScene::DeleteTerrain ( STerrain terrain)

Delete a terrain

Definition at line 834 of file SO3Scene.cpp.

◆ DeleteTexture()

void SO3::SScene::DeleteTexture ( STexture texture)

Delete a scene texture

Definition at line 1252 of file SO3Scene.cpp.

◆ DestroyInternalRessources()

void SO3::SScene::DestroyInternalRessources ( )

Definition at line 1466 of file SO3Scene.cpp.

◆ GetAmbientLight()

Ogre::ColourValue SO3::SScene::GetAmbientLight ( )

Definition at line 1478 of file SO3Scene.cpp.

◆ GetAnimation()

SAnim * SO3::SScene::GetAnimation ( const std::string &  animationName)

Definition at line 1360 of file SO3Scene.cpp.

◆ GetAnimations()

SAnimMap SO3::SScene::GetAnimations ( ) const

Definition at line 1369 of file SO3Scene.cpp.

◆ GetEnvironment()

SEnvironment * SO3::SScene::GetEnvironment ( ) const

Definition at line 1415 of file SO3Scene.cpp.

◆ GetLightingManager()

SLightingManager * SO3::SScene::GetLightingManager ( )

Definition at line 1420 of file SO3Scene.cpp.

◆ GetMaterial()

SMaterial * SO3::SScene::GetMaterial ( const std::string &  groupName,
const std::string &  materialName,
bool  searchOtherGroups = true 
)

Return the SMaterial pointer corresponding to the name of an existing material handled by this class.

Definition at line 1099 of file SO3Scene.cpp.

◆ GetMaterials() [1/2]

const SGroupMaterialMap * SO3::SScene::GetMaterials ( )

Get all the materials groups identifiers, with their associated SMaterial.

Definition at line 1156 of file SO3Scene.cpp.

◆ GetMaterials() [2/2]

const SMaterialMap * SO3::SScene::GetMaterials ( const std::string &  groupName)

Return all the SMaterial that belongs to a given group.

Definition at line 1147 of file SO3Scene.cpp.

◆ GetNode()

SNode * SO3::SScene::GetNode ( const std::string &  nodeName) const

Return the SNode pointer corresponding to the name of an existing node handled by this class.

Definition at line 459 of file SO3Scene.cpp.

◆ GetNodeList()

const SNodeMap & SO3::SScene::GetNodeList ( ) const

Get a list of the handled nodes.

Definition at line 588 of file SO3Scene.cpp.

◆ GetNumAnimations()

unsigned short SO3::SScene::GetNumAnimations ( )

Definition at line 1355 of file SO3Scene.cpp.

◆ GetOgreScenePointer()

Ogre::SceneManager * SO3::SScene::GetOgreScenePointer ( )

Definition at line 449 of file SO3Scene.cpp.

◆ GetParent()

SRoot * SO3::SScene::GetParent ( )

Definition at line 1327 of file SO3Scene.cpp.

◆ GetPhysicsWorld()

SPhysicWorld * SO3::SScene::GetPhysicsWorld ( )

Definition at line 1332 of file SO3Scene.cpp.

◆ GetRayquery()

Ogre::RaySceneQuery * SO3::SScene::GetRayquery ( )
inline

Definition at line 591 of file SO3Scene.h.

◆ GetRootNode()

SNode * SO3::SScene::GetRootNode ( )

Return the scene root SNode.

Definition at line 454 of file SO3Scene.cpp.

◆ GetShadowManager()

SShadowManager * SO3::SScene::GetShadowManager ( )

Definition at line 1458 of file SO3Scene.cpp.

◆ GetShadowQuality()

SShadowManager::ShadowQuality SO3::SScene::GetShadowQuality ( )

Get the current shadows quality for shadow preset

Definition at line 1442 of file SO3Scene.cpp.

◆ GetShadowType()

SShadowManager::ShadowType SO3::SScene::GetShadowType ( )

Get the current shadows preset

Definition at line 1425 of file SO3Scene.cpp.

◆ GetSimpleRayCast() [1/2]

void SO3::SScene::GetSimpleRayCast ( Ogre::Ray  cameraRay,
SEntity selected,
SRaycastResult result 
)

Definition at line 2182 of file SO3Scene.cpp.

◆ GetSimpleRayCast() [2/2]

void SO3::SScene::GetSimpleRayCast ( Ogre::Ray  cameraRay,
SRaycastResult result 
)

Definition at line 2232 of file SO3Scene.cpp.

◆ GetTerrainList()

const STerrainMap & SO3::SScene::GetTerrainList ( ) const

Gat a list of terrains

Definition at line 594 of file SO3Scene.cpp.

◆ GetTexture()

STexture * SO3::SScene::GetTexture ( const std::string &  groupName,
const std::string &  texName 
)

Return the STexture pointer corresponding to the name of an existing texture handled by this class.

Definition at line 1280 of file SO3Scene.cpp.

◆ GetTextures() [1/2]

const SGroupTextureMap * SO3::SScene::GetTextures ( )

Get all the textures groups identifiers, with their associated STexture.

Definition at line 1305 of file SO3Scene.cpp.

◆ GetTextures() [2/2]

const STextureMap * SO3::SScene::GetTextures ( const std::string &  groupName)

Return all the STexture that belongs to a given group.

Definition at line 1296 of file SO3Scene.cpp.

◆ IsMaterialExist()

bool SO3::SScene::IsMaterialExist ( SMaterial )

◆ NodeExist()

bool SO3::SScene::NodeExist ( const std::string &  name)
protected

Get if a node alreay own the name int the list of handled nodes.

Definition at line 406 of file SO3Scene.cpp.

◆ ParseResourceScript()

bool SO3::SScene::ParseResourceScript ( const std::string &  groupName,
const std::string &  scriptName,
const SResource::ResourceType scriptType 
)
Remarks
This function can throw an exception!

Definition at line 1916 of file SO3Scene.cpp.

◆ PostUpdate()

void SO3::SScene::PostUpdate ( )

Post update called after the render frame

Definition at line 564 of file SO3Scene.cpp.

◆ PreUpdate()

void SO3::SScene::PreUpdate ( )

Prepare scene for update

Definition at line 468 of file SO3Scene.cpp.

◆ RegisterViewport()

void SO3::SScene::RegisterViewport ( SViewPort viewport)

Used to update components that need a viewport setting

Definition at line 1495 of file SO3Scene.cpp.

◆ ReloadEntities()

void SO3::SScene::ReloadEntities ( )

Reload all scene entities

Definition at line 796 of file SO3Scene.cpp.

◆ ReloadInternalRessources()

void SO3::SScene::ReloadInternalRessources ( )

Definition at line 1472 of file SO3Scene.cpp.

◆ RemoveAnimation() [1/2]

void SO3::SScene::RemoveAnimation ( const std::string &  animationName)

Remove a SAnim object from the list of handled animations.

Definition at line 1400 of file SO3Scene.cpp.

◆ RemoveAnimation() [2/2]

void SO3::SScene::RemoveAnimation ( SAnim existingAnimation)

Remove a SAnim object from the list of handled animations.

Definition at line 1392 of file SO3Scene.cpp.

◆ RemoveNode() [1/2]

void SO3::SScene::RemoveNode ( const std::string &  nodeName)
protected

Remove a SScene object from the list of handled nodes.

Definition at line 435 of file SO3Scene.cpp.

◆ RemoveNode() [2/2]

void SO3::SScene::RemoveNode ( SNode existingNode)
protected

Remove a SNode object from the list of handled nodes.

Definition at line 430 of file SO3Scene.cpp.

◆ SetAmbientLight()

void SO3::SScene::SetAmbientLight ( const Ogre::ColourValue &  color)

Definition at line 1483 of file SO3Scene.cpp.

◆ SetDebugDisplay()

void SO3::SScene::SetDebugDisplay ( const int &  color,
const int &  posx,
const int &  posy,
const int &  width,
const int &  height,
const int &  charHeight 
)

Definition at line 2153 of file SO3Scene.cpp.

◆ SetDebugEnable()

void SO3::SScene::SetDebugEnable ( const bool &  enable)

Definition at line 2141 of file SO3Scene.cpp.

◆ SetDebugText()

void SO3::SScene::SetDebugText ( const std::string &  text)

Definition at line 2172 of file SO3Scene.cpp.

◆ SetMaterialsPointSize()

void SO3::SScene::SetMaterialsPointSize ( Ogre::Real  size)

Set point cloud size on al lscene materials

Definition at line 2325 of file SO3Scene.cpp.

◆ SetShadowQuality()

void SO3::SScene::SetShadowQuality ( const SShadowManager::ShadowQuality quality)

Set the current shadows quality for shadow preset

Definition at line 1450 of file SO3Scene.cpp.

◆ SetShadowType()

void SO3::SScene::SetShadowType ( const SShadowManager::ShadowType shadowType)

Set the current shadow preset

Definition at line 1433 of file SO3Scene.cpp.

◆ UnloadCompositors()

bool SO3::SScene::UnloadCompositors ( const std::string &  filename,
const std::string &  groupName 
)
protected

UNLOAD COMPOSITOR

Definition at line 1644 of file SO3Scene.cpp.

◆ UnloadFragmentPrograms()

bool SO3::SScene::UnloadFragmentPrograms ( const std::string &  filename,
const std::string &  groupName 
)
protected

UNLOAD MATERIALS

Definition at line 1848 of file SO3Scene.cpp.

◆ UnloadMaterials()

bool SO3::SScene::UnloadMaterials ( const std::string &  filename,
const std::string &  groupName 
)
protected

UNLOAD MATERIALS

Definition at line 1576 of file SO3Scene.cpp.

◆ UnloadParticles()

bool SO3::SScene::UnloadParticles ( const std::string &  filename,
const std::string &  groupName 
)
protected

UNLOAD Particle

Definition at line 1712 of file SO3Scene.cpp.

◆ UnloadResource() [1/2]

bool SO3::SScene::UnloadResource ( Ogre::ParticleSystemManager *  resMgr,
const std::string &  resName 
)
protected

Definition at line 1558 of file SO3Scene.cpp.

◆ UnloadResource() [2/2]

bool SO3::SScene::UnloadResource ( Ogre::ResourceManager *  resMgr,
const std::string &  resName,
const std::string &  groupName 
)
protected

Definition at line 1508 of file SO3Scene.cpp.

◆ UnloadVertexPrograms()

bool SO3::SScene::UnloadVertexPrograms ( const std::string &  filename,
const std::string &  groupName 
)
protected

UNLOAD MATERIALS

Definition at line 1780 of file SO3Scene.cpp.

◆ UnregisterViewport()

void SO3::SScene::UnregisterViewport ( SViewPort viewport)

Used to update components that need a viewport setting

Definition at line 1502 of file SO3Scene.cpp.

◆ UpdateAllTerrains()

void SO3::SScene::UpdateAllTerrains ( )

Update terrains parameteres

Definition at line 844 of file SO3Scene.cpp.

◆ UpdateCamera()

void SO3::SScene::UpdateCamera ( SViewPort viewport)

Used to update components that need a camera setting

Definition at line 1489 of file SO3Scene.cpp.

◆ UpdateLightsShadowParameters()

void SO3::SScene::UpdateLightsShadowParameters ( )

Synchronize Lights shadow parameters with scene (to avoid some bad case in ogre shadows)

Definition at line 889 of file SO3Scene.cpp.

Member Data Documentation

◆ curMessage

Ogre::String SO3::SScene::curMessage

Definition at line 144 of file SO3Scene.h.

◆ environment

SEnvironment* SO3::SScene::environment

Definition at line 145 of file SO3Scene.h.

◆ hasSkyBox

bool SO3::SScene::hasSkyBox

Definition at line 132 of file SO3Scene.h.

◆ hasSkyDome

bool SO3::SScene::hasSkyDome

Definition at line 134 of file SO3Scene.h.

◆ hasSkyPlane

bool SO3::SScene::hasSkyPlane

Definition at line 136 of file SO3Scene.h.

◆ materialCaster

Ogre::MaterialPtr SO3::SScene::materialCaster

Definition at line 141 of file SO3Scene.h.

◆ materialReceiver

Ogre::MaterialPtr SO3::SScene::materialReceiver

Definition at line 142 of file SO3Scene.h.

◆ O3MaterialManager

Ogre::MaterialManager* SO3::SScene::O3MaterialManager

Definition at line 129 of file SO3Scene.h.

◆ O3MeshManager

Ogre::MeshManager* SO3::SScene::O3MeshManager

Definition at line 128 of file SO3Scene.h.

◆ O3SceneManager

Ogre::SceneManager* SO3::SScene::O3SceneManager

Definition at line 127 of file SO3Scene.h.

◆ O3SkeletonManager

Ogre::SkeletonManager* SO3::SScene::O3SkeletonManager

Definition at line 130 of file SO3Scene.h.

◆ O3TextureManager

Ogre::TextureManager* SO3::SScene::O3TextureManager

Definition at line 131 of file SO3Scene.h.

◆ skyBoxDrawFirst

bool SO3::SScene::skyBoxDrawFirst

Definition at line 133 of file SO3Scene.h.

◆ skyBoxMat

Ogre::MaterialPtr SO3::SScene::skyBoxMat

Definition at line 138 of file SO3Scene.h.

◆ skyDomeDrawFirst

bool SO3::SScene::skyDomeDrawFirst

Definition at line 135 of file SO3Scene.h.

◆ skyDomeMat

Ogre::MaterialPtr SO3::SScene::skyDomeMat

Definition at line 139 of file SO3Scene.h.

◆ skyPlane

Ogre::Plane SO3::SScene::skyPlane

Definition at line 143 of file SO3Scene.h.

◆ skyPlaneDrawFirst

bool SO3::SScene::skyPlaneDrawFirst

Definition at line 137 of file SO3Scene.h.

◆ skyPlaneMat

Ogre::MaterialPtr SO3::SScene::skyPlaneMat

Definition at line 140 of file SO3Scene.h.


The documentation for this class was generated from the following files: