CMS 3D CMS Logo

Ig3DVec3fControl Class Reference

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

Inheritance diagram for Ig3DVec3fControl:

Ig3DVectorControl Ig3DVectorBaseControl Ig3DFieldControl IgControlBase IgControlItem Ig3DCameraPosControl Ig3DUnitVec3fControl

List of all members.

Public Member Functions

SoSFVec3f * field (void) const
SbVec3f fieldValue (void) const
 Ig3DVec3fControl (IgControlCategory *pane, QString label, Style style=PositionStyle)
void setField (SoSFVec3f *field)

Protected Member Functions

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


Detailed Description

Definition at line 16 of file Ig3DVec3fControl.h.


Constructor & Destructor Documentation

Ig3DVec3fControl::Ig3DVec3fControl ( IgControlCategory pane,
QString  label,
Style  style = PositionStyle 
)

Definition at line 16 of file Ig3DVec3fControl.cc.

00019     : Ig3DVectorControl (pane, label, style)
00020 {}


Member Function Documentation

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

Reimplemented from Ig3DVectorBaseControl.

Definition at line 45 of file Ig3DVec3fControl.cc.

References field(), and Ig3DVectorControl::value().

00046 { field ()->setValue (value ()); }

SoSFVec3f * Ig3DVec3fControl::field ( void   )  const

Reimplemented from Ig3DFieldControl.

Definition at line 26 of file Ig3DVec3fControl.cc.

References Ig3DFieldControl::field().

Referenced by applyValue(), and fieldValue().

00027 { return static_cast<SoSFVec3f *> (Ig3DFieldControl::field ()); }

SbVec3f Ig3DVec3fControl::fieldValue ( void   )  const

Definition at line 34 of file Ig3DVec3fControl.cc.

References ASSERT, and field().

Referenced by updateValue().

00035 { ASSERT (field ()); return field ()->getValue (); }

void Ig3DVec3fControl::setField ( SoSFVec3f *  field  ) 

Definition at line 30 of file Ig3DVec3fControl.cc.

References Ig3DFieldControl::setField().

Referenced by Ig3DAnimsCategory::attach(), Ig3DLightsCategory::attach(), Ig3DAnimsCategory::detach(), and Ig3DLightsCategory::detach().

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

Reimplemented from Ig3DVectorBaseControl.

Definition at line 41 of file Ig3DVec3fControl.cc.

References fieldValue(), and Ig3DVectorControl::setValue().

00042 { setValue (fieldValue ()); }


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