Molecule Visualizer
 All Classes Namespaces Files Functions Enumerations Enumerator Macros Groups Pages
Public Member Functions | Public Attributes | List of all members
ModelLoader Class Reference

Public Member Functions

 ModelLoader ()
 Default constructor.
 
 ~ModelLoader ()
 Destructor.
 
bool load (const std::string absoluteFilePath)
 A member function to load a model given by an absolute file path. More...
 
void setTextureSize (int size)
 A member function to set the texture size. More...
 
GLuint getVao () const
 A member function to get the vertex array object. More...
 
int getAtomCount ()
 A member function to get the atom count. More...
 

Public Attributes

float m_boundingSphere
 

Member Function Documentation

int ModelLoader::getAtomCount ( )

A member function to get the atom count.

Returns
the atom count as integer.
GLuint ModelLoader::getVao ( ) const

A member function to get the vertex array object.

Returns
the vertex array object as GLuint.
bool ModelLoader::load ( const std::string  absoluteFilePath)

A member function to load a model given by an absolute file path.

Parameters
absoluteFilePatha const std::string.
Returns
TRUE if successful, FALSE if fail.
void ModelLoader::setTextureSize ( int  size)

A member function to set the texture size.

Parameters
sizean integer
Returns
void.

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