#include <Iguana/GLBrowsers/interface/Ig3DCameraRotControl.h>
Public Member Functions | |
Ig3DCameraRotControl (IgControlCategory *pane, QString label) | |
Protected Member Functions | |
virtual void | applyValue (void) |
Apply the control's current value to the field. |
Definition at line 16 of file Ig3DCameraRotControl.h.
Ig3DCameraRotControl::Ig3DCameraRotControl | ( | IgControlCategory * | pane, | |
QString | label | |||
) |
Definition at line 18 of file Ig3DCameraRotControl.cc.
References reco::fitHelper::add(), Ig3DVectorControl::xControl(), Ig3DVectorControl::yControl(), and Ig3DVectorControl::zControl().
00020 : Ig3DRotationControl (pane, label) 00021 { 00022 QWhatsThis::add (xControl ()->widget (), 00023 "Rotate camera around X-axis"); 00024 QWhatsThis::add (yControl ()->widget (), 00025 "Rotate camera around Y-axis"); 00026 QWhatsThis::add (zControl ()->widget (), 00027 "Rotate camera around Z-axis"); 00028 }
Apply the control's current value to the field.
The control must currently be attached to a field; this is normally assured by base class apply() before invoking this method. Currently the control tracks only the changes made to the rotation matrix, not the actual angle values it has.
Reimplemented from Ig3DRotationControl.
Definition at line 31 of file Ig3DCameraRotControl.cc.
References Ig3DRotationControl::applyValue(), Ig3DCameraUtils::getFocalPoint(), and Ig3DCameraUtils::setFocalPoint().
00032 { 00033 SbVec3f fp = getFocalPoint (); 00034 Ig3DRotationControl::applyValue (); 00035 setFocalPoint (fp); 00036 }