ImGraph
 All Classes Functions Variables Enumerations Pages
DefaultViewPort Class Reference
Inheritance diagram for DefaultViewPort:
ViewPort

Public Slots

void siftWindowOnLeft ()
 
void siftWindowOnRight ()
 
void siftWindowOnUp ()
 
void siftWindowOnDown ()
 
void resetZoom ()
 
void imgRegion ()
 
void ZoomIn ()
 
void ZoomOut ()
 
void loadMatrix ()
 
void saveView ()
 
QColor getPenColor () const
 
void setPenColor (QColor val)
 
float getPenSize () const
 
void setPenSize (float newSize)
 
void updateImage ()
 
cv::Mat getMatrix ()
 

Public Member Functions

 DefaultViewPort (MatrixViewer *centralWidget)
 
QWidget * getWidget ()
 
void writeSettings (QSettings &settings)
 
void readSettings (QSettings &settings)
 
double getRatio ()
 
void setRatio (int flags)
 
void updateImage (const cv::Mat arr)
 
void startDisplayInfo (QString text, int delayms)
 
void setSize (QSize size_)
 
void updateViewport ()
 

Public Attributes

boost::recursive_mutex _mtx
 

Protected Member Functions

void contextMenuEvent (QContextMenuEvent *event)
 
void resizeEvent (QResizeEvent *event)
 
void paintEvent (QPaintEvent *paintEventInfo)
 
void wheelEvent (QWheelEvent *event)
 
void mouseMoveEvent (QMouseEvent *event)
 
void mousePressEvent (QMouseEvent *event)
 
void mouseReleaseEvent (QMouseEvent *event)
 
void mouseDoubleClickEvent (QMouseEvent *event)
 
void drawLineTo (const QPointF &endPoint)
 
QPoint toImgCoord (QPointF src)
 

The documentation for this class was generated from the following files: