#include <MaskImageCtrl.h>
Public Types | |
| enum | ImageRotation { ROT0 = 0, ROT90, ROT180, ROT270 } |
| image rotation. More... | |
Public Member Functions | |
| MaskImageCtrl () | |
| ctor. | |
| bool | Create (wxWindow *parent, wxWindowID id=wxID_ANY, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxTAB_TRAVERSAL, const wxString &name=wxT("panel")) |
| void | Init (MaskEditorPanel *parent) |
| void | setPreviewOnly () |
| if called, the mouse handlers are deactivated | |
| void | setImage (const std::string &filename, HuginBase::MaskPolygonVector newMask, HuginBase::MaskPolygonVector masksToDraw, ImageRotation rot) |
| set the current image and mask list, this loads also the image from cache | |
| void | setNewMasks (HuginBase::MaskPolygonVector newMasks, HuginBase::MaskPolygonVector masksToDraw) |
| updates masks for currently selected image | |
| void | setCrop (HuginBase::SrcPanoImage::CropMode newCropMode, vigra::Rect2D newCropRect, bool isCentered, hugin_utils::FDiff2D center, bool isCircleCrop) |
| updates the crop mode and crop rect | |
| vigra::Rect2D | getCrop () |
| returns the current crop rect | |
| void | setActiveMask (unsigned int newMask, bool doUpdate=true) |
| mark mask with image as beeing editing | |
| HuginBase::MaskPolygonVector | getNewMask () const |
| returns the vector of all mask (including new created mask) | |
| void | selectAllMarkers () |
| select all points of active mask | |
| void | OnMouseMove (wxMouseEvent &mouse) |
| event handler when mouse is moving | |
| void | OnLeftMouseDown (wxMouseEvent &mouse) |
| event handler when left mouse button is pressed | |
| void | OnLeftMouseUp (wxMouseEvent &mouse) |
| event handler when right mouse button is released | |
| void | OnLeftMouseDblClick (wxMouseEvent &mouse) |
| event handler for left double click | |
| void | OnRightMouseDown (wxMouseEvent &mouse) |
| event handler when right mouse button is pressed | |
| void | OnRightMouseUp (wxMouseEvent &mouse) |
| event handler when right mouse button is released | |
| void | OnKeyUp (wxKeyEvent &e) |
| event handler for keyboard | |
| void | OnCaptureLost (wxMouseCaptureLostEvent &e) |
| event handler, when mouse capture is lost, e.g. | |
| void | OnKillFocus (wxFocusEvent &e) |
| event handler, when editor lost focus, mainly cancels creating new polygon | |
| void | startNewPolygon () |
| starts creating a new polygon | |
| wxSize | DoGetBestSize () const |
| returns size of currently scaled image | |
| void | SetMaskMode (bool newMaskMode) |
| sets the control to mask (newMaskMode=true) or crop (newMaskMode=false) mode | |
| void | setScale (double factor) |
| set the scaling factor for mask editing display. | |
| double | getScale () |
| return scale factor, 0 for autoscale | |
| ImageRotation | getCurrentRotation () |
| returns the current rotation of displayed image | |
| void | setDrawingActiveMasks (bool newDrawActiveMasks) |
| set if active masks should be drawn | |
| void | update () |
| initiate redraw | |
| void | SetUserColourPolygonNegative (wxColour newColour) |
| sets the colour for different parts | |
| void | SetUserColourPolygonPositive (wxColour newColour) |
| void | SetUserColourPointSelected (wxColour newColour) |
| void | SetUserColourPointUnselected (wxColour newColour) |
Protected Member Functions | |
| void | OnDraw (wxDC &dc) |
| drawing routine | |
| void | OnSize (wxSizeEvent &e) |
| handler called when size of control was changed | |
| 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 () |
| rescale the image | |
Private Types | |
| enum | ClickPos { CLICK_OUTSIDE, CLICK_INSIDE, CLICK_LEFT, CLICK_RIGHT, CLICK_TOP, CLICK_BOTTOM, CLICK_CIRCLE } |
| enum | MaskEditorState { NO_IMAGE = 0, NO_MASK, NO_SELECTION, POINTS_SELECTED, POINTS_MOVING, POINTS_DELETING, POINTS_ADDING, POLYGON_SELECTING, REGION_SELECTING, NEW_POLYGON_STARTED, NEW_POLYGON_CREATING, CROP_SHOWING, CROP_MOVING, CROP_CIRCLE_SCALING, CROP_LEFT_MOVING, CROP_RIGHT_MOVING, CROP_TOP_MOVING, CROP_BOTTOM_MOVING } |
| different states of the editor More... | |
Private Member Functions | |
| int | scale (int x) const |
| scale of width/height | |
| double | scale (double x) const |
| int | transform (int x) const |
| convert image coordinate to screen coordinates, considers additional added border | |
| double | transform (double x) const |
| wxPoint | transform (const hugin_utils::FDiff2D &p) const |
| int | invtransform (int x) const |
| translate screen coordinates to image coordinates, considers additional added border | |
| double | invtransform (double x) const |
| hugin_utils::FDiff2D | invtransform (const wxPoint &p) const |
| template<class T> | |
| T | applyRot (const T &p) const |
| template<class T> | |
| T | applyRotInv (const T &p) const |
| void | DrawPolygon (wxDC &dc, HuginBase::MaskPolygon poly, bool isSelected, bool drawMarker) |
| void | DrawSelectionRectangle () |
| void | DrawCrop (wxDC &dc) |
| void | DrawCrop () |
| void | FindPolygon (hugin_utils::FDiff2D p) |
| bool | SelectPointsInsideMouseRect (HuginBase::UIntSet &points, const bool considerSelectedOnly) |
| void | UpdateCrop (hugin_utils::FDiff2D delta) |
| ClickPos | GetClickPos (vigra::Point2D pos) |
| DECLARE_EVENT_TABLE () | |
Private Attributes | |
| wxBitmap | m_bitmap |
| wxBitmap | m_disabledBitmap |
| std::string | m_imageFilename |
| ImageRotation | m_imgRotation |
| wxSize | m_imageSize |
| wxSize | m_realSize |
| HuginBase::SrcPanoImage::CropMode | m_cropMode |
| vigra::Rect2D | m_cropRect |
| bool | m_cropCentered |
| bool | m_cropCircle |
| hugin_utils::FDiff2D | m_cropCenter |
| bool | m_showActiveMasks |
| bool | m_maskMode |
| MaskEditorState | m_maskEditState |
| double | m_scaleFactor |
| bool | m_fitToWindow |
| bool | m_previewOnly |
| MaskEditorPanel * | m_editPanel |
| HuginBase::MaskPolygonVector | m_imageMask |
| HuginBase::MaskPolygonVector | m_masksToDraw |
| unsigned int | m_activeMask |
| HuginBase::MaskPolygon | m_editingMask |
| HuginBase::UIntSet | m_selectedPoints |
| ImageCache::EntryPtr | m_img |
| wxPoint | m_dragStartPos |
| wxPoint | m_currentPos |
| wxColor | m_colour_polygon_negative |
| wxColor | m_colour_polygon_positive |
| wxColor | m_colour_point_selected |
| wxColor | m_colour_point_unselected |
This class handles all mask editing.
Definition at line 47 of file MaskImageCtrl.h.
|
|
Definition at line 270 of file MaskImageCtrl.h. Referenced by GetClickPos(). |
|
|
image rotation. Useful to display images depending on their roll setting. rotation is clockwise Definition at line 64 of file MaskImageCtrl.h. Referenced by getCurrentRotation(). |
|
|
different states of the editor
Definition at line 278 of file MaskImageCtrl.h. |
|
|
ctor.
Definition at line 52 of file MaskImageCtrl.h. References m_fitToWindow, m_maskEditState, m_scaleFactor, and NO_IMAGE. |
|
||||||||||
|
Definition at line 212 of file MaskImageCtrl.h. References m_realSize, ROT0, ROT180, ROT270, and ROT90. Referenced by DrawCrop(), DrawPolygon(), and OnDraw(). |
|
||||||||||
|
Definition at line 236 of file MaskImageCtrl.h. References m_realSize, ROT0, ROT180, ROT270, and ROT90. Referenced by OnLeftMouseDblClick(), OnLeftMouseDown(), OnLeftMouseUp(), OnMouseMove(), OnRightMouseDown(), OnRightMouseUp(), SelectPointsInsideMouseRect(), and UpdateCrop(). |
|
|
calculate new scale factor for this image
Definition at line 1415 of file MaskImageCtrl.cpp. References DEBUG_DEBUG, m_imgRotation, and ROT90. Referenced by rescaleImage(), and setScale(). |
|
||||||||||||||||||||||||||||
|
Definition at line 63 of file MaskImageCtrl.cpp. Referenced by MaskEditorPanelXmlHandler::DoCreateResource(). |
|
|
|
|
|
returns size of currently scaled image
Definition at line 1007 of file MaskImageCtrl.cpp. References m_imageSize. |
|
|
Definition at line 1071 of file MaskImageCtrl.cpp. Referenced by OnDraw(), OnLeftMouseDown(), OnLeftMouseUp(), and OnMouseMove(). |
|
|
Definition at line 1078 of file MaskImageCtrl.cpp. References applyRot(), hugin_utils::FDiff2D, m_cropMode, m_cropRect, scale(), and transform(). |
|
||||||||||||||||||||
|
Definition at line 1019 of file MaskImageCtrl.cpp. References applyRot(), HuginBase::MaskPolygon::getMaskPolygon(), HuginBase::MaskPolygon::getMaskType(), m_colour_point_selected, m_colour_point_unselected, m_colour_polygon_negative, m_colour_polygon_positive, m_selectedPoints, polygonPointSize, set_contains(), and transform(). Referenced by OnDraw(). |
|
|
Definition at line 1340 of file MaskImageCtrl.cpp. References m_currentPos, m_dragStartPos, OnDraw(), and scale(). Referenced by OnLeftMouseDown(), OnLeftMouseUp(), OnMouseMove(), OnRightMouseDown(), and OnRightMouseUp(). |
|
|
Definition at line 1356 of file MaskImageCtrl.cpp. References hugin_utils::FDiff2D, m_editPanel, m_imageMask, and MaskEditorPanel::SelectMask(). Referenced by OnLeftMouseUp(). |
|
|
Definition at line 220 of file MaskImageCtrl.cpp. References ClickPos, m_cropMode, m_cropRect, and maxSelectionDistance. Referenced by OnLeftMouseDown(), and OnMouseMove(). |
|
|
returns the current crop rect
Definition at line 75 of file MaskImageCtrl.h. Referenced by MaskEditorPanel::UpdateCrop(), and MaskEditorPanel::UpdateCropFromImage(). |
|
|
returns the current rotation of displayed image
Definition at line 122 of file MaskImageCtrl.h. References ImageRotation. Referenced by MaskEditorPanel::setImage(). |
|
|
returns the vector of all mask (including new created mask)
Definition at line 79 of file MaskImageCtrl.h. Referenced by MaskEditorPanel::AddMask(), and MaskEditorPanel::UpdateMask(). |
|
|
return scale factor, 0 for autoscale
Definition at line 118 of file MaskImageCtrl.h. References m_fitToWindow. |
|
|
get scale factor (calculates factor when fit to window is active)
Definition at line 1434 of file MaskImageCtrl.cpp. Referenced by invtransform(), rescaleImage(), scale(), and transform(). |
|
|
Definition at line 82 of file MaskImageCtrl.cpp. References m_editPanel. Referenced by MaskEditorPanel::Create(). |
|
|
Definition at line 201 of file MaskImageCtrl.h. References hugin_utils::FDiff2D, invtransform(), hugin_utils::TDiff2D< T >::x, and hugin_utils::TDiff2D< T >::y. |
|
|
Definition at line 198 of file MaskImageCtrl.h. References getScaleFactor(). |
|
|
translate screen coordinates to image coordinates, considers additional added border
Definition at line 195 of file MaskImageCtrl.h. References getScaleFactor(). Referenced by invtransform(), OnLeftMouseDblClick(), OnLeftMouseDown(), OnLeftMouseUp(), OnMouseMove(), OnRightMouseDown(), OnRightMouseUp(), SelectPointsInsideMouseRect(), and UpdateCrop(). |
|
|
event handler, when mouse capture is lost, e.g. user click outside of window cancels creating of new mask Definition at line 973 of file MaskImageCtrl.cpp. References OnKillFocus(). |
|
|
drawing routine
Definition at line 1107 of file MaskImageCtrl.cpp. References applyRot(), DrawCrop(), DrawPolygon(), hugin_utils::FDiff2D, HuginBase::MaskPolygon::getMaskPolygon(), m_bitmap, m_cropMode, m_cropRect, m_disabledBitmap, m_editingMask, m_imageMask, m_maskEditState, m_maskMode, m_masksToDraw, m_realSize, m_showActiveMasks, PI, POINTS_ADDING, POINTS_MOVING, scale(), and transform(). Referenced by DrawSelectionRectangle(), and update(). |
|
|
event handler for keyboard
Definition at line 928 of file MaskImageCtrl.cpp. References HuginBase::MaskPolygon::getMaskPolygon(), m_activeMask, m_editingMask, m_editPanel, m_imageMask, m_selectedPoints, NO_SELECTION, MaskEditorPanel::OnMaskDelete(), POINTS_SELECTED, HuginBase::MaskPolygon::removePoint(), and MaskEditorPanel::UpdateMask(). |
|
|
event handler, when editor lost focus, mainly cancels creating new polygon
Definition at line 979 of file MaskImageCtrl.cpp. References m_editingMask, m_maskEditState, m_selectedPoints, NEW_POLYGON_CREATING, NEW_POLYGON_STARTED, and update(). Referenced by OnCaptureLost(). |
|
|
event handler for left double click
Definition at line 744 of file MaskImageCtrl.cpp. References MaskEditorPanel::AddMask(), applyRotInv(), hugin_utils::FDiff2D, MainFrame::Get(), HuginBase::MaskPolygon::getMaskPolygon(), invtransform(), m_activeMask, m_editingMask, m_editPanel, m_imageMask, m_maskEditState, m_selectedPoints, NEW_POLYGON_CREATING, NEW_POLYGON_STARTED, HuginBase::MaskPolygon::removePoint(), and update(). |
|
|
event handler when left mouse button is pressed
Definition at line 469 of file MaskImageCtrl.cpp. References HuginBase::MaskPolygon::addPoint(), applyRotInv(), CLICK_BOTTOM, CLICK_CIRCLE, CLICK_INSIDE, CLICK_LEFT, CLICK_RIGHT, CLICK_TOP, CROP_SHOWING, DEBUG_DEBUG, DrawCrop(), DrawSelectionRectangle(), hugin_utils::FDiff2D, HuginBase::MaskPolygon::FindPointNearPos(), GetClickPos(), HuginBase::MaskPolygon::getMaskPolygon(), HuginBase::MaskPolygon::insertPoint(), invtransform(), m_cropMode, m_cropRect, m_currentPos, m_dragStartPos, m_editingMask, m_maskEditState, m_selectedPoints, maxSelectionDistance, NEW_POLYGON_STARTED, NO_MASK, NO_SELECTION, POINTS_SELECTED, SelectPointsInsideMouseRect(), update(), hugin_utils::TDiff2D< T >::x, and hugin_utils::TDiff2D< T >::y. |
|
|
|
|
event handler when right mouse button is pressed
Definition at line 789 of file MaskImageCtrl.cpp. References applyRotInv(), DrawSelectionRectangle(), hugin_utils::FDiff2D, fill_set(), HuginBase::MaskPolygon::getMaskPolygon(), invtransform(), HuginBase::MaskPolygon::isInside(), m_currentPos, m_dragStartPos, m_editingMask, m_maskEditState, m_selectedPoints, NO_SELECTION, POINTS_SELECTED, and update(). |
|
|
event handler when right mouse button is released
Definition at line 823 of file MaskImageCtrl.cpp. References MaskEditorPanel::AddMask(), applyRotInv(), DrawSelectionRectangle(), hugin_utils::FDiff2D, MainFrame::Get(), HuginBase::MaskPolygon::getMaskPolygon(), invtransform(), m_activeMask, m_currentPos, m_dragStartPos, m_editingMask, m_editPanel, m_imageMask, m_maskEditState, m_selectedPoints, maxSelectionDistance, HuginBase::MaskPolygon::movePointTo(), NEW_POLYGON_CREATING, NEW_POLYGON_STARTED, POINTS_DELETING, POINTS_MOVING, HuginBase::MaskPolygon::removePoint(), SelectPointsInsideMouseRect(), set_contains(), hugin_utils::sqr(), update(), MaskEditorPanel::UpdateMask(), hugin_utils::TDiff2D< T >::x, and hugin_utils::TDiff2D< T >::y. |
|
|
handler called when size of control was changed
Definition at line 1231 of file MaskImageCtrl.cpp. References DEBUG_TRACE, m_imageFilename, and setScale(). |
|
|
rescale the image
Definition at line 1242 of file MaskImageCtrl.cpp. References calcAutoScaleFactor(), getScaleFactor(), imageCacheEntry2wxImage(), m_bitmap, m_disabledBitmap, m_imageSize, m_img, m_imgRotation, m_maskEditState, m_realSize, m_scaleFactor, ROT180, ROT270, ROT90, and scale(). Referenced by setImage(), and setScale(). |
|
|
Definition at line 176 of file MaskImageCtrl.h. References getScaleFactor(). |
|
|
scale of width/height
Definition at line 173 of file MaskImageCtrl.h. References getScaleFactor(). Referenced by DrawCrop(), DrawSelectionRectangle(), OnDraw(), and rescaleImage(). |
|
|
select all points of active mask
Definition at line 212 of file MaskImageCtrl.cpp. References fill_set(), m_activeMask, m_imageMask, and m_selectedPoints. Referenced by MaskEditorPanel::AddMask(). |
|
||||||||||||
|
Definition at line 1370 of file MaskImageCtrl.cpp. References applyRotInv(), hugin_utils::FDiff2D, HuginBase::MaskPolygon::getMaskPolygon(), invtransform(), m_currentPos, m_dragStartPos, m_editingMask, m_selectedPoints, celeste::max(), celeste::min(), set_contains(), hugin_utils::TDiff2D< T >::x, and hugin_utils::TDiff2D< T >::y. Referenced by OnLeftMouseDown(), OnLeftMouseUp(), and OnRightMouseUp(). |
|
||||||||||||
|
mark mask with image as beeing editing
Definition at line 165 of file MaskImageCtrl.cpp. References m_activeMask, m_editingMask, m_imageFilename, m_imageMask, m_maskEditState, and m_selectedPoints. Referenced by setImage(), MaskEditorPanel::setMask(), SetMaskMode(), and setNewMasks(). |
|
||||||||||||||||||||||||
|
updates the crop mode and crop rect
Definition at line 156 of file MaskImageCtrl.cpp. References hugin_utils::FDiff2D, m_cropCenter, m_cropCentered, m_cropCircle, m_cropMode, and m_cropRect. Referenced by MaskEditorPanel::setImage(). |
|
|
set if active masks should be drawn
Definition at line 1439 of file MaskImageCtrl.cpp. References m_showActiveMasks, and update(). Referenced by MaskEditorPanel::Create(), and MaskEditorPanel::OnShowActiveMasks(). |
|
||||||||||||||||||||
|
set the current image and mask list, this loads also the image from cache
Definition at line 108 of file MaskImageCtrl.cpp. References DEBUG_TRACE, hugin_utils::FileExists(), m_bitmap, m_imageFilename, m_imageMask, m_img, m_imgRotation, m_maskEditState, m_masksToDraw, rescaleImage(), and setActiveMask(). Referenced by MaskLoadDialog::initValues(), and MaskEditorPanel::setImage(). |
|
|
sets the control to mask (newMaskMode=true) or crop (newMaskMode=false) mode
Definition at line 87 of file MaskImageCtrl.cpp. References m_maskEditState, m_maskMode, and setActiveMask(). Referenced by MaskEditorPanel::OnModeChanged(). |
|
||||||||||||
|
updates masks for currently selected image
Definition at line 147 of file MaskImageCtrl.cpp. References m_activeMask, m_imageMask, m_masksToDraw, and setActiveMask(). Referenced by MaskEditorPanel::setImage(), and MaskLoadDialog::UpdatePreviewImage(). |
|
|
if called, the mouse handlers are deactivated
Definition at line 67 of file MaskImageCtrl.h. References m_previewOnly. |
|
|
set the scaling factor for mask editing display.
Definition at line 1394 of file MaskImageCtrl.cpp. References calcAutoScaleFactor(), DEBUG_DEBUG, m_fitToWindow, m_imageSize, m_scaleFactor, and rescaleImage(). Referenced by MaskLoadDialog::initValues(), OnSize(), and MaskEditorPanel::OnZoom(). |
|
|
Definition at line 132 of file MaskImageCtrl.h. References m_colour_point_selected. Referenced by MaskEditorPanel::Create(), and MaskEditorPanel::OnColourChanged(). |
|
|
Definition at line 133 of file MaskImageCtrl.h. References m_colour_point_unselected. Referenced by MaskEditorPanel::Create(), and MaskEditorPanel::OnColourChanged(). |
|
|
sets the colour for different parts
Definition at line 130 of file MaskImageCtrl.h. References m_colour_polygon_negative. Referenced by MaskEditorPanel::Create(), and MaskEditorPanel::OnColourChanged(). |
|
|
Definition at line 131 of file MaskImageCtrl.h. References m_colour_polygon_positive. Referenced by MaskEditorPanel::Create(), and MaskEditorPanel::OnColourChanged(). |
|
|
starts creating a new polygon
Definition at line 999 of file MaskImageCtrl.cpp. References m_editingMask, m_maskEditState, and m_selectedPoints. Referenced by MaskEditorPanel::OnMaskAdd(). |
|
|
Definition at line 186 of file MaskImageCtrl.h. References hugin_utils::FDiff2D, transform(), hugin_utils::TDiff2D< T >::x, and hugin_utils::TDiff2D< T >::y. |
|
|
Definition at line 183 of file MaskImageCtrl.h. References getScaleFactor(). |
|
|
convert image coordinate to screen coordinates, considers additional added border
Definition at line 180 of file MaskImageCtrl.h. References getScaleFactor(). Referenced by DrawCrop(), DrawPolygon(), OnDraw(), and transform(). |
|
|
initiate redraw
Definition at line 1012 of file MaskImageCtrl.cpp. References OnDraw(). Referenced by OnKillFocus(), OnLeftMouseDblClick(), OnLeftMouseDown(), OnLeftMouseUp(), OnMouseMove(), OnRightMouseDown(), OnRightMouseUp(), and setDrawingActiveMasks(). |
|
|
Definition at line 259 of file MaskImageCtrl.cpp. References applyRotInv(), CROP_BOTTOM_MOVING, CROP_CIRCLE_SCALING, CROP_LEFT_MOVING, CROP_MOVING, CROP_RIGHT_MOVING, CROP_TOP_MOVING, hugin_utils::FDiff2D, invtransform(), m_cropCenter, m_cropRect, m_currentPos, m_dragStartPos, hugin_utils::roundi(), sqr(), hugin_utils::sqr(), hugin_utils::TDiff2D< T >::x, and hugin_utils::TDiff2D< T >::y. Referenced by OnLeftMouseUp(), and OnMouseMove(). |
|
|
Definition at line 308 of file MaskImageCtrl.h. Referenced by OnKeyUp(), OnLeftMouseDblClick(), OnRightMouseUp(), selectAllMarkers(), setActiveMask(), and setNewMasks(). |
|
|
Definition at line 151 of file MaskImageCtrl.h. Referenced by OnDraw(), rescaleImage(), and setImage(). |
|
|
Definition at line 323 of file MaskImageCtrl.h. Referenced by DrawPolygon(), and SetUserColourPointSelected(). |
|
|
Definition at line 324 of file MaskImageCtrl.h. Referenced by DrawPolygon(), and SetUserColourPointUnselected(). |
|
|
Definition at line 321 of file MaskImageCtrl.h. Referenced by DrawPolygon(), and SetUserColourPolygonNegative(). |
|
|
Definition at line 322 of file MaskImageCtrl.h. Referenced by DrawPolygon(), and SetUserColourPolygonPositive(). |
|
|
Definition at line 166 of file MaskImageCtrl.h. Referenced by setCrop(), and UpdateCrop(). |
|
|
Definition at line 164 of file MaskImageCtrl.h. Referenced by setCrop(). |
|
|
Definition at line 165 of file MaskImageCtrl.h. Referenced by setCrop(). |
|
|
Definition at line 162 of file MaskImageCtrl.h. Referenced by DrawCrop(), GetClickPos(), OnDraw(), OnLeftMouseDown(), and setCrop(). |
|
|
Definition at line 163 of file MaskImageCtrl.h. Referenced by DrawCrop(), GetClickPos(), OnDraw(), OnLeftMouseDown(), setCrop(), and UpdateCrop(). |
|
|
Definition at line 318 of file MaskImageCtrl.h. Referenced by DrawSelectionRectangle(), OnLeftMouseDown(), OnLeftMouseUp(), OnMouseMove(), OnRightMouseDown(), OnRightMouseUp(), SelectPointsInsideMouseRect(), and UpdateCrop(). |
|
|
Definition at line 152 of file MaskImageCtrl.h. Referenced by OnDraw(), and rescaleImage(). |
|
|
Definition at line 317 of file MaskImageCtrl.h. Referenced by DrawSelectionRectangle(), OnLeftMouseDown(), OnLeftMouseUp(), OnMouseMove(), OnRightMouseDown(), OnRightMouseUp(), SelectPointsInsideMouseRect(), and UpdateCrop(). |
|
|
Definition at line 310 of file MaskImageCtrl.h. Referenced by OnDraw(), OnKeyUp(), OnKillFocus(), OnLeftMouseDblClick(), OnLeftMouseDown(), OnLeftMouseUp(), OnMouseMove(), OnRightMouseDown(), OnRightMouseUp(), SelectPointsInsideMouseRect(), setActiveMask(), and startNewPolygon(). |
|
|
Definition at line 305 of file MaskImageCtrl.h. Referenced by FindPolygon(), Init(), OnKeyUp(), OnLeftMouseDblClick(), OnLeftMouseUp(), OnMouseMove(), and OnRightMouseUp(). |
|
|
Definition at line 302 of file MaskImageCtrl.h. Referenced by getScale(), MaskImageCtrl(), and setScale(). |
|
|
Definition at line 154 of file MaskImageCtrl.h. Referenced by OnSize(), setActiveMask(), and setImage(). |
|
|
Definition at line 306 of file MaskImageCtrl.h. Referenced by FindPolygon(), OnDraw(), OnKeyUp(), OnLeftMouseDblClick(), OnLeftMouseUp(), OnMouseMove(), OnRightMouseUp(), selectAllMarkers(), setActiveMask(), setImage(), and setNewMasks(). |
|
|
Definition at line 158 of file MaskImageCtrl.h. Referenced by DoGetBestSize(), rescaleImage(), and setScale(). |
|
|
Definition at line 314 of file MaskImageCtrl.h. Referenced by rescaleImage(), and setImage(). |
|
|
Definition at line 156 of file MaskImageCtrl.h. Referenced by calcAutoScaleFactor(), rescaleImage(), and setImage(). |
|
|
Definition at line 299 of file MaskImageCtrl.h. Referenced by MaskImageCtrl(), OnDraw(), OnKillFocus(), OnLeftMouseDblClick(), OnLeftMouseDown(), OnLeftMouseUp(), OnRightMouseDown(), OnRightMouseUp(), rescaleImage(), setActiveMask(), setImage(), SetMaskMode(), and startNewPolygon(). |
|
|
Definition at line 170 of file MaskImageCtrl.h. Referenced by OnDraw(), and SetMaskMode(). |
|
|
Definition at line 307 of file MaskImageCtrl.h. Referenced by OnDraw(), setImage(), and setNewMasks(). |
|
|
Definition at line 303 of file MaskImageCtrl.h. Referenced by setPreviewOnly(). |
|
|
Definition at line 160 of file MaskImageCtrl.h. Referenced by applyRot(), applyRotInv(), OnDraw(), and rescaleImage(). |
|
|
Definition at line 301 of file MaskImageCtrl.h. Referenced by MaskImageCtrl(), rescaleImage(), and setScale(). |
|
|
Definition at line 312 of file MaskImageCtrl.h. Referenced by DrawPolygon(), OnKeyUp(), OnKillFocus(), OnLeftMouseDblClick(), OnLeftMouseDown(), OnLeftMouseUp(), OnMouseMove(), OnRightMouseDown(), OnRightMouseUp(), selectAllMarkers(), SelectPointsInsideMouseRect(), setActiveMask(), and startNewPolygon(). |
|
|
Definition at line 168 of file MaskImageCtrl.h. Referenced by OnDraw(), and setDrawingActiveMasks(). |
1.3.9.1