![]() |
![]() |
#include <Iguana/GLBrowsers/interface/Ig3DVec2fControl.h>
Public Slots | |
virtual void | setValue (float x, float y) |
virtual void | setValue (const SbVec2f &vec) |
Public Member Functions | |
SbVec2f | change (void) const |
IgQtRangeControlFloat * | control (void) const |
SoSFVec2f * | field (void) const |
SbVec2f | fieldValue (void) const |
Ig3DVec2fControl (IgControlCategory *pane, QString label, QString labels="X:Y") | |
bool | isChanged (void) const |
void | setField (SoSFVec2f *field) |
SbVec2f | value (void) const |
float | xChange (void) const |
IgQtRangeControlFloat * | xControl (void) const |
float | xValue (void) const |
float | yChange (void) const |
IgQtRangeControlFloat * | yControl (void) const |
float | yValue (void) const |
Protected Member Functions | |
virtual void | applyValue (void) |
virtual void | updateValue (void) |
Definition at line 17 of file Ig3DVec2fControl.h.
Ig3DVec2fControl::Ig3DVec2fControl | ( | IgControlCategory * | pane, | |
QString | label, | |||
QString | labels = "X:Y" | |||
) |
Reimplemented from Ig3DVectorBaseControl.
Definition at line 97 of file Ig3DVec2fControl.cc.
References field(), and value().
SbVec2f Ig3DVec2fControl::change | ( | void | ) | const |
IgQtRangeControlFloat * Ig3DVec2fControl::control | ( | void | ) | const |
Definition at line 27 of file Ig3DVec2fControl.cc.
Referenced by xControl(), and yControl().
00028 { return control (0); }
SoSFVec2f * Ig3DVec2fControl::field | ( | void | ) | const |
Reimplemented from Ig3DFieldControl.
Definition at line 78 of file Ig3DVec2fControl.cc.
References Ig3DFieldControl::field().
Referenced by applyValue(), and fieldValue().
00079 { return static_cast<SoSFVec2f *> (Ig3DFieldControl::field ()); }
SbVec2f Ig3DVec2fControl::fieldValue | ( | void | ) | const |
Definition at line 86 of file Ig3DVec2fControl.cc.
References ASSERT, and field().
Referenced by updateValue().
Reimplemented from Ig3DVectorBaseControl.
void Ig3DVec2fControl::setField | ( | SoSFVec2f * | field | ) |
Definition at line 82 of file Ig3DVec2fControl.cc.
References Ig3DFieldControl::setField().
00083 { Ig3DFieldControl::setField (field); }
void Ig3DVec2fControl::setValue | ( | float | x, | |
float | y | |||
) | [virtual, slot] |
Definition at line 58 of file Ig3DVec2fControl.cc.
References setValue().
00059 { setValue (SbVec2f (newx, newy)); }
void Ig3DVec2fControl::setValue | ( | const SbVec2f & | vec | ) | [virtual, slot] |
Definition at line 54 of file Ig3DVec2fControl.cc.
References Ig3DVectorBaseControl::setValues().
Referenced by setValue(), and updateValue().
00055 { setValues (newval.getValue (), 2); }
Reimplemented from Ig3DVectorBaseControl.
Definition at line 93 of file Ig3DVec2fControl.cc.
References fieldValue(), and setValue().
00094 { setValue (fieldValue ()); }
SbVec2f Ig3DVec2fControl::value | ( | void | ) | const |
Definition at line 50 of file Ig3DVec2fControl.cc.
References xValue(), and yValue().
Referenced by applyValue().
float Ig3DVec2fControl::xChange | ( | void | ) | const |
Definition at line 64 of file Ig3DVec2fControl.cc.
References IgQtRangeValue< T >::valueChange(), and xControl().
Referenced by change().
00065 { return xControl ()->valueChange (); }
IgQtRangeControlFloat * Ig3DVec2fControl::xControl | ( | void | ) | const |
float Ig3DVec2fControl::xValue | ( | void | ) | const |
Definition at line 42 of file Ig3DVec2fControl.cc.
References IgQtRangeValue< T >::value(), and xControl().
Referenced by value().
float Ig3DVec2fControl::yChange | ( | void | ) | const |
Definition at line 68 of file Ig3DVec2fControl.cc.
References IgQtRangeValue< T >::valueChange(), and yControl().
Referenced by change().
00069 { return yControl ()->valueChange (); }
IgQtRangeControlFloat * Ig3DVec2fControl::yControl | ( | void | ) | const |
float Ig3DVec2fControl::yValue | ( | void | ) | const |
Definition at line 46 of file Ig3DVec2fControl.cc.
References IgQtRangeValue< T >::value(), and yControl().
Referenced by value().