Hugintrunk
0.1
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
hugin1
hugin
PreviewGuideTool.h
Go to the documentation of this file.
1
// -*- c-basic-offset: 4 -*-
2
11
/* This program is free software; you can redistribute it and/or
12
* modify it under the terms of the GNU General Public
13
* License as published by the Free Software Foundation; either
14
* version 2 of the License, or (at your option) any later version.
15
*
16
* This software is distributed in the hope that it will be useful,
17
* but WITHOUT ANY WARRANTY; without even the implied warranty of
18
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
19
* General Public License for more details.
20
*
21
* You should have received a copy of the GNU General Public
22
* License along with this software. If not, see
23
* <http://www.gnu.org/licenses/>.
24
*
25
*/
26
27
#ifndef _PREVIEWGUIDETOOL_H
28
#define _PREVIEWGUIDETOOL_H
29
30
#include "
Tool.h
"
31
34
class
PreviewGuideTool
:
public
PreviewTool
35
{
36
public
:
37
enum
Guides
38
{
39
NONE
=0,
40
THIRDS
=1,
41
GOLDENRATIO
=2,
42
DIAGONAL
=3,
43
DIAGONAL_METHOD
=4,
44
TRIANGLE_DOWN
=5,
45
TRIANGLE_UP
=6
46
};
48
explicit
PreviewGuideTool
(
PreviewToolHelper
*
helper
);
50
void
Activate
();
52
void
ReallyAfterDrawImagesEvent
();
54
void
SetGuideStyle
(
const
Guides
newGuideStyle);
56
const
Guides
GetGuideStyle
()
const
;
57
private
:
58
Guides
m_guide
;
59
};
60
61
#endif
PreviewGuideTool::PreviewGuideTool
PreviewGuideTool(PreviewToolHelper *helper)
constructor
Definition:
PreviewGuideTool.cpp:37
Tool.h
PreviewGuideTool::TRIANGLE_UP
Definition:
PreviewGuideTool.h:45
PreviewGuideTool::GetGuideStyle
const Guides GetGuideStyle() const
returns the current guide style
Definition:
PreviewGuideTool.cpp:206
PreviewGuideTool::ReallyAfterDrawImagesEvent
void ReallyAfterDrawImagesEvent()
draws the lines
Definition:
PreviewGuideTool.cpp:164
PreviewGuideTool::GOLDENRATIO
Definition:
PreviewGuideTool.h:41
Tool::helper
ToolHelper * helper
The PreviewToolHelper that uses the same preview window and panorama as the tool should.
Definition:
Tool.h:102
PreviewGuideTool
Draws guide lines over the panorama in fast preview window.
Definition:
PreviewGuideTool.h:34
PreviewTool
Definition:
Tool.h:111
PreviewGuideTool::NONE
Definition:
PreviewGuideTool.h:39
PreviewToolHelper
Definition:
ToolHelper.h:183
PreviewGuideTool::SetGuideStyle
void SetGuideStyle(const Guides newGuideStyle)
sets the guide style to the given style
Definition:
PreviewGuideTool.cpp:200
PreviewGuideTool::Guides
Guides
Definition:
PreviewGuideTool.h:37
PreviewGuideTool::THIRDS
Definition:
PreviewGuideTool.h:40
PreviewGuideTool::Activate
void Activate()
activate the tool
Definition:
PreviewGuideTool.cpp:41
PreviewGuideTool::DIAGONAL_METHOD
Definition:
PreviewGuideTool.h:43
PreviewGuideTool::TRIANGLE_DOWN
Definition:
PreviewGuideTool.h:44
PreviewGuideTool::DIAGONAL
Definition:
PreviewGuideTool.h:42
PreviewGuideTool::m_guide
Guides m_guide
Definition:
PreviewGuideTool.h:58
Generated on Sun Nov 17 2024 01:25:36 for Hugintrunk by
1.8.5