Orxonox  0.0.5 Codename: Arcturus
Public Member Functions | Private Attributes | Static Private Attributes | List of all members
orxonox::Mesh Class Reference

#include </home/jenkins/workspace/orxonox_doxygen_trunk/src/libraries/tools/Mesh.h>

Public Member Functions

 Mesh ()
 
 ~Mesh ()
 
bool getCastShadows () const
 
Ogre::Entity * getEntity ()
 
const std::string & getMaterial () const
 
const std::string & getName () const
 
bool isVisible () const
 
void setCastShadows (bool bCastShadows)
 
void setMaterial (const std::string &name)
 
void setMeshSource (Ogre::SceneManager *scenemanager, const std::string &file)
 
void setSubMaterial (const std::string &name, const int index)
 
void setVisible (bool bVisible)
 

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 ( )
orxonox::Mesh::~Mesh ( )

Member Function Documentation

bool orxonox::Mesh::getCastShadows ( ) const
inline
Ogre::Entity* orxonox::Mesh::getEntity ( )
inline
const std::string & orxonox::Mesh::getMaterial ( ) const
const std::string & orxonox::Mesh::getName ( void  ) const
bool orxonox::Mesh::isVisible ( ) const
void orxonox::Mesh::setCastShadows ( bool  bCastShadows)
void orxonox::Mesh::setMaterial ( const std::string &  name)
void orxonox::Mesh::setMeshSource ( Ogre::SceneManager *  scenemanager,
const std::string &  file 
)
void orxonox::Mesh::setSubMaterial ( const std::string &  name,
const int  index 
)
void orxonox::Mesh::setVisible ( bool  bVisible)

Member Data Documentation

bool orxonox::Mesh::bCastShadows_
private
Ogre::Entity* orxonox::Mesh::entity_
private
unsigned int orxonox::Mesh::meshCounter_s = 0
staticprivate
Ogre::SceneManager* orxonox::Mesh::scenemanager_
private

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