[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

TextureManager Class Reference

#include <TextureManager.h>

List of all members.

Public Member Functions

 TextureManager (PT::Panorama *pano, ViewState *view)
virtual ~TextureManager ()
void DrawImage (unsigned int image_number, unsigned int display_list)
void CheckUpdate ()
void Begin ()
void End ()
void SetPhotometricCorrect (bool state)
bool GetPhotometricCorrect ()
unsigned int GetTextureName (unsigned int image_number)
void BindTexture (unsigned int image_number)
void DisableTexture (bool maskOnly=false)

Protected Member Functions

void CleanTextures ()
unsigned int GetMaxTotalTexels ()
unsigned int GetMaxTextureSizePower ()

Protected Attributes

PT::Panoramam_pano
ViewStateview_state
float viewer_exposure
std::map< TextureKey, TextureInfotextures
float texel_density
bool photometric_correct


Constructor & Destructor Documentation

TextureManager::TextureManager PT::Panorama pano,
ViewState view
 

TextureManager::~TextureManager  )  [virtual]
 


Member Function Documentation

void TextureManager::Begin  ) 
 

void TextureManager::BindTexture unsigned int  image_number  ) 
 

void TextureManager::CheckUpdate  ) 
 

void TextureManager::CleanTextures  )  [protected]
 

void TextureManager::DisableTexture bool  maskOnly = false  ) 
 

void TextureManager::DrawImage unsigned int  image_number,
unsigned int  display_list
 

void TextureManager::End  ) 
 

unsigned int TextureManager::GetMaxTextureSizePower  )  [protected]
 

unsigned int TextureManager::GetMaxTotalTexels  )  [protected]
 

bool TextureManager::GetPhotometricCorrect  )  [inline]
 

unsigned int TextureManager::GetTextureName unsigned int  image_number  ) 
 

void TextureManager::SetPhotometricCorrect bool  state  ) 
 


Member Data Documentation

PT::Panorama* TextureManager::m_pano [protected]
 

bool TextureManager::photometric_correct [protected]
 

float TextureManager::texel_density [protected]
 

std::map<TextureKey, TextureInfo> TextureManager::textures [protected]
 

ViewState* TextureManager::view_state [protected]
 

float TextureManager::viewer_exposure [protected]
 


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

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