BambooIsland: SceneObject_OgreImport Class Reference

BambooIsland Abgabe 2

- Main Page
- Related Pages
- Classes
- Files

- Class List
- Class Index
- Class Hierarchy
- Class Members

Public Member Functions

# SceneObject_OgreImport Class Reference

A SceneObject which draws a model loaded from file. More...

`#include <SceneObject_OgreImport.h>`

Inheritance diagram for SceneObject_OgreImport:

List of all members.

## Public Member Functions

virtual void | itlRender ()
void | addInstancedTransformMatrix (glm::mat4 mat)
| Adds a instance of the object. As long as there are less than 128 instances, the object will be also rendered with the given matrix.
| SceneObject_OgreImport (const char *filename)
| Constructor which reads model from a file.
| SceneObject_OgreImport (SceneObject_OgreImport *src)
| Clone constructor.
| ~SceneObject_OgreImport ()
| Destructor.

## Detailed Description

A SceneObject which draws a model loaded from file.

This SceneObject loads a given ogre-file (at construction time) and renders it at each itlRender() call. Further, the object will be rendered instanced and up to 128 times, each different transform matrix could be added with addInstancedTransformMatrix().

Definition at line 28 of file SceneObject_OgreImport.h.

## Constructor & Destructor Documentation

SceneObject_OgreImport::SceneObject_OgreImport | ( | const char * | filename | ) |

Constructor which reads model from a file.

< truncate the .mesh.xml

< remove models/ in front of string

Definition at line 23 of file SceneObject_OgreImport.cpp.

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

- C:/Users/easterbunny/Desktop/Echtzeitgraphik-LU/trunk/src/SceneObject_OgreImport.h
- C:/Users/easterbunny/Desktop/Echtzeitgraphik-LU/trunk/src/SceneObject_OgreImport.cpp

All Classes Functions Variables Enumerations Enumerator