MeshManager Class Reference
A MeshManager handles the graphics system representation of a remapping, by creating OpenGL display lists that draw a remapped image.
More...
#include <MeshManager.h>
List of all members.
Detailed Description
A MeshManager handles the graphics system representation of a remapping, by creating OpenGL display lists that draw a remapped image.
The coordinates used in the display list are calculated by a MeshRemapper
Constructor & Destructor Documentation
Member Function Documentation
| void MeshManager::CheckUpdate |
( |
|
) |
|
|
| void MeshManager::CleanMeshes |
( |
|
) |
|
|
|
|
Remove meshes for images that have been deleted.
|
| unsigned int MeshManager::GetDisplayList |
( |
unsigned int |
image_number |
) |
const |
|
| void MeshManager::RenderMesh |
( |
unsigned int |
image_number |
) |
const |
|
| void MeshManager::SetLayoutMode |
( |
bool |
state |
) |
|
|
|
|
Turn layout mode on or off.
When in layout mode, the images appear with their centre in the remapped position, but the rest of the image is drawn undistorted around that.
- Parameters:
-
| state | true to turn on layout mode, false to turn it off. |
|
| void MeshManager::SetLayoutScale |
( |
double |
scale |
) |
|
|
The documentation for this class was generated from the following files: