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

Public Member Functions | |
| PreviewColorPickerTool (ToolHelper *helper) | |
| constructor | |
| void | Activate () |
| Switch on a tool. | |
| void | MouseButtonEvent (wxMouseEvent &e) |
| process mouse button events | |
Private Member Functions | |
| void | CalcCorrection (hugin_utils::FDiff2D pos) |
| void | CalcCorrectionForImage (unsigned int i, vigra::Point2D pos) |
Private Attributes | |
| double | m_red |
| double | m_blue |
| unsigned int | m_count |
In the selected region it calculates the new red multiplier and blue multiplier to get a grey region.
Definition at line 36 of file PreviewColorPickerTool.h.
|
|
constructor
Definition at line 40 of file PreviewColorPickerTool.h. |
|
|
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 41 of file PreviewColorPickerTool.cpp. References ToolHelper::NotifyMe(), and ToolHelper::SetStatusMessage(). |
|
|
||||||||||||
|
|
process mouse button events
Reimplemented from Tool. Definition at line 48 of file PreviewColorPickerTool.cpp. References CalcCorrection(), ToolHelper::GetMousePanoPosition(), ToolHelper::GetPreviewFrame(), ToolHelper::IsMouseOverPano(), m_blue, m_count, m_red, and GLPreviewFrame::UpdateGlobalWhiteBalance(). |
|
|
Definition at line 46 of file PreviewColorPickerTool.h. Referenced by CalcCorrection(), CalcCorrectionForImage(), and MouseButtonEvent(). |
|
|
Definition at line 47 of file PreviewColorPickerTool.h. Referenced by CalcCorrection(), CalcCorrectionForImage(), and MouseButtonEvent(). |
|
|
Definition at line 45 of file PreviewColorPickerTool.h. Referenced by CalcCorrection(), CalcCorrectionForImage(), and MouseButtonEvent(). |
1.3.9.1