#include <TFView.h>
Definition at line 29 of file TFView.h.
Public Slots | |
virtual void | setVolume (VolumeSP vol) |
Set Volume. | |
Signals | |
void | tfChanged () |
Public Member Functions | |
TFView (QCanvas *canvas, QWidget *parent=0, const char *name=0, WFlags wf=0) | |
Construct. | |
virtual | ~TFView () |
Destruct. | |
void | setTF (TFBaseSP tf) |
set TF | |
Protected Member Functions | |
virtual void | resizeEvent (QResizeEvent *re) |
resize event | |
virtual void | contentsMousePressEvent (QMouseEvent *) |
virtual void | contentsMouseMoveEvent (QMouseEvent *) |
contents Mouse Move Event | |
Protected Attributes | |
QCanvasItem * | _picked |
QPoint | _lastPoint |
TFItemVec | _items |
TFBaseSP | _tf |
|
Construct.
Definition at line 36 of file TFView.cpp. References _items, _tf, TFElementBox::eval(), name, TFElementBox::PosType, PolygonEdit::setPoints(), TFItemVec::setTF(), size, TFElement::tfVec2, and gutz::vec2i. |
|
Destruct.
Definition at line 100 of file TFView.cpp. |
|
contents Mouse Move Event
Definition at line 139 of file TFView.cpp. References _lastPoint, _picked, and _tf. |
|
Definition at line 120 of file TFView.cpp. References _lastPoint, _picked, and CanvasItemListIter. |
|
resize event TODO: this should be handled externally!!! Definition at line 166 of file TFView.cpp. References _items, and TFItemVec::update(). |
|
set TF
Definition at line 157 of file TFView.cpp. References _items, and TFItemVec::setTF(). |
|
Set Volume.
Definition at line 109 of file TFView.cpp. References _items, and TFItemVec::update(). |
|
|
|
Definition at line 53 of file TFView.h. Referenced by resizeEvent(), setTF(), setVolume(), and TFView(). |
|
Definition at line 51 of file TFView.h. Referenced by contentsMouseMoveEvent(), and contentsMousePressEvent(). |
|
Definition at line 50 of file TFView.h. Referenced by contentsMouseMoveEvent(), and contentsMousePressEvent(). |
|
Definition at line 54 of file TFView.h. Referenced by contentsMouseMoveEvent(), and TFView(). |