PreviewProjectionGridTool Class Reference

#include <ProjectionGridTool.h>

Inheritance diagram for PreviewProjectionGridTool:

Inheritance graph
[legend]
List of all members.

Public Member Functions

void Activate ()
 Switch on a tool.
 PreviewProjectionGridTool (PreviewToolHelper *helper)
void createMesh ()
void AfterDrawImagesEvent ()
 Draw (using OpenGL) images above the others.
void BeforeDrawImagesEvent ()
 Draw using OpenGL anything the tool requires underneath the images.

Constructor & Destructor Documentation

PreviewProjectionGridTool::PreviewProjectionGridTool PreviewToolHelper helper  )  [inline]
 

Definition at line 53 of file ProjectionGridTool.h.


Member Function Documentation

void PreviewProjectionGridTool::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 56 of file ProjectionGridTool.cpp.

References ToolHelper::NotifyMe().

void PreviewProjectionGridTool::AfterDrawImagesEvent  )  [virtual]
 

Draw (using OpenGL) images above the others.

Reimplemented from Tool.

Definition at line 66 of file ProjectionGridTool.cpp.

References MeshManager::MeshInfo::CallList(), createMesh(), ProjectionGridTool::createTexture(), DEBUG_DEBUG, ViewState::GetSupportMultiTexture(), ToolHelper::GetViewStatePtr(), and MeshManager::MeshInfo::Update().

void PreviewProjectionGridTool::BeforeDrawImagesEvent  )  [virtual]
 

Draw using OpenGL anything the tool requires underneath the images.

Reimplemented from Tool.

Definition at line 62 of file ProjectionGridTool.cpp.

void PreviewProjectionGridTool::createMesh  ) 
 

Definition at line 230 of file ProjectionGridTool.cpp.

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

Referenced by AfterDrawImagesEvent().


The documentation for this class was generated from the following files:
Generated on Tue Sep 16 01:25:47 2014 for Hugintrunk by  doxygen 1.3.9.1