orxonox::Mesh Class Reference

#include <src/orxonox/tools/Mesh.h>

List of all members.

Public Member Functions

bool getCastShadows () const
Ogre::Entity * getEntity ()
const std::stringgetName () const
bool isVisible () const
 Mesh ()
void setCastShadows (bool bCastShadows)
void setMeshSource (Ogre::SceneManager *scenemanager, const std::string &file)
void setVisible (bool bVisible)
 ~Mesh ()

Private Attributes

bool bCastShadows_
Ogre::Entity * entity_
Ogre::SceneManager * scenemanager_

Static Private Attributes

static unsigned int meshCounter_s = 0


Constructor & Destructor Documentation

orxonox::Mesh::Mesh (  ) 

References bCastShadows_, and entity_.

orxonox::Mesh::~Mesh (  ) 

References entity_, and scenemanager_.


Member Function Documentation

bool orxonox::Mesh::getCastShadows (  )  const [inline]

Ogre::Entity* orxonox::Mesh::getEntity (  )  [inline]

const std::string & orxonox::Mesh::getName (  )  const

References orxonox::BLANKSTRING, and entity_.

bool orxonox::Mesh::isVisible (  )  const

References entity_.

void orxonox::Mesh::setCastShadows ( bool  bCastShadows  ) 

void orxonox::Mesh::setMeshSource ( Ogre::SceneManager *  scenemanager,
const std::string file 
)

void orxonox::Mesh::setVisible ( bool  bVisible  ) 


Member Data Documentation

Referenced by Mesh(), setCastShadows(), and setMeshSource().

Ogre::Entity* orxonox::Mesh::entity_ [private]

unsigned int orxonox::Mesh::meshCounter_s = 0 [static, private]

Referenced by setMeshSource().

Ogre::SceneManager* orxonox::Mesh::scenemanager_ [private]

Referenced by setMeshSource(), and ~Mesh().


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

Generated on Tue Jul 28 16:22:43 2009 for Orxonox by  doxygen 1.5.6