#include <TextureManager.h>
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::Panorama * | m_pano |
| ViewState * | view_state |
| float | viewer_exposure |
| std::map< TextureKey, TextureInfo > | textures |
| float | texel_density |
| bool | photometric_correct |
|
||||||||||||
|
Definition at line 60 of file TextureManager.cpp. References m_pano, photometric_correct, and view_state. |
|
|
Definition at line 67 of file TextureManager.cpp. References textures. |
|
|
Definition at line 193 of file TextureManager.cpp. References HuginBase::Panorama::getOptions(), m_pano, HuginBase::PanoramaOptions::outputExposureValue, vigra_ext::pow(), and viewer_exposure. Referenced by GLPlaneOverviewRenderer::Redraw(), GLPanosphereOverviewRenderer::Redraw(), and GLPreviewRenderer::Redraw(). |
|
|
Definition at line 165 of file TextureManager.cpp. References DEBUG_ASSERT, ViewState::GetSrcImage(), photometric_correct, textures, and view_state. Referenced by PreviewIdentifyTool::AfterDrawImagesEvent(), and PreviewDifferenceTool::AfterDrawImagesEvent(). |
|
|
|
Definition at line 506 of file TextureManager.cpp. References DEBUG_INFO, HuginBase::Panorama::getNrOfImages(), ViewState::GetSrcImage(), m_pano, textures, and view_state. |
|
|
||||||||||||
|
|
Definition at line 203 of file TextureManager.cpp. Referenced by GLPlaneOverviewRenderer::Redraw(), GLPanosphereOverviewRenderer::Redraw(), and GLPreviewRenderer::Redraw(). |
|
|
Definition at line 484 of file TextureManager.cpp. References DEBUG_ERROR, DEBUG_INFO, and log2(). Referenced by CheckUpdate(). |
|
|
Definition at line 470 of file TextureManager.cpp. Referenced by CheckUpdate(). |
|
|
Definition at line 66 of file TextureManager.h. Referenced by PreviewDifferenceTool::AfterDrawImagesEvent(). |
|
|
Definition at line 154 of file TextureManager.cpp. References DEBUG_ASSERT, ViewState::GetSrcImage(), photometric_correct, textures, and view_state. |
|
|
Definition at line 454 of file TextureManager.cpp. References photometric_correct, and textures. Referenced by GLViewer::SetPhotometricCorrect(). |
|
|
Definition at line 75 of file TextureManager.h. Referenced by Begin(), CheckUpdate(), CleanTextures(), and TextureManager(). |
|
|
Definition at line 172 of file TextureManager.h. Referenced by BindTexture(), CheckUpdate(), DrawImage(), GetTextureName(), SetPhotometricCorrect(), and TextureManager(). |
|
|
Definition at line 171 of file TextureManager.h. Referenced by CheckUpdate(). |
|
|
Definition at line 166 of file TextureManager.h. Referenced by BindTexture(), CheckUpdate(), CleanTextures(), DrawImage(), GetTextureName(), SetPhotometricCorrect(), and ~TextureManager(). |
|
|
Definition at line 76 of file TextureManager.h. Referenced by BindTexture(), CheckUpdate(), CleanTextures(), DisableTexture(), DrawImage(), GetTextureName(), and TextureManager(). |
|
|
Definition at line 77 of file TextureManager.h. Referenced by Begin(), and DrawImage(). |
1.3.9.1