Tactics: Western Philosophers Vs. Musicians  0.12
A turn-based tactical game combining rules and gameplay elements inspired by Final Fantasy Tactics and the Mayfair Exponential Game System. Unlike most games of this type, motion is in full, grid-less 3D.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Static Public Member Functions | Protected Attributes | List of all members
OpenSkyNet::OgreCore::OgreVisibleObject Class Reference

#include <OgreVisibleObject.h>

Inheritance diagram for OpenSkyNet::OgreCore::OgreVisibleObject:
OpenSkyNet::Core::VisibleObject OpenSkyNet::Core::ABCObject OpenSkyNet::Core::Object

Public Member Functions

 OgreVisibleObject (Ogre::SceneNode *renderNode_)
 
 OgreVisibleObject (Ogre::SceneNode *renderNode_, const Math::Point<> &pos_, const Math::Matrix3x3 &rot_)
 
 OgreVisibleObject (Ogre::SceneNode *renderNode_, const Ogre::Vector3 &pos_, const Ogre::Quaternion &rot_)
 
virtual ~OgreVisibleObject ()
 
const Ogre::SceneNode * getRenderNode () const
 
Ogre::SceneNode * getRenderNode ()
 
virtual Math::Point getPos () const
 
virtual void getPos (Math::Point<> &pos_) const
 
virtual void setPos (const Math::Point<> &pos_)
 
virtual Ogre::Vector3 getVec3 () const
 
virtual void getVec3 (Ogre::Vector3 &vec3_) const
 
virtual void setVec3 (const Ogre::Vector3 &vec3_)
 
virtual Math::Matrix3x3 getRot () const
 
virtual void getRot (Math::Matrix3x3 &rot_) const
 
virtual void setRot (const Math::Matrix3x3 &rot_)
 
virtual Ogre::Quaternion getQuat () const
 
virtual void getQuat (Ogre::Quaternion &quat_) const
 
virtual void setQuat (const Ogre::Quaternion &quat_)
 
virtual void setVisible (bool val_)
 
void setRenderNameEnabled (const std::string &name_, const Ogre::Camera *cam_, const Ogre::ColourValue &color_)
 
void setRenderNameText (const std::string &name_)
 
void updateRenderNameTransform ()
 
virtual void saveMaterials ()
 
virtual void loadMaterials ()
 
- Public Member Functions inherited from OpenSkyNet::Core::VisibleObject
virtual const VisibleObjectgetVisibleObject () const
 
virtual VisibleObjectgetVisibleObject ()
 
- Public Member Functions inherited from OpenSkyNet::Core::ABCObject
 ABCObject ()
 
virtual ~ABCObject ()
 
virtual bool getHasPosChanged () const
 
virtual void setHasPosChanged (bool val_)
 
virtual bool getHasRotChanged () const
 
virtual void setHasRotChanged (bool val_)
 
virtual Math::Point getVel () const
 
virtual void getVel (Math::Point<> &vel_) const
 
virtual void setVel (const Math::Point<> &vel_)
 
virtual bool getHasVelChanged () const
 
virtual void setHasVelChanged (bool val_)
 
virtual Math::Point getAngVel () const
 
virtual void getAngVel (Math::Point<> &angVel_) const
 
virtual void setAngVel (const Math::Point<> &angVel_)
 
virtual bool getHasAngVelChanged () const
 
virtual void setHasAngVelChanged (bool val_)
 
virtual const PhysicalObjectgetPhysicalObject () const
 
virtual PhysicalObjectgetPhysicalObject ()
 
virtual const std::string & getName () const
 
virtual void setName (const std::string &name_)
 
- Public Member Functions inherited from OpenSkyNet::Core::Object
 Object ()
 
virtual ~Object ()
 

Static Public Member Functions

static void setCamSpaceOffset (const Ogre::Vector3 &camSpaceOffset_)
 
static const Ogre::Vector3 & getCamSpaceOffset ()
 
static const Ogre::Vector3 & getWorldSpaceOffset ()
 

Protected Attributes

Ogre::SceneNode * _renderNode
 
Graphics::ObjectTextDisplay_renderName
 
std::vector< std::string > _materialNames
 
- Protected Attributes inherited from OpenSkyNet::Core::ABCObject
std::string _name
 
bool _hasPosChanged
 
bool _hasRotChanged
 
bool _hasVelChanged
 
bool _hasAngVelChanged
 

Detailed Description

Wraps an Ogre::SceneNode for creation via the ObjectFactory.

Constructor & Destructor Documentation

OpenSkyNet::OgreCore::OgreVisibleObject::OgreVisibleObject ( Ogre::SceneNode *  renderNode_)
OpenSkyNet::OgreCore::OgreVisibleObject::OgreVisibleObject ( Ogre::SceneNode *  renderNode_,
const Math::Point<> &  pos_,
const Math::Matrix3x3 rot_ 
)
OpenSkyNet::OgreCore::OgreVisibleObject::OgreVisibleObject ( Ogre::SceneNode *  renderNode_,
const Ogre::Vector3 &  pos_,
const Ogre::Quaternion &  rot_ 
)
OgreVisibleObject::~OgreVisibleObject ( )
virtual

Member Function Documentation

static const Ogre::Vector3& OpenSkyNet::OgreCore::OgreVisibleObject::getCamSpaceOffset ( )
inlinestatic
virtual Math::Point OpenSkyNet::OgreCore::OgreVisibleObject::getPos ( ) const
virtual
virtual void OpenSkyNet::OgreCore::OgreVisibleObject::getPos ( Math::Point<> &  pos_) const
virtual
virtual Ogre::Quaternion OpenSkyNet::OgreCore::OgreVisibleObject::getQuat ( ) const
virtual
virtual void OpenSkyNet::OgreCore::OgreVisibleObject::getQuat ( Ogre::Quaternion &  quat_) const
virtual
const Ogre::SceneNode* OpenSkyNet::OgreCore::OgreVisibleObject::getRenderNode ( ) const
inline
Ogre::SceneNode* OpenSkyNet::OgreCore::OgreVisibleObject::getRenderNode ( )
inline
virtual Math::Matrix3x3 OpenSkyNet::OgreCore::OgreVisibleObject::getRot ( ) const
virtual
virtual void OpenSkyNet::OgreCore::OgreVisibleObject::getRot ( Math::Matrix3x3 rot_) const
virtual
virtual Ogre::Vector3 OpenSkyNet::OgreCore::OgreVisibleObject::getVec3 ( ) const
virtual
virtual void OpenSkyNet::OgreCore::OgreVisibleObject::getVec3 ( Ogre::Vector3 &  vec3_) const
virtual
static const Ogre::Vector3& OpenSkyNet::OgreCore::OgreVisibleObject::getWorldSpaceOffset ( )
inlinestatic
void OgreVisibleObject::loadMaterials ( )
virtual

Sets the materials stored from a previous call to saveMaterials()

Reimplemented from OpenSkyNet::Core::VisibleObject.

void OgreVisibleObject::saveMaterials ( )
virtual

Saves all material names from all attached sub-entities

Reimplemented from OpenSkyNet::Core::VisibleObject.

static void OpenSkyNet::OgreCore::OgreVisibleObject::setCamSpaceOffset ( const Ogre::Vector3 &  camSpaceOffset_)
inlinestatic
void OgreVisibleObject::setPos ( const Math::Point<> &  pos_)
virtual
void OgreVisibleObject::setQuat ( const Ogre::Quaternion &  quat_)
virtual
void OgreVisibleObject::setRenderNameEnabled ( const std::string &  name_,
const Ogre::Camera *  cam_,
const Ogre::ColourValue &  color_ 
)
void OpenSkyNet::OgreCore::OgreVisibleObject::setRenderNameText ( const std::string &  name_)
inline
void OgreVisibleObject::setRot ( const Math::Matrix3x3 rot_)
virtual
Todo:
Should I really be setting ortho here?

Implements OpenSkyNet::Core::Object.

void OgreVisibleObject::setVec3 ( const Ogre::Vector3 &  vec3_)
virtual
virtual void OpenSkyNet::OgreCore::OgreVisibleObject::setVisible ( bool  val_)
inlinevirtual

Reimplemented from OpenSkyNet::Core::VisibleObject.

void OpenSkyNet::OgreCore::OgreVisibleObject::updateRenderNameTransform ( )
inline

Member Data Documentation

std::vector<std::string> OpenSkyNet::OgreCore::OgreVisibleObject::_materialNames
protected
Graphics::ObjectTextDisplay* OpenSkyNet::OgreCore::OgreVisibleObject::_renderName
protected
Ogre::SceneNode* OpenSkyNet::OgreCore::OgreVisibleObject::_renderNode
protected

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