PanosphereOverviewProjectionGridTool Class Reference

#include <ProjectionGridTool.h>

Inheritance diagram for PanosphereOverviewProjectionGridTool:

Inheritance graph
[legend]
List of all members.

Public Member Functions

void Activate ()
 Switch on a tool.
 PanosphereOverviewProjectionGridTool (PanosphereOverviewToolHelper *helper)
void createMesh ()
void AfterDrawImagesBackEvent ()
 Draw using opengl anything after drawing the front face culled images.
void BeforeDrawImagesBackEvent ()
 Draw using opengl anything before drawing the front face culled images.
void AfterDrawImagesFrontEvent ()
 Draw using opengl anything after drawing the back face culled images.
void BeforeDrawImagesFrontEvent ()
 Draw using opengl anything before drawing the back face culled images.

Constructor & Destructor Documentation

PanosphereOverviewProjectionGridTool::PanosphereOverviewProjectionGridTool PanosphereOverviewToolHelper helper  )  [inline]
 

Definition at line 67 of file ProjectionGridTool.h.


Member Function Documentation

void PanosphereOverviewProjectionGridTool::Activate  )  [virtual]
 

Switch on a tool.

Inherited classes also register events they want to respond to with the PreviewToolHelper. As events are lost when the tool is deactivated without notification to the PreviewTool, things from the last activation can be cleaned up here too.

Implements Tool.

Definition at line 107 of file ProjectionGridTool.cpp.

void PanosphereOverviewProjectionGridTool::AfterDrawImagesBackEvent  )  [virtual]
 

Draw using opengl anything after drawing the front face culled images.

Reimplemented from PanosphereOverviewTool.

Definition at line 123 of file ProjectionGridTool.cpp.

References createMesh(), ProjectionGridTool::createTexture(), DEBUG_DEBUG, ViewState::GetSupportMultiTexture(), and ToolHelper::GetViewStatePtr().

void PanosphereOverviewProjectionGridTool::AfterDrawImagesFrontEvent  )  [virtual]
 

Draw using opengl anything after drawing the back face culled images.

Reimplemented from PanosphereOverviewTool.

Definition at line 178 of file ProjectionGridTool.cpp.

References createMesh(), ProjectionGridTool::createTexture(), DEBUG_DEBUG, ViewState::GetSupportMultiTexture(), and ToolHelper::GetViewStatePtr().

void PanosphereOverviewProjectionGridTool::BeforeDrawImagesBackEvent  )  [virtual]
 

Draw using opengl anything before drawing the front face culled images.

Reimplemented from PanosphereOverviewTool.

Definition at line 115 of file ProjectionGridTool.cpp.

void PanosphereOverviewProjectionGridTool::BeforeDrawImagesFrontEvent  )  [virtual]
 

Draw using opengl anything before drawing the back face culled images.

Reimplemented from PanosphereOverviewTool.

Definition at line 119 of file ProjectionGridTool.cpp.

void PanosphereOverviewProjectionGridTool::createMesh  ) 
 

Definition at line 239 of file ProjectionGridTool.cpp.

References DEBUG_DEBUG, ToolHelper::GetPanoramaPtr(), ToolHelper::GetVisualizationStatePtr(), HuginBase::BaseSrcPanoImage::setHFOV(), HuginBase::BaseSrcPanoImage::setProjection(), and HuginBase::SrcPanoImage::setSize().

Referenced by AfterDrawImagesBackEvent(), and AfterDrawImagesFrontEvent().


The documentation for this class was generated from the following files:
Generated on Wed Jul 16 01:25:49 2014 for Hugintrunk by  doxygen 1.3.9.1