PanosphereOverviewOutlinesTool Class Reference

#include <OverviewOutlinesTool.h>

Inheritance diagram for PanosphereOverviewOutlinesTool:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 PanosphereOverviewOutlinesTool (PanosphereOverviewToolHelper *helper, GLViewer *preview)
void Activate ()
 Switch on a tool.
void AfterDrawImagesBackEvent ()
 Draw using opengl anything after drawing the front face culled images.
void AfterDrawImagesFrontEvent ()
 Draw using opengl anything after drawing the back face culled images.
void drawBackground ()
 drawing the background means drawing a mesh that covers the whole panorama for the purpose of darkening the regions outside of the preview canvas
virtual void MarkDirty () override

Detailed Description

Definition at line 118 of file OverviewOutlinesTool.h.


Constructor & Destructor Documentation

PanosphereOverviewOutlinesTool::PanosphereOverviewOutlinesTool ( PanosphereOverviewToolHelper helper,
GLViewer preview 
) [inline]

Definition at line 122 of file OverviewOutlinesTool.h.


Member Function Documentation

void PanosphereOverviewOutlinesTool::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 77 of file OverviewOutlinesTool.cpp.

References PanosphereOverviewToolHelper::DRAW_OVER_IMAGES_BACK, PanosphereOverviewToolHelper::DRAW_OVER_IMAGES_FRONT, Tool::helper, ToolHelper::MARK_DIRTY, and ToolHelper::NotifyMe().

void PanosphereOverviewOutlinesTool::AfterDrawImagesBackEvent (  )  [virtual]

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

Reimplemented from PanosphereOverviewTool.

Definition at line 97 of file OverviewOutlinesTool.cpp.

References OverviewOutlinesTool::draw().

void PanosphereOverviewOutlinesTool::AfterDrawImagesFrontEvent (  )  [virtual]

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

Reimplemented from PanosphereOverviewTool.

Definition at line 102 of file OverviewOutlinesTool.cpp.

References OverviewOutlinesTool::draw().

void PanosphereOverviewOutlinesTool::drawBackground (  )  [virtual]

drawing the background means drawing a mesh that covers the whole panorama for the purpose of darkening the regions outside of the preview canvas

Reimplemented from OverviewOutlinesTool.

Definition at line 107 of file OverviewOutlinesTool.cpp.

References ToolHelper::GetVisualizationStatePtr(), and Tool::helper.

void PanosphereOverviewOutlinesTool::MarkDirty (  )  [virtual]

Reimplemented from Tool.

Definition at line 116 of file OverviewOutlinesTool.cpp.

References OverviewOutlinesTool::dirty_meshes.


The documentation for this class was generated from the following files:
Generated on 28 Jul 2016 for Hugintrunk by  doxygen 1.4.7