CMS 3D CMS Logo

Ig3DAngleControl.cc

Go to the documentation of this file.
00001 //<<<<<< INCLUDES                                                       >>>>>>
00002 
00003 #include "Iguana/GLBrowsers/interface/Ig3DAngleControl.h"
00004 #include "Iguana/GLBrowsers/interface/IgControlCategory.h"
00005 #include "Iguana/GLBrowsers/interface/Ig3DRotationControl.h"
00006 #include <Inventor/fields/SoSFFloat.h>
00007 #include <classlib/utils/DebugAids.h>
00008 
00009 //<<<<<< PRIVATE DEFINES                                                >>>>>>
00010 //<<<<<< PRIVATE CONSTANTS                                              >>>>>>
00011 //<<<<<< PRIVATE TYPES                                                  >>>>>>
00012 //<<<<<< PRIVATE VARIABLE DEFINITIONS                                   >>>>>>
00013 //<<<<<< PUBLIC VARIABLE DEFINITIONS                                    >>>>>>
00014 //<<<<<< CLASS STRUCTURE INITIALIZATION                                 >>>>>>
00015 //<<<<<< PRIVATE FUNCTION DEFINITIONS                                   >>>>>>
00016 //<<<<<< PUBLIC FUNCTION DEFINITIONS                                    >>>>>>
00017 //<<<<<< MEMBER FUNCTION DEFINITIONS                                    >>>>>>
00018 
00019 Ig3DAngleControl::Ig3DAngleControl (IgControlCategory *pane, QString label,
00020                                     int parts /* = IgQtRangeControl::ValuePart */)
00021     : Ig3DFloatControl (pane, label, parts)
00022 {}
00023 
00025 void
00026 Ig3DAngleControl::updateValue (void)
00027 { setValue (Ig3DRotationControl::rad2deg (fieldValue ())); }
00028 
00029 void
00030 Ig3DAngleControl::applyValue (void)
00031 { field ()->setValue (Ig3DRotationControl::deg2rad (value ())); }

Generated on Tue Jun 9 17:38:34 2009 for CMSSW by  doxygen 1.5.4