[an error occurred while processing this directive]
Main Page | Modules | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

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.

Public Member Functions

 MeshManager (PT::Panorama *pano, ViewState *view_state)
 ~MeshManager ()
void CheckUpdate ()
void CleanMeshes ()
 Remove meshes for images that have been deleted.
void RenderMesh (unsigned int image_number) const
unsigned int GetDisplayList (unsigned int image_number) const
void SetLayoutMode (bool state)
 Turn layout mode on or off.
void SetLayoutScale (double scale)


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

MeshManager::MeshManager PT::Panorama pano,
ViewState view_state
 

MeshManager::~MeshManager  ) 
 


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:

Generated on Mon Sep 20 01:01:34 2010 for Hugintrunk by doxygen 1.3.9.1