CMS 3D CMS Logo

Ig3DVec4fControl Class Reference

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

Inheritance diagram for Ig3DVec4fControl:

Ig3DVectorBaseControl Ig3DFieldControl IgControlBase IgControlItem

List of all members.

Public Slots

virtual void setValue (float x, float y, float z, float w)
virtual void setValue (const SbVec4f &vec)

Public Member Functions

SbVec4f change (void) const
IgQtRangeControlFloatcontrol (void) const
SoSFVec4f * field (void) const
SbVec4f fieldValue (void) const
 Ig3DVec4fControl (IgControlCategory *pane, QString label, QString labels="X:Y:Z:W")
bool isChanged (void) const
void setField (SoSFVec4f *field)
SbVec4f value (void) const
float wChange (void) const
IgQtRangeControlFloatwControl (void) const
float wValue (void) const
float xChange (void) const
IgQtRangeControlFloatxControl (void) const
float xValue (void) const
float yChange (void) const
IgQtRangeControlFloatyControl (void) const
float yValue (void) const
float zChange (void) const
IgQtRangeControlFloatzControl (void) const
float zValue (void) const

Protected Member Functions

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


Detailed Description

Definition at line 17 of file Ig3DVec4fControl.h.


Constructor & Destructor Documentation

Ig3DVec4fControl::Ig3DVec4fControl ( IgControlCategory pane,
QString  label,
QString  labels = "X:Y:Z:W" 
)

Definition at line 17 of file Ig3DVec4fControl.cc.

00019                                                                      :Y:Z:W"*/)
00020     : Ig3DVectorBaseControl (pane, label, PositionWOAStyle, 4, labels)
00021 {}


Member Function Documentation

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

Reimplemented from Ig3DVectorBaseControl.

Definition at line 121 of file Ig3DVec4fControl.cc.

References field(), and value().

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

SbVec4f Ig3DVec4fControl::change ( void   )  const

Definition at line 96 of file Ig3DVec4fControl.cc.

References wChange(), xChange(), yChange(), and zChange().

00097 { return SbVec4f (xChange (), yChange (), zChange (), wChange ()); }

IgQtRangeControlFloat * Ig3DVec4fControl::control ( void   )  const

Definition at line 27 of file Ig3DVec4fControl.cc.

Referenced by wControl(), xControl(), yControl(), and zControl().

00028 { return control (0); }

SoSFVec4f * Ig3DVec4fControl::field ( void   )  const

Reimplemented from Ig3DFieldControl.

Definition at line 102 of file Ig3DVec4fControl.cc.

References Ig3DFieldControl::field().

Referenced by applyValue(), and fieldValue().

00103 { return static_cast<SoSFVec4f *> (Ig3DFieldControl::field ()); }

SbVec4f Ig3DVec4fControl::fieldValue ( void   )  const

Definition at line 110 of file Ig3DVec4fControl.cc.

References ASSERT, and field().

Referenced by updateValue().

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

bool Ig3DVec4fControl::isChanged ( void   )  const

Reimplemented from Ig3DVectorBaseControl.

void Ig3DVec4fControl::setField ( SoSFVec4f *  field  ) 

Definition at line 106 of file Ig3DVec4fControl.cc.

References Ig3DFieldControl::setField().

void Ig3DVec4fControl::setValue ( float  x,
float  y,
float  z,
float  w 
) [virtual, slot]

Definition at line 74 of file Ig3DVec4fControl.cc.

References setValue().

00075 { setValue (SbVec4f (newx, newy, newz, neww)); }

void Ig3DVec4fControl::setValue ( const SbVec4f &  vec  )  [virtual, slot]

Definition at line 70 of file Ig3DVec4fControl.cc.

References Ig3DVectorBaseControl::setValues().

Referenced by setValue(), and updateValue().

00071 { setValues (newval.getValue (), 4); }

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

Reimplemented from Ig3DVectorBaseControl.

Definition at line 117 of file Ig3DVec4fControl.cc.

References fieldValue(), and setValue().

00118 { setValue (fieldValue ()); }

SbVec4f Ig3DVec4fControl::value ( void   )  const

Definition at line 66 of file Ig3DVec4fControl.cc.

References wValue(), xValue(), yValue(), and zValue().

Referenced by applyValue().

00067 { return SbVec4f (xValue (), yValue (), zValue (), wValue ()); }

float Ig3DVec4fControl::wChange ( void   )  const

Definition at line 92 of file Ig3DVec4fControl.cc.

References IgQtRangeValue< T >::valueChange(), and wControl().

Referenced by change().

00093 { return wControl ()->valueChange (); }

IgQtRangeControlFloat * Ig3DVec4fControl::wControl ( void   )  const

Definition at line 43 of file Ig3DVec4fControl.cc.

References control().

Referenced by wChange(), and wValue().

00044 { return control (3); }

float Ig3DVec4fControl::wValue ( void   )  const

Definition at line 62 of file Ig3DVec4fControl.cc.

References IgQtRangeValue< T >::value(), and wControl().

Referenced by value().

00063 { return wControl ()->value (); }

float Ig3DVec4fControl::xChange ( void   )  const

Definition at line 80 of file Ig3DVec4fControl.cc.

References IgQtRangeValue< T >::valueChange(), and xControl().

Referenced by change().

00081 { return xControl ()->valueChange (); }

IgQtRangeControlFloat * Ig3DVec4fControl::xControl ( void   )  const

Definition at line 31 of file Ig3DVec4fControl.cc.

References control().

Referenced by xChange(), and xValue().

00032 { return control (0); }

float Ig3DVec4fControl::xValue ( void   )  const

Definition at line 50 of file Ig3DVec4fControl.cc.

References IgQtRangeValue< T >::value(), and xControl().

Referenced by value().

00051 { return xControl ()->value (); }

float Ig3DVec4fControl::yChange ( void   )  const

Definition at line 84 of file Ig3DVec4fControl.cc.

References IgQtRangeValue< T >::valueChange(), and yControl().

Referenced by change().

00085 { return yControl ()->valueChange (); }

IgQtRangeControlFloat * Ig3DVec4fControl::yControl ( void   )  const

Definition at line 35 of file Ig3DVec4fControl.cc.

References control().

Referenced by yChange(), and yValue().

00036 { return control (1); }

float Ig3DVec4fControl::yValue ( void   )  const

Definition at line 54 of file Ig3DVec4fControl.cc.

References IgQtRangeValue< T >::value(), and yControl().

Referenced by value().

00055 { return yControl ()->value (); }

float Ig3DVec4fControl::zChange ( void   )  const

Definition at line 88 of file Ig3DVec4fControl.cc.

References IgQtRangeValue< T >::valueChange(), and zControl().

Referenced by change().

00089 { return zControl ()->valueChange (); }

IgQtRangeControlFloat * Ig3DVec4fControl::zControl ( void   )  const

Definition at line 39 of file Ig3DVec4fControl.cc.

References control().

Referenced by zChange(), and zValue().

00040 { return control (2); }

float Ig3DVec4fControl::zValue ( void   )  const

Definition at line 58 of file Ig3DVec4fControl.cc.

References IgQtRangeValue< T >::value(), and zControl().

Referenced by value().

00059 { return zControl ()->value (); }


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