![]() |
![]() |
#include <Iguana/GLBrowsers/interface/Ig3DVec4fControl.h>
Public Slots | |
virtual void | setValue (float x, float y, float z, float w) |
virtual void | setValue (const SbVec4f &vec) |
Public Member Functions | |
SbVec4f | change (void) const |
IgQtRangeControlFloat * | control (void) const |
SoSFVec4f * | field (void) const |
SbVec4f | fieldValue (void) const |
Ig3DVec4fControl (IgControlCategory *pane, QString label, QString labels="X:Y:Z:W") | |
bool | isChanged (void) const |
void | setField (SoSFVec4f *field) |
SbVec4f | value (void) const |
float | wChange (void) const |
IgQtRangeControlFloat * | wControl (void) const |
float | wValue (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 |
float | zChange (void) const |
IgQtRangeControlFloat * | zControl (void) const |
float | zValue (void) const |
Protected Member Functions | |
virtual void | applyValue (void) |
virtual void | updateValue (void) |
Definition at line 17 of file Ig3DVec4fControl.h.
Ig3DVec4fControl::Ig3DVec4fControl | ( | IgControlCategory * | pane, | |
QString | label, | |||
QString | labels = "X:Y:Z:W" | |||
) |
Reimplemented from Ig3DVectorBaseControl.
Definition at line 121 of file Ig3DVec4fControl.cc.
References field(), and value().
SbVec4f Ig3DVec4fControl::change | ( | void | ) | const |
IgQtRangeControlFloat * Ig3DVec4fControl::control | ( | void | ) | const |
Definition at line 27 of file Ig3DVec4fControl.cc.
Referenced by wControl(), xControl(), yControl(), and zControl().
00028 { return control (0); }
SoSFVec4f * Ig3DVec4fControl::field | ( | void | ) | const |
Reimplemented from Ig3DFieldControl.
Definition at line 102 of file Ig3DVec4fControl.cc.
References Ig3DFieldControl::field().
Referenced by applyValue(), and fieldValue().
00103 { return static_cast<SoSFVec4f *> (Ig3DFieldControl::field ()); }
SbVec4f Ig3DVec4fControl::fieldValue | ( | void | ) | const |
Definition at line 110 of file Ig3DVec4fControl.cc.
References ASSERT, and field().
Referenced by updateValue().
Reimplemented from Ig3DVectorBaseControl.
void Ig3DVec4fControl::setField | ( | SoSFVec4f * | field | ) |
Definition at line 106 of file Ig3DVec4fControl.cc.
References Ig3DFieldControl::setField().
00107 { Ig3DFieldControl::setField (field); }
void Ig3DVec4fControl::setValue | ( | float | x, | |
float | y, | |||
float | z, | |||
float | w | |||
) | [virtual, slot] |
Definition at line 74 of file Ig3DVec4fControl.cc.
References setValue().
00075 { setValue (SbVec4f (newx, newy, newz, neww)); }
void Ig3DVec4fControl::setValue | ( | const SbVec4f & | vec | ) | [virtual, slot] |
Definition at line 70 of file Ig3DVec4fControl.cc.
References Ig3DVectorBaseControl::setValues().
Referenced by setValue(), and updateValue().
00071 { setValues (newval.getValue (), 4); }
Reimplemented from Ig3DVectorBaseControl.
Definition at line 117 of file Ig3DVec4fControl.cc.
References fieldValue(), and setValue().
00118 { setValue (fieldValue ()); }
SbVec4f Ig3DVec4fControl::value | ( | void | ) | const |
float Ig3DVec4fControl::wChange | ( | void | ) | const |
Definition at line 92 of file Ig3DVec4fControl.cc.
References IgQtRangeValue< T >::valueChange(), and wControl().
Referenced by change().
00093 { return wControl ()->valueChange (); }
IgQtRangeControlFloat * Ig3DVec4fControl::wControl | ( | void | ) | const |
float Ig3DVec4fControl::wValue | ( | void | ) | const |
Definition at line 62 of file Ig3DVec4fControl.cc.
References IgQtRangeValue< T >::value(), and wControl().
Referenced by value().
float Ig3DVec4fControl::xChange | ( | void | ) | const |
Definition at line 80 of file Ig3DVec4fControl.cc.
References IgQtRangeValue< T >::valueChange(), and xControl().
Referenced by change().
00081 { return xControl ()->valueChange (); }
IgQtRangeControlFloat * Ig3DVec4fControl::xControl | ( | void | ) | const |
float Ig3DVec4fControl::xValue | ( | void | ) | const |
Definition at line 50 of file Ig3DVec4fControl.cc.
References IgQtRangeValue< T >::value(), and xControl().
Referenced by value().
float Ig3DVec4fControl::yChange | ( | void | ) | const |
Definition at line 84 of file Ig3DVec4fControl.cc.
References IgQtRangeValue< T >::valueChange(), and yControl().
Referenced by change().
00085 { return yControl ()->valueChange (); }
IgQtRangeControlFloat * Ig3DVec4fControl::yControl | ( | void | ) | const |
float Ig3DVec4fControl::yValue | ( | void | ) | const |
Definition at line 54 of file Ig3DVec4fControl.cc.
References IgQtRangeValue< T >::value(), and yControl().
Referenced by value().
float Ig3DVec4fControl::zChange | ( | void | ) | const |
Definition at line 88 of file Ig3DVec4fControl.cc.
References IgQtRangeValue< T >::valueChange(), and zControl().
Referenced by change().
00089 { return zControl ()->valueChange (); }
IgQtRangeControlFloat * Ig3DVec4fControl::zControl | ( | void | ) | const |
float Ig3DVec4fControl::zValue | ( | void | ) | const |
Definition at line 58 of file Ig3DVec4fControl.cc.
References IgQtRangeValue< T >::value(), and zControl().
Referenced by value().