#include <PreviewGuideTool.h>
Inheritance diagram for PreviewGuideTool:

Public Types | |
| enum | Guides { NONE = 0, THIRDS = 1, GOLDENRATIO = 2, DIAGONAL = 3, DIAGONAL_METHOD = 4, TRIANGLE_DOWN = 5, TRIANGLE_UP = 6 } |
Public Member Functions | |
| PreviewGuideTool (PreviewToolHelper *helper) | |
| constructor | |
| void | Activate () |
| activate the tool | |
| void | ReallyAfterDrawImagesEvent () |
| draws the lines | |
| void | SetGuideStyle (const Guides newGuideStyle) |
| sets the guide style to the given style | |
| const Guides | GetGuideStyle () const |
| returns the current guide style | |
Private Attributes | |
| Guides | m_guide |
Definition at line 34 of file PreviewGuideTool.h.
|
|
Definition at line 37 of file PreviewGuideTool.h. Referenced by GetGuideStyle(). |
|
|
constructor
Definition at line 34 of file PreviewGuideTool.cpp. |
|
|
activate the tool
Implements Tool. Definition at line 38 of file PreviewGuideTool.cpp. References ToolHelper::NotifyMe(). |
|
|
returns the current guide style
Definition at line 201 of file PreviewGuideTool.cpp. References Guides. |
|
|
draws the lines
Reimplemented from Tool. Definition at line 161 of file PreviewGuideTool.cpp. References DIAGONAL, DIAGONAL_METHOD, DrawDiagonal(), DrawDiagonalMethod(), DrawGoldenRatio(), DrawThirds(), DrawTriangle(), ViewState::GetOptions(), HuginBase::PanoramaOptions::getROI(), ToolHelper::GetViewStatePtr(), GOLDENRATIO, m_guide, THIRDS, TRIANGLE_DOWN, and TRIANGLE_UP. |
|
|
sets the guide style to the given style
Definition at line 195 of file PreviewGuideTool.cpp. References ToolHelper::GetViewStatePtr(), m_guide, and ViewState::Redraw(). Referenced by GLPreviewFrame::MakePreviewTools(), and GLPreviewFrame::OnGuideChanged(). |
|
|
Definition at line 58 of file PreviewGuideTool.h. Referenced by ReallyAfterDrawImagesEvent(), and SetGuideStyle(). |
1.3.9.1