|
Hugin trunk 0.1
|
brief description. More...
#include <CPImageCtrl.h>

Public Types | |
| enum | EditorState { NO_IMAGE =0 , NO_SELECTION , KNOWN_POINT_SELECTED , NEW_POINT_SELECTED , NEW_LINE_CREATING , SELECT_DELETE_REGION } |
| state machine for selection process: More... | |
| enum | ImageRotation { ROT0 =0 , ROT90 , ROT180 , ROT270 } |
| image rotation. More... | |
Protected Member Functions | |
| void | OnImageLoaded (ImageCache::EntryPtr entry, std::string filename, bool load_small) |
| void | OnSize (wxSizeEvent &e) |
| void | OnSizeFinished (wxTimerEvent &e) |
| void | OnKey (wxKeyEvent &e) |
| void | OnKeyDown (wxKeyEvent &e) |
| void | OnMouseLeave (wxMouseEvent &e) |
| void | OnMouseEnter (wxMouseEvent &e) |
| void | OnTimer (wxTimerEvent &e) |
| void | OnScrollWin (wxScrollWinEvent &e) |
| void | OnPaint (wxPaintEvent &e) |
| paint event | |
| bool | emit (CPEvent &ev) |
| helper func to emit a region | |
| double | getScaleFactor () const |
| get scale factor (calculates factor when fit to window is active) | |
| double | calcAutoScaleFactor (wxSize size) |
| calculate new scale factor for this image | |
| void | rescaleImage () |
Private Member Functions | |
| void | DrawSelectionRectangle (hugin_utils::FDiff2D pos1, hugin_utils::FDiff2D pos2) |
| EditorState | isOccupied (wxPoint mousePos, const hugin_utils::FDiff2D &point, unsigned int &pointNr) const |
| check if p is over a known point, if it is, pointNr contains the point | |
state machine for selection process:
The select region is temporarily disabled.. maybe I find use
for it later on..
format of this list:
- current state name
- possible next state
- conditions for next state
states:
- NO_IMAGE
- NO_SELECTION
- an image has been inserted
- NO_SELECTION nothing selected
- KNOWN_POINT_SELECTED
- mouse down on known point
- set from outside
- SELECT_DELETE_REGION
- mouse down on image
- KNOWN_POINT_SELECTED,
a known point is selected and can be moved around.
clients are notified about the movement, points can also
be switched.
- KNOWN_POINT_SELECTED
- selection of another point
- SELECT_DELETE_REGION
- mouse down on image
- NEW_POINT_SELECTED (can move new point), mouse up reports change,
movement can be tracked
- KNOWN_POINT_SELECTED
- mouse down on known point
- programatic change
- SELECT_DELETE_REGION
- mouse down on image
- NEW_LINE_CREATING mouse up reports new line
movement can be tracked
- SELECT_DELETE_REGION user can draw rectangle inside which all cp should be removed
- NO_SELECTION
| Enumerator | |
|---|---|
| NO_IMAGE | |
| NO_SELECTION | |
| KNOWN_POINT_SELECTED | |
| NEW_POINT_SELECTED | |
| NEW_LINE_CREATING | |
| SELECT_DELETE_REGION | |
Definition at line 220 of file CPImageCtrl.h.
image rotation.
Useful to display images depending on their roll setting. rotation is clockwise
| Enumerator | |
|---|---|
| ROT0 | |
| ROT90 | |
| ROT180 | |
| ROT270 | |
Definition at line 241 of file CPImageCtrl.h.
|
inline |
ctor.
Definition at line 224 of file CPImageCtrl.h.
| CPImageCtrl::~CPImageCtrl | ( | ) |
dtor.
Definition at line 738 of file CPImageCtrl.cpp.
References DEBUG_TRACE, m_CPSelectCursor, and threshold().
Definition at line 368 of file CPImageCtrl.h.
References m_imgRotation, m_realSize, ROT0, ROT180, ROT270, and ROT90.
Referenced by DisplayedControlPoint::Draw(), DisplayedControlPoint::DrawLine(), DisplayedControlPoint::DrawLineSegment(), DrawSelectionRectangle(), OnPaint(), and showPosition().
Definition at line 392 of file CPImageCtrl.h.
References m_imgRotation, m_realSize, ROT0, ROT180, ROT270, and ROT90.
Referenced by mouseMoveEvent(), mousePressLMBEvent(), mousePressRMBEvent(), mouseReleaseLMBEvent(), and mouseReleaseRMBEvent().
calculate new scale factor for this image
Definition at line 1526 of file CPImageCtrl.cpp.
References DEBUG_DEBUG, m_imgRotation, ROT270, ROT90, and threshold().
Referenced by rescaleImage(), and setScale().
| void CPImageCtrl::clearCtrlPointList | ( | ) |
clear internal control point list
Definition at line 1068 of file CPImageCtrl.cpp.
References editState, KNOWN_POINT_SELECTED, m_points, NO_SELECTION, selectedPointNr, and threshold().
Referenced by CPEditorPanel::UpdateDisplay().
| void CPImageCtrl::clearNewPoint | ( | ) |
clear new point
Definition at line 1078 of file CPImageCtrl.cpp.
References DEBUG_TRACE, editState, NO_IMAGE, and NO_SELECTION.
Referenced by CPEditorPanel::changeState().
| bool CPImageCtrl::Create | ( | wxWindow * | parent, |
| wxWindowID | id = wxID_ANY, |
||
| const wxPoint & | pos = wxDefaultPosition, |
||
| const wxSize & | size = wxDefaultSize, |
||
| long | style = wxTAB_TRAVERSAL, |
||
| const wxString & | name = "panel" |
||
| ) |
Definition at line 648 of file CPImageCtrl.cpp.
References editState, fitToWindow, huginApp::Get(), huginApp::GetXRCPath(), m_CPSelectCursor, m_editPanel, m_forceMagnifier, m_imgRotation, m_magImgCenter, m_mouseInWindow, m_resizeTimer, m_sameImage, m_searchRectWidth, m_showSearchArea, m_showTemplateArea, m_templateRectWidth, m_timer, mouseMoveEvent(), mousePressLMBEvent(), mousePressMMBEvent(), mousePressRMBEvent(), mouseReleaseLMBEvent(), mouseReleaseMMBEvent(), mouseReleaseRMBEvent(), NO_IMAGE, OnKey(), OnKeyDown(), OnMouseEnter(), OnMouseLeave(), OnPaint(), OnSize(), OnSizeFinished(), OnTimer(), pointColors, ROT0, scaleFactor, selectedPointNr, textColours, and threshold().
| void CPImageCtrl::deselect | ( | ) |
remove selection.
Definition at line 1104 of file CPImageCtrl.cpp.
References DEBUG_TRACE, editState, KNOWN_POINT_SELECTED, and NO_SELECTION.
Referenced by CPEditorPanel::ClearSelection(), and CPEditorPanel::OnCPListDeselect().
| wxSize CPImageCtrl::DoGetBestSize | ( | ) | const |
Definition at line 917 of file CPImageCtrl.cpp.
References imageSize, and threshold().
|
private |
Definition at line 1162 of file CPImageCtrl.cpp.
References applyRot(), m_overlay, roundP(), scale(), and threshold().
Referenced by mouseMoveEvent().
helper func to emit a region
Definition at line 1499 of file CPImageCtrl.cpp.
References threshold().
Referenced by mouseMoveEvent(), mousePressLMBEvent(), mouseReleaseLMBEvent(), mouseReleaseRMBEvent(), and OnKey().
return the size of the drawn bitmap (possible rotate is applied)
Definition at line 1808 of file CPImageCtrl.cpp.
References bitmap.
Referenced by DisplayedControlPoint::DrawLine(), and DisplayedControlPoint::DrawLineSegment().
|
inline |
Definition at line 250 of file CPImageCtrl.h.
References m_firstInvTrans.
Referenced by DisplayedControlPoint::DrawLine(), and DisplayedControlPoint::DrawLineSegment().
|
inline |
Definition at line 249 of file CPImageCtrl.h.
References m_firstTrans.
Referenced by DisplayedControlPoint::DrawLine(), and DisplayedControlPoint::DrawLineSegment().
Definition at line 412 of file CPImageCtrl.h.
References m_forceMagnifier.
Referenced by DisplayedControlPoint::Draw().
| HuginBase::ImageCache::ImageCacheRGB8Ptr CPImageCtrl::GetImg | ( | ) |
get pointer to image, for DisplayedControlPoint
Definition at line 1813 of file CPImageCtrl.cpp.
References m_img.
Referenced by DisplayedControlPoint::Draw().
| wxBitmap & CPImageCtrl::GetMagBitmap | ( | hugin_utils::FDiff2D | point | ) |
draw the magnified view of a selected control point
Definition at line 828 of file CPImageCtrl.cpp.
References DEBUG_TRACE, m_img, m_imgRotation, m_magImg, m_magImgCenter, m_magInvTrans, m_magTrans, ROT180, ROT270, ROT90, hugin_utils::roundi(), threshold(), vigra_ext::transformImageIntern(), HuginBase::PTools::Transform::transformImgCoord(), hugin_utils::TDiff2D< T >::x, and hugin_utils::TDiff2D< T >::y.
Referenced by DisplayedControlPoint::DrawTextMag().
Definition at line 411 of file CPImageCtrl.h.
References m_mouseInWindow.
Referenced by DisplayedControlPoint::Draw().
| hugin_utils::FDiff2D CPImageCtrl::getNewPoint | ( | ) |
get the new point
Definition at line 1710 of file CPImageCtrl.cpp.
References newPoint.
Referenced by CPEditorPanel::CreateNewPoint(), and CPEditorPanel::FineTuneNewPoint().
return the real size of the image in the control
Definition at line 418 of file CPImageCtrl.h.
References m_realSize.
Referenced by DisplayedControlPoint::DrawLine(), and DisplayedControlPoint::DrawLineSegment().
|
inline |
return scale factor, 0 for autoscale
Definition at line 289 of file CPImageCtrl.h.
References fitToWindow, and scaleFactor.
Referenced by DisplayedControlPoint::DrawTextMag(), and CPEditorPanel::OnZoom().
|
protected |
get scale factor (calculates factor when fit to window is active)
Definition at line 1546 of file CPImageCtrl.cpp.
References scaleFactor.
Referenced by invScale(), invScale(), OnPaint(), rescaleImage(), scale(), and scale().
|
inline |
Definition at line 251 of file CPImageCtrl.h.
References m_secondInvTrans.
Referenced by DisplayedControlPoint::DrawLineSegment().
| void CPImageCtrl::Init | ( | CPEditorPanel * | parent | ) |
Definition at line 731 of file CPImageCtrl.cpp.
References m_editPanel, m_magImgCenter, m_sameImage, and threshold().
Referenced by CPEditorPanel::Create().
|
inline |
Definition at line 344 of file CPImageCtrl.h.
References invScale(), hugin_utils::TDiff2D< T >::x, and hugin_utils::TDiff2D< T >::y.
Definition at line 352 of file CPImageCtrl.h.
References invScale(), and threshold().
Definition at line 341 of file CPImageCtrl.h.
References getScaleFactor().
Definition at line 338 of file CPImageCtrl.h.
References getScaleFactor().
Referenced by DisplayedControlPoint::CheckSelection(), invScale(), invScale(), DisplayedControlPoint::isOccupiedPos(), mouseMoveEvent(), mousePressLMBEvent(), mousePressRMBEvent(), mouseReleaseLMBEvent(), and mouseReleaseRMBEvent().
|
private |
check if p is over a known point, if it is, pointNr contains the point
Definition at line 1135 of file CPImageCtrl.cpp.
References KNOWN_POINT_SELECTED, m_points, NEW_POINT_SELECTED, and threshold().
Referenced by mouseMoveEvent(), and mousePressLMBEvent().
| bool CPImageCtrl::IsShowingLines | ( | ) | const |
Definition at line 1823 of file CPImageCtrl.cpp.
References m_showLines.
Referenced by DisplayedControlPoint::Draw(), and DisplayedControlPoint::IsDrawingLine().
calculate maximum delta that is allowed when scrolling
Definition at line 1753 of file CPImageCtrl.cpp.
References bitmap, and threshold().
Referenced by CPEditorPanel::OnCPEvent().
| void CPImageCtrl::mouseMoveEvent | ( | wxMouseEvent & | mouse | ) |
Definition at line 1181 of file CPImageCtrl.cpp.
References applyRotInv(), DEBUG_DEBUG, DrawSelectionRectangle(), editState, emit(), invScale(), isOccupied(), KNOWN_POINT_SELECTED, m_CPSelectCursor, m_img, m_mousePos, m_mouseScrollPos, m_points, m_realSize, m_selectedPoint, m_showSearchArea, NEW_LINE_CREATING, NEW_POINT_SELECTED, newPoint, NO_IMAGE, NO_SELECTION, rectStartPos, ScrollDelta(), CPEvent::SCROLLED, SELECT_DELETE_REGION, selectedPointNr, threshold(), and DisplayedControlPoint::UpdateControlPoint().
Referenced by Create().
| void CPImageCtrl::mousePressLMBEvent | ( | wxMouseEvent & | mouse | ) |
Definition at line 1291 of file CPImageCtrl.cpp.
References applyRotInv(), DEBUG_DEBUG, DEBUG_ERROR, editState, emit(), invScale(), isOccupied(), KNOWN_POINT_SELECTED, m_forceMagnifier, m_img, m_mousePos, m_points, m_realSize, m_sameImage, m_selectedPoint, m_timer, NEW_LINE_CREATING, NEW_POINT_SELECTED, newPoint, NO_IMAGE, SELECT_DELETE_REGION, selectedPointNr, DisplayedControlPoint::SetControl(), DisplayedControlPoint::StartLineControlPoint(), and threshold().
Referenced by Create().
| void CPImageCtrl::mousePressMMBEvent | ( | wxMouseEvent & | mouse | ) |
Definition at line 1435 of file CPImageCtrl.cpp.
References DEBUG_DEBUG, m_img, m_mouseScrollPos, and threshold().
Referenced by Create().
| void CPImageCtrl::mousePressRMBEvent | ( | wxMouseEvent & | mouse | ) |
Definition at line 1443 of file CPImageCtrl.cpp.
References applyRotInv(), editState, invScale(), KNOWN_POINT_SELECTED, m_img, m_realSize, NEW_POINT_SELECTED, NO_SELECTION, rectStartPos, SELECT_DELETE_REGION, and threshold().
Referenced by Create().
| void CPImageCtrl::mouseReleaseLMBEvent | ( | wxMouseEvent & | mouse | ) |
Definition at line 1363 of file CPImageCtrl.cpp.
References applyRotInv(), DEBUG_DEBUG, editState, emit(), DisplayedControlPoint::GetControlPoint(), DisplayedControlPoint::GetPos(), invScale(), KNOWN_POINT_SELECTED, m_img, m_points, m_realSize, m_selectedPoint, m_timer, CPEvent::NEW_LINE_ADDED, NEW_LINE_CREATING, NEW_POINT_SELECTED, newPoint, NO_IMAGE, NO_SELECTION, CPEvent::POINT_CHANGED, SELECT_DELETE_REGION, selectedPointNr, showPosition(), and threshold().
Referenced by Create().
| void CPImageCtrl::mouseReleaseMMBEvent | ( | wxMouseEvent & | mouse | ) |
| void CPImageCtrl::mouseReleaseRMBEvent | ( | wxMouseEvent & | mouse | ) |
Definition at line 1464 of file CPImageCtrl.cpp.
References applyRotInv(), DEBUG_DEBUG, editState, emit(), invScale(), m_img, m_overlay, m_realSize, NO_SELECTION, rectStartPos, CPEvent::RIGHT_CLICK, SELECT_DELETE_REGION, and threshold().
Referenced by Create().
|
protected |
Definition at line 971 of file CPImageCtrl.cpp.
References imageFilename, m_img, and rescaleImage().
Referenced by setImage().
|
protected |
Definition at line 1570 of file CPImageCtrl.cpp.
References CPEvent::CANCELED, DEBUG_DEBUG, DEBUG_TRACE, editState, emit(), KNOWN_POINT_SELECTED, m_editPanel, m_forceMagnifier, m_img, m_imgRotation, m_points, m_timer, NEW_POINT_SELECTED, newPoint, CPEvent::POINT_CHANGED, CPEvent::RIGHT_CLICK, ROT180, ROT270, ROT90, ScrollDelta(), CPEvent::SCROLLED, selectedPointNr, shift, DisplayedControlPoint::ShiftControlPoint(), and threshold().
Referenced by Create().
|
protected |
Definition at line 1680 of file CPImageCtrl.cpp.
References DEBUG_DEBUG, DEBUG_TRACE, m_img, m_mouseScrollPos, and threshold().
Referenced by Create().
|
protected |
Definition at line 1699 of file CPImageCtrl.cpp.
References DEBUG_TRACE, huginApp::Get(), and m_mouseInWindow.
Referenced by Create().
|
protected |
Definition at line 1691 of file CPImageCtrl.cpp.
References DEBUG_TRACE, m_mouseInWindow, and m_mousePos.
Referenced by Create().
|
protected |
paint event
Definition at line 746 of file CPImageCtrl.cpp.
References applyRot(), bitmap, DEBUG_DEBUG, DisplayedControlPoint::Draw(), editState, getScaleFactor(), KNOWN_POINT_SELECTED, m_img, m_mousePos, m_points, m_searchRectWidth, m_selectedPoint, m_showSearchArea, m_showTemplateArea, m_templateRectWidth, NEW_LINE_CREATING, NEW_POINT_SELECTED, newPoint, NO_IMAGE, NO_SELECTION, hugin_utils::roundi(), roundP(), scale(), SELECT_DELETE_REGION, selectedPointNr, threshold(), hugin_utils::TDiff2D< T >::x, and hugin_utils::TDiff2D< T >::y.
Referenced by Create().
|
protected |
Definition at line 1356 of file CPImageCtrl.cpp.
|
protected |
Definition at line 1551 of file CPImageCtrl.cpp.
References imageFilename, and m_resizeTimer.
Referenced by Create().
|
protected |
Definition at line 1560 of file CPImageCtrl.cpp.
References fitToWindow, imageFilename, and setScale().
Referenced by Create().
|
protected |
Definition at line 1349 of file CPImageCtrl.cpp.
References m_forceMagnifier, and m_img.
Referenced by Create().
|
protected |
Definition at line 981 of file CPImageCtrl.cpp.
References bitmap, calcAutoScaleFactor(), HuginBase::Color::CorrectImage(), DEBUG_DEBUG, editState, fitToWindow, huginApp::Get(), getScaleFactor(), huginApp::HasMonitorProfile(), imageCacheEntry2wxImage(), imageSize, m_img, m_imgRotation, m_realSize, NO_IMAGE, ROT0, ROT180, ROT270, ROT90, scale(), scaleFactor, and threshold().
Referenced by OnImageLoaded(), setImage(), and setScale().
|
inline |
Definition at line 360 of file CPImageCtrl.h.
References hugin_utils::roundi(), threshold(), hugin_utils::TDiff2D< T >::x, and hugin_utils::TDiff2D< T >::y.
Referenced by DisplayedControlPoint::Draw(), DisplayedControlPoint::DrawLine(), DisplayedControlPoint::DrawLineSegment(), DrawSelectionRectangle(), and OnPaint().
|
inline |
Definition at line 322 of file CPImageCtrl.h.
References scale(), hugin_utils::TDiff2D< T >::x, and hugin_utils::TDiff2D< T >::y.
Definition at line 330 of file CPImageCtrl.h.
References scale(), and threshold().
Definition at line 319 of file CPImageCtrl.h.
References getScaleFactor().
Definition at line 316 of file CPImageCtrl.h.
References getScaleFactor().
Referenced by DisplayedControlPoint::Draw(), DisplayedControlPoint::DrawLine(), DisplayedControlPoint::DrawLineSegment(), DrawSelectionRectangle(), OnPaint(), rescaleImage(), scale(), scale(), and showPosition().
scroll the window by delta pixels
Definition at line 1787 of file CPImageCtrl.cpp.
References threshold().
Referenced by mouseMoveEvent(), CPEditorPanel::OnCPEvent(), and OnKey().
select a point for usage
Definition at line 1087 of file CPImageCtrl.cpp.
References DEBUG_DEBUG, DEBUG_TRACE, editState, KNOWN_POINT_SELECTED, m_points, selectedPointNr, showPosition(), and threshold().
Referenced by CPEditorPanel::SelectLocalPoint(), and CPEditorPanel::UpdateDisplay().
| void CPImageCtrl::setCtrlPoint | ( | const HuginBase::ControlPoint & | cp, |
| const bool | mirrored | ||
| ) |
add control piont to internal cp list
Definition at line 1060 of file CPImageCtrl.cpp.
References m_points, pointColors, textColours, and threshold().
Referenced by CPEditorPanel::UpdateDisplay().
| void CPImageCtrl::setImage | ( | const std::string & | filename, |
| ImageRotation | rot | ||
| ) |
display img.
every CPImageCtrl has a wxBitmap with its current image
Definition at line 923 of file CPImageCtrl.cpp.
References bitmap, DEBUG_TRACE, editState, HUGIN_CONV_FILENAME, imageFilename, m_img, m_imgRequest, m_imgRotation, m_magImgCenter, m_sameImage, NO_IMAGE, NO_SELECTION, OnImageLoaded(), rescaleImage(), and threshold().
Referenced by CPEditorPanel::panoramaImagesChanged(), CPEditorPanel::setLeftImage(), and CPEditorPanel::setRightImage().
| void CPImageCtrl::setMagTransforms | ( | HuginBase::PTools::Transform * | magTrans, |
| HuginBase::PTools::Transform * | magInvTrans | ||
| ) |
Definition at line 960 of file CPImageCtrl.cpp.
References m_magInvTrans, m_magTrans, and threshold().
Referenced by CPEditorPanel::Create().
| void CPImageCtrl::setNewPoint | ( | const hugin_utils::FDiff2D & | p | ) |
set new point to a specific point
Definition at line 1717 of file CPImageCtrl.cpp.
References DEBUG_DEBUG, editState, NEW_POINT_SELECTED, newPoint, showPosition(), hugin_utils::TDiff2D< T >::x, and hugin_utils::TDiff2D< T >::y.
Referenced by CPEditorPanel::FineTuneNewPoint().
Definition at line 966 of file CPImageCtrl.cpp.
References m_sameImage, and threshold().
Referenced by CPEditorPanel::UpdateDisplay().
set the scaling factor for cp display.
| factor | zoom factor, 0 means fit to window. |
Definition at line 1509 of file CPImageCtrl.cpp.
References calcAutoScaleFactor(), DEBUG_DEBUG, fitToWindow, imageSize, rescaleImage(), and scaleFactor.
Referenced by OnSizeFinished(), and CPEditorPanel::OnZoom().
| void CPImageCtrl::setTransforms | ( | HuginBase::PTools::Transform * | firstTrans, |
| HuginBase::PTools::Transform * | firstInvTrans, | ||
| HuginBase::PTools::Transform * | secondInvTrans | ||
| ) |
Definition at line 953 of file CPImageCtrl.cpp.
References m_firstInvTrans, m_firstTrans, m_secondInvTrans, and threshold().
Referenced by CPEditorPanel::Create().
Definition at line 1818 of file CPImageCtrl.cpp.
References m_showLines, and threshold().
Referenced by CPEditorPanel::Create(), and CPEditorPanel::OnShowLinesCheckbox().
| void CPImageCtrl::showPosition | ( | hugin_utils::FDiff2D | point, |
| bool | warpPointer = false |
||
| ) |
Show point x, y.
Scrolls the windows so that x,y is shown in the center if warpPointer is true, the mouse pointer is moved to that position as well
Definition at line 1114 of file CPImageCtrl.cpp.
References applyRot(), DEBUG_DEBUG, hugin_utils::roundi(), scale(), threshold(), hugin_utils::TDiff2D< T >::x, and hugin_utils::TDiff2D< T >::y.
Referenced by mouseReleaseLMBEvent(), selectPoint(), and setNewPoint().
show/hide the search area rectangle
Definition at line 1732 of file CPImageCtrl.cpp.
References bitmap, DEBUG_DEBUG, HUGIN_FT_SEARCH_AREA_PERCENT, m_mousePos, m_realSize, m_searchRectWidth, m_showSearchArea, and threshold().
Referenced by CPEditorPanel::changeState().
Definition at line 1744 of file CPImageCtrl.cpp.
References HUGIN_FT_TEMPLATE_SIZE, m_showTemplateArea, m_templateRectWidth, and threshold().
Referenced by CPEditorPanel::changeState().
|
private |
Definition at line 452 of file CPImageCtrl.h.
Referenced by GetBitmapSize(), MaxScrollDelta(), OnPaint(), rescaleImage(), setImage(), and showSearchArea().
|
private |
Definition at line 488 of file CPImageCtrl.h.
Referenced by clearCtrlPointList(), clearNewPoint(), Create(), deselect(), mouseMoveEvent(), mousePressLMBEvent(), mousePressRMBEvent(), mouseReleaseLMBEvent(), mouseReleaseRMBEvent(), OnKey(), OnPaint(), rescaleImage(), selectPoint(), setImage(), and setNewPoint().
|
private |
Definition at line 501 of file CPImageCtrl.h.
Referenced by Create(), getScale(), OnSizeFinished(), rescaleImage(), and setScale().
|
private |
Definition at line 453 of file CPImageCtrl.h.
Referenced by OnImageLoaded(), OnSize(), OnSizeFinished(), and setImage().
|
private |
Definition at line 455 of file CPImageCtrl.h.
Referenced by DoGetBestSize(), rescaleImage(), and setScale().
|
private |
Definition at line 470 of file CPImageCtrl.h.
Referenced by Create(), mouseMoveEvent(), and ~CPImageCtrl().
|
private |
Definition at line 516 of file CPImageCtrl.h.
|
private |
Definition at line 491 of file CPImageCtrl.h.
Referenced by getFirstInvTrans(), and setTransforms().
|
private |
Definition at line 490 of file CPImageCtrl.h.
Referenced by getFirstTrans(), and setTransforms().
|
private |
Definition at line 524 of file CPImageCtrl.h.
Referenced by Create(), GetForceMagnifier(), mousePressLMBEvent(), OnKey(), and OnTimer().
|
private |
Definition at line 520 of file CPImageCtrl.h.
Referenced by GetImg(), GetMagBitmap(), mouseMoveEvent(), mousePressLMBEvent(), mousePressMMBEvent(), mousePressRMBEvent(), mouseReleaseLMBEvent(), mouseReleaseRMBEvent(), OnImageLoaded(), OnKey(), OnKeyDown(), OnPaint(), OnTimer(), rescaleImage(), and setImage().
|
private |
Definition at line 521 of file CPImageCtrl.h.
Referenced by setImage().
|
private |
Definition at line 518 of file CPImageCtrl.h.
Referenced by applyRot(), applyRotInv(), calcAutoScaleFactor(), Create(), GetMagBitmap(), OnKey(), rescaleImage(), and setImage().
|
private |
Definition at line 461 of file CPImageCtrl.h.
Referenced by GetMagBitmap().
|
private |
Definition at line 462 of file CPImageCtrl.h.
Referenced by Create(), GetMagBitmap(), Init(), and setImage().
|
private |
Definition at line 495 of file CPImageCtrl.h.
Referenced by GetMagBitmap(), and setMagTransforms().
|
private |
Definition at line 494 of file CPImageCtrl.h.
Referenced by GetMagBitmap(), and setMagTransforms().
|
private |
Definition at line 523 of file CPImageCtrl.h.
Referenced by Create(), GetMouseInWindow(), OnMouseEnter(), and OnMouseLeave().
|
private |
Definition at line 506 of file CPImageCtrl.h.
Referenced by mouseMoveEvent(), mousePressLMBEvent(), OnMouseLeave(), OnPaint(), and showSearchArea().
|
private |
Definition at line 507 of file CPImageCtrl.h.
Referenced by mouseMoveEvent(), mousePressMMBEvent(), and OnKeyDown().
|
private |
Definition at line 459 of file CPImageCtrl.h.
Referenced by DrawSelectionRectangle(), and mouseReleaseRMBEvent().
|
private |
Definition at line 468 of file CPImageCtrl.h.
Referenced by clearCtrlPointList(), isOccupied(), mouseMoveEvent(), mousePressLMBEvent(), mouseReleaseLMBEvent(), OnKey(), OnPaint(), selectPoint(), and setCtrlPoint().
|
private |
Definition at line 457 of file CPImageCtrl.h.
Referenced by applyRot(), applyRotInv(), GetRealImageSize(), mouseMoveEvent(), mousePressLMBEvent(), mousePressRMBEvent(), mouseReleaseLMBEvent(), mouseReleaseRMBEvent(), rescaleImage(), and showSearchArea().
|
private |
Definition at line 466 of file CPImageCtrl.h.
|
private |
true, if in control point tab the same image is selected 2 times in this case a special treatment for creating line control points is activated
Definition at line 481 of file CPImageCtrl.h.
Referenced by Create(), Init(), mousePressLMBEvent(), setImage(), and setSameImage().
|
private |
Definition at line 471 of file CPImageCtrl.h.
|
private |
Definition at line 504 of file CPImageCtrl.h.
Referenced by Create(), OnPaint(), and showSearchArea().
|
private |
Definition at line 492 of file CPImageCtrl.h.
Referenced by getSecondInvTrans(), and setTransforms().
|
private |
Definition at line 476 of file CPImageCtrl.h.
Referenced by mouseMoveEvent(), mousePressLMBEvent(), mouseReleaseLMBEvent(), and OnPaint().
Definition at line 464 of file CPImageCtrl.h.
Referenced by IsShowingLines(), and ShowLines().
|
private |
Definition at line 503 of file CPImageCtrl.h.
Referenced by Create(), mouseMoveEvent(), OnPaint(), and showSearchArea().
|
private |
Definition at line 509 of file CPImageCtrl.h.
Referenced by Create(), OnPaint(), and showTemplateArea().
|
private |
Definition at line 510 of file CPImageCtrl.h.
Referenced by Create(), OnPaint(), and showTemplateArea().
|
private |
Definition at line 525 of file CPImageCtrl.h.
Referenced by Create(), mousePressLMBEvent(), mouseReleaseLMBEvent(), and OnKey().
|
private |
Definition at line 477 of file CPImageCtrl.h.
Referenced by getNewPoint(), mouseMoveEvent(), mousePressLMBEvent(), mouseReleaseLMBEvent(), OnKey(), OnPaint(), and setNewPoint().
|
private |
Definition at line 498 of file CPImageCtrl.h.
Referenced by Create(), and setCtrlPoint().
|
private |
Definition at line 484 of file CPImageCtrl.h.
Referenced by mouseMoveEvent(), mousePressRMBEvent(), and mouseReleaseRMBEvent().
|
private |
Definition at line 500 of file CPImageCtrl.h.
Referenced by Create(), getScale(), getScaleFactor(), rescaleImage(), and setScale().
Definition at line 474 of file CPImageCtrl.h.
Referenced by clearCtrlPointList(), Create(), mouseMoveEvent(), mousePressLMBEvent(), mouseReleaseLMBEvent(), OnKey(), OnPaint(), and selectPoint().
|
private |
Definition at line 499 of file CPImageCtrl.h.
Referenced by Create(), and setCtrlPoint().