SO3Engine
|
#include <SO3NodeScol.h>
Public Types | |
enum | NodeType { NODE_TYPE_ID = 0 , ENTITY_TYPE_ID = 1 , CAMERA_TYPE_ID = 2 , LIGHT_TYPE_ID = 3 , SKELETON_TYPE_ID = 4 , BONE_TYPE_ID = 5 , PARTICLE_SYSTEM_TYPE_ID = 6 , DYNAMIC_CUBE_MAP_ID = 7 , DYNAMIC_REFLECTION_MAP_ID = 8 , RENDER_TO_TEXTURE_ID = 9 , LINE_ENTITY_TYPE_ID = 10 , VIRTUAL_POINTER_TYPE_ID = 11 } |
enum | NodeTransformSpace { SO3_LOCAL_TS = 0 , SO3_PARENT_TS = 1 , SO3_WORLD_TS = 2 } |
Public Member Functions | |
SNode (SScene *parent, const std::string &nodeName, const bool &isRootNode=false) | |
virtual | ~SNode () |
SScene * | GetParentScene () |
Ogre::SceneNode * | GetOgreSceneNodePointer () |
Ogre::MovableObject * | GetMovableObjectPointer () |
bool | GetSceneNodeIsMouseForeground () |
void | SetSceneNodeIsMouseForeground (const bool &mForeground) |
bool | GetSceneNodeIsMouseClick () |
void | SetSceneNodeIsMouseClick (const bool &mClickable) |
int | GetSceneNodeMouseFlags () |
void | SetSceneNodeMouseFlags (const int &flags) |
bool | GetSceneNodeHasBody () |
SBody * | GetSceneNodeBody () |
void | RestoreStaticGraph () |
void | SetAsStaticGeometry (const bool &state) |
bool | GetAsStaticGeometry () |
Ogre::StaticGeometry * | GetStaticGeometry () |
void | SetFlags (const int &flags) |
void | SetPhysicsOverride (bool state) |
bool | GetPhysicsOverride () |
int | GetFlags () |
void | UpdateNodeBody (const bool &bScale) |
void | DisableAutoTarget () |
NodeType | GetNodeType () |
void | AttachToParent (SNode *newParentNode) |
void | DetachFromParent () |
SNode * | GetParentSceneNode () |
const SNodeMap | GetChildrenNodes () const |
virtual int | GetNumChildren () |
void | DetachAllChildren () |
virtual void | SetCastShadows (const bool &castShadows) |
virtual bool | GetCastShadows () |
virtual void | SetRenderingDistance (const float &distance) |
virtual float | GetRenderingDistance () |
virtual Ogre::Vector3 | GetBoundingBoxSize (const bool &childs=false) |
virtual Ogre::Vector3 | GetBoundingBoxCenter (const bool &childs=false) |
virtual Ogre::Vector3 | GetWorldBoundingBoxSize (const bool &childs=false) |
virtual Ogre::Vector3 | GetWorldBoundingBoxCenter (const bool &childs=false) |
virtual Ogre::Matrix4 | GetTransformationMatrix () |
virtual Ogre::Vector3 | GetPosition () |
virtual void | SetPosition (const Ogre::Vector3 &pos) |
virtual Ogre::Quaternion | GetOrientation () |
virtual void | SetOrientation (const Ogre::Quaternion &quat) |
virtual void | AddOrientation (const Ogre::Quaternion &quat) |
virtual Ogre::Vector3 | GetScale () |
virtual void | SetScale (const Ogre::Vector3 &scale) |
virtual Ogre::Vector3 | GetGlobalPosition () |
virtual void | SetGlobalPosition (const Ogre::Vector3 &pos, bool updateBody=true) |
virtual Ogre::Quaternion | GetGlobalOrientation () |
virtual void | SetGlobalOrientation (const Ogre::Quaternion &quat, bool updateBody=true) |
virtual Ogre::Vector3 | GetGlobalScale () |
virtual void | SetGlobalScale (const Ogre::Vector3 &scale, bool updateBody=true) |
virtual void | StoreInitialPRS () |
virtual void | ResetToInitialPRS () |
void | ResetToInitialPosition () |
virtual void | ResetToInitialOrientation () |
void | ResetToInitialScale () |
virtual Ogre::Vector3 | GetInitialPosition () |
virtual Ogre::Quaternion | GetInitialOrientation () |
virtual Ogre::Vector3 | GetInitialScale () |
bool | GetShowBoundingBox () |
void | SetShowBoundingBox (const bool &showBounding) |
void | SetAutoTracking (const bool &autoTrack, SNode *targetNode=0, const Ogre::Vector3 &localDirectionVector=Ogre::Vector3::NEGATIVE_UNIT_Z, const Ogre::Vector3 &offset=Ogre::Vector3::ZERO) |
SNode * | GetAutoTrackingTarget () |
virtual void | Pitch (const float &radianAngle, const SNode::NodeTransformSpace &relativeTo=SNode::SO3_LOCAL_TS) |
virtual void | Yaw (const float &radianAngle, const SNode::NodeTransformSpace &relativeTo=SNode::SO3_LOCAL_TS) |
virtual void | Roll (const float &radianAngle, const SNode::NodeTransformSpace &relativeTo=SNode::SO3_LOCAL_TS) |
virtual void | Rotate (const Ogre::Vector3 &axis, const float &radianAngle, const SNode::NodeTransformSpace &relativeTo=SNode::SO3_LOCAL_TS) |
virtual void | Translate (const Ogre::Vector3 &d, const SNode::NodeTransformSpace &relativeTo=SNode::SO3_PARENT_TS) |
void | SetDirection (const Ogre::Vector3 &vec, const SNode::NodeTransformSpace &relativeTo=SNode::SO3_LOCAL_TS, const Ogre::Vector3 &localDirectionVector=Ogre::Vector3::NEGATIVE_UNIT_Z) |
Ogre::Vector3 | GetDirection (bool derived=false, Ogre::Vector3 axis=Ogre::Vector3::NEGATIVE_UNIT_Z) |
void | LookAt (const Ogre::Vector3 &targetPoint, const SNode::NodeTransformSpace &relativeTo, const Ogre::Vector3 &localDirectionVector=Ogre::Vector3::NEGATIVE_UNIT_Z) |
bool | GetVisible () |
void | SetVisible (const bool &visible, const bool &cascade=true) |
SNodeAnimation * | CreateNodeAnimation (const std::string &animationName, const float &animationLength) |
void | DeleteAnimation (SAnim *existingAnimation) |
size_t | GetNumAnimations () |
SAnim * | GetAnimation (const std::string &animationName) |
SAnim * | GetAnimation (const unsigned short &animationIndex) |
SAnimMap | GetAnimations () const |
bool | IsAnimated () |
Ogre::Vector3 | GetPositionFromNode (SNode *nodeRef) |
Ogre::Quaternion | GetOrientationFromNode (SNode *nodeRef) |
Ogre::Vector3 | GetScaleFromNode (SNode *nodeRef) |
virtual void | SetInheritOrientation (const bool &state) |
virtual bool | GetInheritOrientation () |
virtual void | ResetOrientation () |
void | DeleteBody () |
SBody * | CreateBoxBody (const Ogre::Vector3 &boxsetting) |
SBody * | CreateBoxBody (const Ogre::Vector3 &boxsetting, const Ogre::Vector3 &offset, const Ogre::Quaternion &quat) |
SBody * | CreateConeBody (const Ogre::Real &radius, const Ogre::Real &height) |
SBody * | CreateConeBody (const Ogre::Real &radius, const Ogre::Real &height, const Ogre::Vector3 &offset, const Ogre::Quaternion &quat) |
SBody * | CreateEllipsoidBody (const Ogre::Vector3 &size) |
SBody * | CreateEllipsoidBody (const Ogre::Vector3 &size, const Ogre::Vector3 &offset, const Ogre::Quaternion &quat) |
SBody * | CreateCapsuleBody (const Ogre::Real &radius, const Ogre::Real &height) |
SBody * | CreateCapsuleBody (const Ogre::Real &radius, const Ogre::Real &height, const Ogre::Vector3 &offset, const Ogre::Quaternion &quat) |
SBody * | CreateCylinderBody (const Ogre::Real &radius, const Ogre::Real &height) |
SBody * | CreateCylinderBody (const Ogre::Real &radius, const Ogre::Real &height, const Ogre::Vector3 &offset, const Ogre::Quaternion &quat) |
SBody * | CreateChamferCylinderBody (const Ogre::Real &radius, const Ogre::Real &height) |
SBody * | CreateChamferCylinderBody (const Ogre::Real &radius, const Ogre::Real &height, const Ogre::Vector3 &offset, const Ogre::Quaternion &quat) |
SBody * | CreatePyramidBody (const Ogre::Vector3 &size) |
SBody * | CreatePyramidBody (const Ogre::Vector3 &size, const Ogre::Vector3 &offset, const Ogre::Quaternion &quat) |
SBody * | CreateConvexHullBody (const Ogre::Real &tolerance) |
SBody * | CreateConcaveHullBody (const Ogre::Real &tolerance) |
SBody * | CreateTreeBody (const bool &optimize) |
bool | IsDirty () |
void | SetDirty (bool state) |
void | UpdateNodeFromBody () |
void | ResetNode () |
Public Member Functions inherited from SO3::SData | |
SData (const std::string &dataName) | |
virtual | ~SData () |
std::string | GetName () const |
SUserObjectBindings & | GetUserObjectBindings () |
const SUserObjectBindings & | GetUserObjectBindings () const |
Protected Member Functions | |
SNode (SScene *parent, const std::string &nodeName, const NodeType &nodeType) | |
void | AddAnimation (SAnim *existingAnimation) |
void | RemoveAnimation (SAnim *existingAnimation) |
void | RemoveAnimation (const std::string &animationName) |
Ogre::Vector3 | GetSonsBoundingBox () |
Ogre::Vector3 | GetSonsWorldBoundingBox () |
Protected Attributes | |
SScene * | currentScene |
Ogre::SceneNode * | O3SceneNode |
Ogre::MovableObject * | ogreMovableObject |
SBody * | nodeBody |
unsigned short | animationCounter |
Ogre::Vector3 | initialPosition |
Ogre::Quaternion | initialOrientation |
Ogre::Vector3 | initialScale |
Protected Attributes inherited from SO3::SData | |
std::string | name |
Definition at line 42 of file SO3NodeScol.h.
Enumerator | |
---|---|
SO3_LOCAL_TS | |
SO3_PARENT_TS | |
SO3_WORLD_TS |
Definition at line 60 of file SO3NodeScol.h.
enum SO3::SNode::NodeType |
Definition at line 45 of file SO3NodeScol.h.
SO3::SNode::SNode | ( | SScene * | parent, |
const std::string & | nodeName, | ||
const bool & | isRootNode = false |
||
) |
Definition at line 37 of file SO3NodeScol.cpp.
|
virtual |
Definition at line 120 of file SO3NodeScol.cpp.
|
protected |
Protected constructor for child classes
Definition at line 79 of file SO3NodeScol.cpp.
|
protected |
Add a SAnim object to the list of handled animations.
Definition at line 1127 of file SO3NodeScol.cpp.
|
virtual |
Add a rotation to the node in local space terms.
Reimplemented in SO3::SBone.
Definition at line 617 of file SO3NodeScol.cpp.
void SO3::SNode::AttachToParent | ( | SNode * | newParentNode | ) |
Definition at line 308 of file SO3NodeScol.cpp.
SBody * SO3::SNode::CreateBoxBody | ( | const Ogre::Vector3 & | boxsetting | ) |
Definition at line 1234 of file SO3NodeScol.cpp.
SBody * SO3::SNode::CreateBoxBody | ( | const Ogre::Vector3 & | boxsetting, |
const Ogre::Vector3 & | offset, | ||
const Ogre::Quaternion & | quat | ||
) |
Definition at line 1249 of file SO3NodeScol.cpp.
SBody * SO3::SNode::CreateCapsuleBody | ( | const Ogre::Real & | radius, |
const Ogre::Real & | height | ||
) |
Definition at line 1324 of file SO3NodeScol.cpp.
SBody * SO3::SNode::CreateCapsuleBody | ( | const Ogre::Real & | radius, |
const Ogre::Real & | height, | ||
const Ogre::Vector3 & | offset, | ||
const Ogre::Quaternion & | quat | ||
) |
Definition at line 1339 of file SO3NodeScol.cpp.
SBody * SO3::SNode::CreateChamferCylinderBody | ( | const Ogre::Real & | radius, |
const Ogre::Real & | height | ||
) |
Definition at line 1384 of file SO3NodeScol.cpp.
SBody * SO3::SNode::CreateChamferCylinderBody | ( | const Ogre::Real & | radius, |
const Ogre::Real & | height, | ||
const Ogre::Vector3 & | offset, | ||
const Ogre::Quaternion & | quat | ||
) |
Definition at line 1399 of file SO3NodeScol.cpp.
SBody * SO3::SNode::CreateConcaveHullBody | ( | const Ogre::Real & | tolerance | ) |
Definition at line 1486 of file SO3NodeScol.cpp.
SBody * SO3::SNode::CreateConeBody | ( | const Ogre::Real & | radius, |
const Ogre::Real & | height | ||
) |
Definition at line 1264 of file SO3NodeScol.cpp.
SBody * SO3::SNode::CreateConeBody | ( | const Ogre::Real & | radius, |
const Ogre::Real & | height, | ||
const Ogre::Vector3 & | offset, | ||
const Ogre::Quaternion & | quat | ||
) |
Definition at line 1279 of file SO3NodeScol.cpp.
SBody * SO3::SNode::CreateConvexHullBody | ( | const Ogre::Real & | tolerance | ) |
Definition at line 1444 of file SO3NodeScol.cpp.
SBody * SO3::SNode::CreateCylinderBody | ( | const Ogre::Real & | radius, |
const Ogre::Real & | height | ||
) |
Definition at line 1354 of file SO3NodeScol.cpp.
SBody * SO3::SNode::CreateCylinderBody | ( | const Ogre::Real & | radius, |
const Ogre::Real & | height, | ||
const Ogre::Vector3 & | offset, | ||
const Ogre::Quaternion & | quat | ||
) |
Definition at line 1369 of file SO3NodeScol.cpp.
SBody * SO3::SNode::CreateEllipsoidBody | ( | const Ogre::Vector3 & | size | ) |
Definition at line 1294 of file SO3NodeScol.cpp.
SBody * SO3::SNode::CreateEllipsoidBody | ( | const Ogre::Vector3 & | size, |
const Ogre::Vector3 & | offset, | ||
const Ogre::Quaternion & | quat | ||
) |
Definition at line 1309 of file SO3NodeScol.cpp.
SNodeAnimation * SO3::SNode::CreateNodeAnimation | ( | const std::string & | animationName, |
const float & | animationLength | ||
) |
Create manually (by the user) a new SNodeAnimation.
Definition at line 1051 of file SO3NodeScol.cpp.
SBody * SO3::SNode::CreatePyramidBody | ( | const Ogre::Vector3 & | size | ) |
Definition at line 1414 of file SO3NodeScol.cpp.
SBody * SO3::SNode::CreatePyramidBody | ( | const Ogre::Vector3 & | size, |
const Ogre::Vector3 & | offset, | ||
const Ogre::Quaternion & | quat | ||
) |
Definition at line 1429 of file SO3NodeScol.cpp.
SBody * SO3::SNode::CreateTreeBody | ( | const bool & | optimize | ) |
Definition at line 1528 of file SO3NodeScol.cpp.
void SO3::SNode::DeleteAnimation | ( | SAnim * | existingAnimation | ) |
Delete manually an animation.
Definition at line 1058 of file SO3NodeScol.cpp.
void SO3::SNode::DeleteBody | ( | ) |
Definition at line 1229 of file SO3NodeScol.cpp.
void SO3::SNode::DetachAllChildren | ( | ) |
Definition at line 367 of file SO3NodeScol.cpp.
void SO3::SNode::DetachFromParent | ( | ) |
Definition at line 337 of file SO3NodeScol.cpp.
void SO3::SNode::DisableAutoTarget | ( | ) |
Definition at line 276 of file SO3NodeScol.cpp.
SAnim * SO3::SNode::GetAnimation | ( | const std::string & | animationName | ) |
Definition at line 1075 of file SO3NodeScol.cpp.
SAnim * SO3::SNode::GetAnimation | ( | const unsigned short & | animationIndex | ) |
Definition at line 1084 of file SO3NodeScol.cpp.
SAnimMap SO3::SNode::GetAnimations | ( | ) | const |
Definition at line 1093 of file SO3NodeScol.cpp.
bool SO3::SNode::GetAsStaticGeometry | ( | ) |
Definition at line 1661 of file SO3NodeScol.cpp.
SNode * SO3::SNode::GetAutoTrackingTarget | ( | ) |
Definition at line 852 of file SO3NodeScol.cpp.
|
virtual |
Reimplemented in SO3::SCamera, SO3::SEntity, SO3::SLight, and SO3::SLineEntity.
Definition at line 456 of file SO3NodeScol.cpp.
|
virtual |
Reimplemented in SO3::SCamera, SO3::SEntity, SO3::SLight, and SO3::SLineEntity.
Definition at line 447 of file SO3NodeScol.cpp.
|
virtual |
Reimplemented in SO3::SEntity, SO3::SLight, and SO3::SLineEntity.
Definition at line 430 of file SO3NodeScol.cpp.
const SNodeMap SO3::SNode::GetChildrenNodes | ( | ) | const |
Definition at line 357 of file SO3NodeScol.cpp.
Ogre::Vector3 SO3::SNode::GetDirection | ( | bool | derived = false , |
Ogre::Vector3 | axis = Ogre::Vector3::NEGATIVE_UNIT_Z |
||
) |
Definition at line 899 of file SO3NodeScol.cpp.
int SO3::SNode::GetFlags | ( | ) |
Definition at line 178 of file SO3NodeScol.cpp.
|
virtual |
Get the node orientation in global space terms.
Reimplemented in SO3::SBone, and SO3::SSkeleton.
Definition at line 709 of file SO3NodeScol.cpp.
|
virtual |
Get the node position in global space terms.
Reimplemented in SO3::SBone, and SO3::SSkeleton.
Definition at line 649 of file SO3NodeScol.cpp.
|
virtual |
Get the node scale in global space terms.
Reimplemented in SO3::SBone, and SO3::SSkeleton.
Definition at line 784 of file SO3NodeScol.cpp.
|
virtual |
Reimplemented in SO3::SBone.
Definition at line 1218 of file SO3NodeScol.cpp.
|
virtual |
Get the node orientation before "play".
Reimplemented in SO3::SBone.
Definition at line 1041 of file SO3NodeScol.cpp.
|
virtual |
Get the node position before "play".
Reimplemented in SO3::SBone.
Definition at line 1036 of file SO3NodeScol.cpp.
|
virtual |
Get the node scale before "play".
Reimplemented in SO3::SBone.
Definition at line 1046 of file SO3NodeScol.cpp.
Ogre::MovableObject * SO3::SNode::GetMovableObjectPointer | ( | ) |
Definition at line 168 of file SO3NodeScol.cpp.
SNode::NodeType SO3::SNode::GetNodeType | ( | ) |
Definition at line 303 of file SO3NodeScol.cpp.
size_t SO3::SNode::GetNumAnimations | ( | ) |
Definition at line 1070 of file SO3NodeScol.cpp.
|
virtual |
Reimplemented in SO3::SBone.
Definition at line 362 of file SO3NodeScol.cpp.
Ogre::SceneNode * SO3::SNode::GetOgreSceneNodePointer | ( | ) |
Definition at line 163 of file SO3NodeScol.cpp.
|
virtual |
Get the node orientation in local space terms.
Reimplemented in SO3::SBone.
Definition at line 581 of file SO3NodeScol.cpp.
Ogre::Quaternion SO3::SNode::GetOrientationFromNode | ( | SNode * | nodeRef | ) |
Get the node orientation in another node reference
Definition at line 1186 of file SO3NodeScol.cpp.
SScene * SO3::SNode::GetParentScene | ( | ) |
Definition at line 298 of file SO3NodeScol.cpp.
SNode * SO3::SNode::GetParentSceneNode | ( | ) |
Definition at line 352 of file SO3NodeScol.cpp.
bool SO3::SNode::GetPhysicsOverride | ( | ) |
Definition at line 1751 of file SO3NodeScol.cpp.
|
virtual |
Get the node position in local space terms.
Reimplemented in SO3::SBone.
Definition at line 543 of file SO3NodeScol.cpp.
Ogre::Vector3 SO3::SNode::GetPositionFromNode | ( | SNode * | nodeRef | ) |
Get the node position in another node reference
Definition at line 1171 of file SO3NodeScol.cpp.
|
virtual |
Reimplemented in SO3::SCamera, SO3::SEntity, SO3::SLight, SO3::SLineEntity, and SO3::SParticleSystem.
Definition at line 441 of file SO3NodeScol.cpp.
|
virtual |
Get the node scale in local space terms.
Reimplemented in SO3::SBone.
Definition at line 625 of file SO3NodeScol.cpp.
Ogre::Vector3 SO3::SNode::GetScaleFromNode | ( | SNode * | nodeRef | ) |
Get the node scale in another node reference
Definition at line 1200 of file SO3NodeScol.cpp.
SBody * SO3::SNode::GetSceneNodeBody | ( | ) |
Definition at line 218 of file SO3NodeScol.cpp.
bool SO3::SNode::GetSceneNodeHasBody | ( | ) |
Definition at line 213 of file SO3NodeScol.cpp.
bool SO3::SNode::GetSceneNodeIsMouseClick | ( | ) |
Definition at line 193 of file SO3NodeScol.cpp.
bool SO3::SNode::GetSceneNodeIsMouseForeground | ( | ) |
Definition at line 183 of file SO3NodeScol.cpp.
int SO3::SNode::GetSceneNodeMouseFlags | ( | ) |
Definition at line 203 of file SO3NodeScol.cpp.
bool SO3::SNode::GetShowBoundingBox | ( | ) |
Definition at line 833 of file SO3NodeScol.cpp.
|
protected |
get sons bounding box.
Definition at line 477 of file SO3NodeScol.cpp.
|
protected |
get sons world bounding box.
Definition at line 508 of file SO3NodeScol.cpp.
Ogre::StaticGeometry * SO3::SNode::GetStaticGeometry | ( | ) |
Definition at line 1669 of file SO3NodeScol.cpp.
|
virtual |
Reimplemented in SO3::SBone.
Definition at line 538 of file SO3NodeScol.cpp.
bool SO3::SNode::GetVisible | ( | ) |
Definition at line 914 of file SO3NodeScol.cpp.
|
virtual |
Reimplemented in SO3::SCamera, SO3::SEntity, SO3::SLight, and SO3::SLineEntity.
Definition at line 471 of file SO3NodeScol.cpp.
|
virtual |
Reimplemented in SO3::SCamera, SO3::SEntity, SO3::SLight, and SO3::SLineEntity.
Definition at line 462 of file SO3NodeScol.cpp.
bool SO3::SNode::IsAnimated | ( | ) |
Definition at line 1098 of file SO3NodeScol.cpp.
bool SO3::SNode::IsDirty | ( | ) |
Definition at line 1674 of file SO3NodeScol.cpp.
void SO3::SNode::LookAt | ( | const Ogre::Vector3 & | targetPoint, |
const SNode::NodeTransformSpace & | relativeTo, | ||
const Ogre::Vector3 & | localDirectionVector = Ogre::Vector3::NEGATIVE_UNIT_Z |
||
) |
Definition at line 907 of file SO3NodeScol.cpp.
|
virtual |
Reimplemented in SO3::SBone.
Definition at line 857 of file SO3NodeScol.cpp.
|
protected |
Remove a SAnim object from the list of handled animations.
Definition at line 1152 of file SO3NodeScol.cpp.
|
protected |
Remove a SAnim object from the list of handled animations.
Definition at line 1146 of file SO3NodeScol.cpp.
void SO3::SNode::ResetNode | ( | ) |
Definition at line 1005 of file SO3NodeScol.cpp.
|
virtual |
Reimplemented in SO3::SBone.
Definition at line 1223 of file SO3NodeScol.cpp.
|
virtual |
Reset the node Orientation as it was before "play" (as it was when "StoreInitialPRS" was called).
Reimplemented in SO3::SBone.
Definition at line 993 of file SO3NodeScol.cpp.
void SO3::SNode::ResetToInitialPosition | ( | ) |
Reset the node Position as it was before "play" (as it was when "StoreInitialPRS" was called).
Definition at line 987 of file SO3NodeScol.cpp.
|
virtual |
Reset the node Position, Rotation and Scale as it was before "play" (as it was when "StoreInitialPRS" was called).
Reimplemented in SO3::SBone.
Definition at line 978 of file SO3NodeScol.cpp.
void SO3::SNode::ResetToInitialScale | ( | ) |
Reset the node Scale as it was before "play" (as it was when "StoreInitialPRS" was called).
Definition at line 999 of file SO3NodeScol.cpp.
void SO3::SNode::RestoreStaticGraph | ( | ) |
Definition at line 1579 of file SO3NodeScol.cpp.
|
virtual |
Reimplemented in SO3::SBone.
Definition at line 871 of file SO3NodeScol.cpp.
|
virtual |
Reimplemented in SO3::SBone.
Definition at line 878 of file SO3NodeScol.cpp.
void SO3::SNode::SetAsStaticGeometry | ( | const bool & | state | ) |
Definition at line 1601 of file SO3NodeScol.cpp.
void SO3::SNode::SetAutoTracking | ( | const bool & | autoTrack, |
SNode * | targetNode = 0 , |
||
const Ogre::Vector3 & | localDirectionVector = Ogre::Vector3::NEGATIVE_UNIT_Z , |
||
const Ogre::Vector3 & | offset = Ogre::Vector3::ZERO |
||
) |
Definition at line 843 of file SO3NodeScol.cpp.
|
virtual |
Reimplemented in SO3::SEntity, SO3::SLight, and SO3::SLineEntity.
Definition at line 425 of file SO3NodeScol.cpp.
void SO3::SNode::SetDirection | ( | const Ogre::Vector3 & | vec, |
const SNode::NodeTransformSpace & | relativeTo = SNode::SO3_LOCAL_TS , |
||
const Ogre::Vector3 & | localDirectionVector = Ogre::Vector3::NEGATIVE_UNIT_Z |
||
) |
Definition at line 892 of file SO3NodeScol.cpp.
void SO3::SNode::SetDirty | ( | bool | state | ) |
Definition at line 1679 of file SO3NodeScol.cpp.
void SO3::SNode::SetFlags | ( | const int & | flags | ) |
Definition at line 173 of file SO3NodeScol.cpp.
|
virtual |
Set the node orientation in global space terms.
Reimplemented in SO3::SBone, and SO3::SSkeleton.
Definition at line 723 of file SO3NodeScol.cpp.
|
virtual |
Set the node position in global space terms.
Reimplemented in SO3::SBone, and SO3::SSkeleton.
Definition at line 660 of file SO3NodeScol.cpp.
|
virtual |
Set the node scale in global space terms.
Reimplemented in SO3::SBone.
Definition at line 795 of file SO3NodeScol.cpp.
|
virtual |
Reimplemented in SO3::SBone.
Definition at line 1213 of file SO3NodeScol.cpp.
|
virtual |
Set the node orientation in local space terms.
Reimplemented in SO3::SBone.
Definition at line 589 of file SO3NodeScol.cpp.
void SO3::SNode::SetPhysicsOverride | ( | bool | state | ) |
Definition at line 1745 of file SO3NodeScol.cpp.
|
virtual |
Set the node position in local space terms.
Reimplemented in SO3::SBone.
Definition at line 548 of file SO3NodeScol.cpp.
|
virtual |
Reimplemented in SO3::SCamera, SO3::SEntity, SO3::SLight, SO3::SLineEntity, and SO3::SParticleSystem.
Definition at line 436 of file SO3NodeScol.cpp.
|
virtual |
Set the node scale in local space terms.
Reimplemented in SO3::SBone, and SO3::SParticleSystem.
Definition at line 630 of file SO3NodeScol.cpp.
void SO3::SNode::SetSceneNodeIsMouseClick | ( | const bool & | mClickable | ) |
Definition at line 198 of file SO3NodeScol.cpp.
void SO3::SNode::SetSceneNodeIsMouseForeground | ( | const bool & | mForeground | ) |
Definition at line 188 of file SO3NodeScol.cpp.
void SO3::SNode::SetSceneNodeMouseFlags | ( | const int & | flags | ) |
Definition at line 208 of file SO3NodeScol.cpp.
void SO3::SNode::SetShowBoundingBox | ( | const bool & | showBounding | ) |
Definition at line 838 of file SO3NodeScol.cpp.
void SO3::SNode::SetVisible | ( | const bool & | visible, |
const bool & | cascade = true |
||
) |
Definition at line 934 of file SO3NodeScol.cpp.
|
virtual |
Store the node actual Position, Rotation and Scale before "play".
Reimplemented in SO3::SBone.
Definition at line 971 of file SO3NodeScol.cpp.
|
virtual |
Reimplemented in SO3::SBone.
Definition at line 885 of file SO3NodeScol.cpp.
void SO3::SNode::UpdateNodeBody | ( | const bool & | bScale | ) |
Definition at line 224 of file SO3NodeScol.cpp.
void SO3::SNode::UpdateNodeFromBody | ( | ) |
Definition at line 1694 of file SO3NodeScol.cpp.
|
virtual |
Reimplemented in SO3::SBone.
Definition at line 864 of file SO3NodeScol.cpp.
|
protected |
Definition at line 72 of file SO3NodeScol.h.
|
protected |
Definition at line 68 of file SO3NodeScol.h.
|
protected |
Definition at line 76 of file SO3NodeScol.h.
|
protected |
Definition at line 75 of file SO3NodeScol.h.
|
protected |
Definition at line 77 of file SO3NodeScol.h.
|
protected |
Definition at line 71 of file SO3NodeScol.h.
|
protected |
Definition at line 69 of file SO3NodeScol.h.
|
protected |
Definition at line 70 of file SO3NodeScol.h.