Hugintrunk  0.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | List of all members
PanosphereOverviewProjectionGridTool Class Reference

#include <ProjectionGridTool.h>

Inheritance diagram for PanosphereOverviewProjectionGridTool:
Inheritance graph

Public Member Functions

void Activate ()
 Switch on a tool. More...
 
 PanosphereOverviewProjectionGridTool (PanosphereOverviewToolHelper *helper)
 
void AfterDrawImagesBackEvent ()
 Draw using opengl anything after drawing the front face culled images. More...
 
void BeforeDrawImagesBackEvent ()
 Draw using opengl anything before drawing the front face culled images. More...
 
void AfterDrawImagesFrontEvent ()
 Draw using opengl anything after drawing the back face culled images. More...
 
void BeforeDrawImagesFrontEvent ()
 Draw using opengl anything before drawing the back face culled images. More...
 
- Public Member Functions inherited from PanosphereOverviewTool
 PanosphereOverviewTool (PanosphereOverviewToolHelper *helper)
 
virtual ~PanosphereOverviewTool ()
 
- Public Member Functions inherited from OverviewTool
 OverviewTool (OverviewToolHelper *helper)
 
virtual ~OverviewTool ()
 
- Public Member Functions inherited from Tool
 Tool (ToolHelper *helper)
 Construct keeping a pointer to a PreviewToolHelper. More...
 
virtual ~Tool ()
 
virtual void MouseMoveEvent (double x, double y, wxMouseEvent &e)
 Notify when the mouse pointer has moved over the panorama preview. More...
 
virtual void MouseButtonEvent (wxMouseEvent &e)
 Notify of a mouse button press on the panorama preview. More...
 
virtual void MouseWheelEvent (wxMouseEvent &e)
 Notify of a mouse wheel event on the panorama preview. More...
 
virtual void ImagesUnderMouseChangedEvent ()
 Notify when the images directly underneath the mouse pointer have changed. More...
 
virtual void KeypressEvent (int keycode, int modifiers, bool pressed)
 Notify of a Keypress event. More...
 
virtual void BeforeDrawImagesEvent ()
 Draw using OpenGL anything the tool requires underneath the images. More...
 
virtual void AfterDrawImagesEvent ()
 Draw (using OpenGL) images above the others. More...
 
virtual void ReallyAfterDrawImagesEvent ()
 Draw (using OpenGL) the overlays, e.g. crop highlights, guides. More...
 
virtual bool BeforeDrawImageEvent (unsigned int image)
 Draw what the tool requires just before a given image is drawn. More...
 
virtual void AfterDrawImageEvent (unsigned int image)
 Notification called just after the image was drawn normally. More...
 
virtual void MarkDirty ()
 
- Public Member Functions inherited from ProjectionGridTool
 ProjectionGridTool (ToolHelper *helper)
 
virtual ~ProjectionGridTool ()
 

Additional Inherited Members

- Protected Member Functions inherited from ProjectionGridTool
bool createTexture ()
 create the texture by iterating through each pixela and checking how much each pixel should be filled More...
 
- Protected Attributes inherited from Tool
ToolHelperhelper
 The PreviewToolHelper that uses the same preview window and panorama as the tool should. More...
 
- Protected Attributes inherited from ProjectionGridTool
MeshManager::MeshInfomesh_info
 
ToolHelperhelper_g
 
- Static Protected Attributes inherited from ProjectionGridTool
static bool texture_created = false
 
static unsigned int texture_num = 0
 

Detailed Description

Definition at line 63 of file ProjectionGridTool.h.

Constructor & Destructor Documentation

PanosphereOverviewProjectionGridTool::PanosphereOverviewProjectionGridTool ( PanosphereOverviewToolHelper helper)
inlineexplicit

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 120 of file ProjectionGridTool.cpp.

References PanosphereOverviewToolHelper::DRAW_OVER_IMAGES_BACK, PanosphereOverviewToolHelper::DRAW_OVER_IMAGES_FRONT, PanosphereOverviewToolHelper::DRAW_UNDER_IMAGES_BACK, PanosphereOverviewToolHelper::DRAW_UNDER_IMAGES_FRONT, and Tool::helper.

void PanosphereOverviewProjectionGridTool::AfterDrawImagesBackEvent ( )
virtual
void PanosphereOverviewProjectionGridTool::AfterDrawImagesFrontEvent ( )
virtual
void PanosphereOverviewProjectionGridTool::BeforeDrawImagesBackEvent ( )
virtual

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

Reimplemented from PanosphereOverviewTool.

Definition at line 128 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 132 of file ProjectionGridTool.cpp.


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