CMS 3D CMS Logo

Ig3DAngleControl Class Reference

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

Inheritance diagram for Ig3DAngleControl:

Ig3DFloatControl Ig3DRangeControl< SoSFFloat, float, IgQtRangeControlFloat > Ig3DFieldControl IgControlBase IgControlItem

List of all members.

Public Member Functions

 Ig3DAngleControl (IgControlCategory *pane, QString label, int parts=IgQtRangeControl::ValuePart)

Protected Member Functions

virtual void applyValue (void)
virtual void updateValue (void)


Detailed Description

Definition at line 15 of file Ig3DAngleControl.h.


Constructor & Destructor Documentation

Ig3DAngleControl::Ig3DAngleControl ( IgControlCategory pane,
QString  label,
int  parts = IgQtRangeControl::ValuePart 
)

Definition at line 19 of file Ig3DAngleControl.cc.

00021     : Ig3DFloatControl (pane, label, parts)
00022 {}


Member Function Documentation

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

Reimplemented from Ig3DRangeControl< SoSFFloat, float, IgQtRangeControlFloat >.

Definition at line 30 of file Ig3DAngleControl.cc.

References Ig3DRotationControl::deg2rad(), Ig3DRangeControl< SoSFFloat, float, IgQtRangeControlFloat >::field(), and Ig3DRangeControl< SoSFFloat, float, IgQtRangeControlFloat >::value().

00031 { field ()->setValue (Ig3DRotationControl::deg2rad (value ())); }

void Ig3DAngleControl::updateValue ( void   )  [protected, virtual]

Reimplemented from Ig3DRangeControl< SoSFFloat, float, IgQtRangeControlFloat >.

Definition at line 26 of file Ig3DAngleControl.cc.

References Ig3DRangeControl< SoSFFloat, float, IgQtRangeControlFloat >::fieldValue(), Ig3DRotationControl::rad2deg(), and Ig3DFloatControl::setValue().


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