CMS 3D CMS Logo

Ig3DCameraRotControl Class Reference

#include <Iguana/GLBrowsers/interface/Ig3DCameraRotControl.h>

Inheritance diagram for Ig3DCameraRotControl:

Ig3DRotationControl Ig3DCameraUtils Ig3DVectorControl Ig3DVectorBaseControl Ig3DFieldControl IgControlBase IgControlItem

List of all members.

Public Member Functions

 Ig3DCameraRotControl (IgControlCategory *pane, QString label)

Protected Member Functions

virtual void applyValue (void)
 Apply the control's current value to the field.


Detailed Description

Definition at line 16 of file Ig3DCameraRotControl.h.


Constructor & Destructor Documentation

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 }


Member Function Documentation

void Ig3DCameraRotControl::applyValue ( void   )  [protected, virtual]

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 }


The documentation for this class was generated from the following files:
Generated on Tue Jun 9 18:24:57 2009 for CMSSW by  doxygen 1.5.4