#include <SliceView.h>
Definition at line 29 of file SliceView.h.
Signals | |
| virtual void | pickPosChanged (int xp, int yp) |
| these are pixel positions! in the view, you gota do the transformation yourself | |
Public Member Functions | |
| SliceView (QCanvas *canvas, QWidget *parent=0, const char *name=0, WFlags f=0) | |
| construction | |
| virtual | ~SliceView () |
| destruction | |
| void | setZoom (float zoom) |
| float | getZoom () const |
| void | setPos (gutz::vec2f pos) |
| gutz::vec2f | getPos () const |
| gutz::vec2f | getAspect () const |
| int | getWidth () const |
| need these cuz scroll bars messup estimates | |
| int | getHeight () const |
Protected Member Functions | |
| void | contentsMousePressEvent (QMouseEvent *) |
| mouse press event | |
| void | contentsMouseMoveEvent (QMouseEvent *) |
| mouse press event | |
Protected Attributes | |
| float | _zoom |
| gutz::vec2f | _pos |
|
||||||||||||||||||||
|
construction
Definition at line 32 of file SliceView.cpp. References name, and gutz::vec2f_zero. |
|
|
destruction
Definition at line 42 of file SliceView.cpp. |
|
|
mouse press event
Definition at line 73 of file SliceView.cpp. References pickPosChanged(). |
|
|
mouse press event
Definition at line 64 of file SliceView.cpp. References pickPosChanged(). |
|
|
Definition at line 47 of file SliceView.cpp. References height, gutz::vec2f, and width. Referenced by SlicerWidget::setPickPos(), and SlicerWidget::setSlice(). |
|
|
Definition at line 45 of file SliceView.h. References height. Referenced by SlicerWidget::setPickPos(), and SlicerWidget::setSlice(). |
|
|
Definition at line 39 of file SliceView.h. References _pos. Referenced by SlicerWidget::setPickPos(), and SlicerWidget::setSlice(). |
|
|
need these cuz scroll bars messup estimates
Definition at line 44 of file SliceView.h. References width. Referenced by SlicerWidget::setPickPos(), and SlicerWidget::setSlice(). |
|
|
Definition at line 36 of file SliceView.h. References _zoom. Referenced by SlicerWidget::setPickPos(), and SlicerWidget::setSlice(). |
|
||||||||||||
|
these are pixel positions! in the view, you gota do the transformation yourself
Referenced by contentsMouseMoveEvent(), and contentsMousePressEvent(). |
|
|
Definition at line 38 of file SliceView.h. References _pos. |
|
|
Definition at line 35 of file SliceView.h. References _zoom. |
|
|
Definition at line 56 of file SliceView.h. |
|
|
Definition at line 55 of file SliceView.h. |