TEveTransSubEditor Class Reference

#include <TEveTransEditor.h>

Inheritance diagram for TEveTransSubEditor:

TGVerticalFrame TGVerticalFrame TGCompositeFrame TGCompositeFrame TGCompositeFrame TGCompositeFrame TGFrame TGFrame TGFrame TGFrame TGFrame TGFrame TGFrame TGFrame List of all members.

Public Member Functions

 TEveTransSubEditor (TGWindow *p)
virtual ~TEveTransSubEditor ()
void SetModel (TEveTrans *t)
void SetTransFromData ()
void UseTrans ()
void TransChanged ()
void DoUseTrans ()
void DoEditTrans ()
void DoTransChanged ()
TEveGTriVecValuator * GetPosValuator ()
TEveGTriVecValuator * GetRotValuator ()
TEveGTriVecValuator * GetScaleValuator ()
 ClassDef (TEveTransSubEditor, 0)
 TEveTransSubEditor (TGWindow *p)
virtual ~TEveTransSubEditor ()
void SetModel (TEveTrans *t)
void SetTransFromData ()
void UseTrans ()
void TransChanged ()
void DoUseTrans ()
void DoEditTrans ()
void DoTransChanged ()
TEveGTriVecValuator * GetPosValuator ()
TEveGTriVecValuator * GetRotValuator ()
TEveGTriVecValuator * GetScaleValuator ()
 ClassDef (TEveTransSubEditor, 0)

Protected Attributes

TEveTrans * fTrans
TGHorizontalFrame * fTopHorFrame
TGCheckButton * fUseTrans
TGCheckButton * fEditTrans
TGVerticalFrame * fEditTransFrame
TEveGTriVecValuator * fPos
TEveGTriVecValuator * fRot
TEveGTriVecValuator * fScale
TGCheckButton * fAutoUpdate
TGTextButton * fUpdate
TEveTrans * fTrans
TGHorizontalFrame * fTopHorFrame
TGCheckButton * fUseTrans
TGCheckButton * fEditTrans
TGVerticalFrame * fEditTransFrame
TEveGTriVecValuator * fPos
TEveGTriVecValuator * fRot
TEveGTriVecValuator * fScale
TGCheckButton * fAutoUpdate
TGTextButton * fUpdate

Private Member Functions

 TEveTransSubEditor (const TEveTransSubEditor &)
TEveTransSubEditor & operator= (const TEveTransSubEditor &)
 TEveTransSubEditor (const TEveTransSubEditor &)
TEveTransSubEditor & operator= (const TEveTransSubEditor &)

Detailed Description

Definition at line 24 of file TEveTransEditor.h.


Constructor & Destructor Documentation

TEveTransSubEditor::TEveTransSubEditor ( const TEveTransSubEditor &   )  [private]

TEveTransSubEditor::TEveTransSubEditor ( TGWindow *  p  ) 

Definition at line 30 of file TEveTransEditor.cxx.

References TGCompositeFrame::AddFrame(), TEveGTriVecValuator::Build(), TQObject::Connect(), fAutoUpdate, fEditTrans, fEditTransFrame, fPos, fRot, fScale, fTopHorFrame, fUpdate, fUseTrans, gClient, TGClient::GetFont(), TEveGTriVecValuator::GetValuator(), kFALSE, kLHintsExpandX, kLHintsLeft, kLHintsTop, TGNumberFormat::kNESRealOne, TGNumberFormat::kNESRealThree, TGNumberFormat::kNESRealTwo, TEveGTriVecValuator::SetLimits(), TEveGTriVecValuator::SetNELength(), TGLabel::SetTextFont(), TEveGValuator::SetToolTip(), and TGVerticalFrame::TGVerticalFrame().

virtual TEveTransSubEditor::~TEveTransSubEditor (  )  [inline, virtual]

Definition at line 48 of file TEveTransEditor.h.

TEveTransSubEditor::TEveTransSubEditor ( const TEveTransSubEditor &   )  [private]

TEveTransSubEditor::TEveTransSubEditor ( TGWindow *  p  ) 

virtual TEveTransSubEditor::~TEveTransSubEditor (  )  [inline, virtual]

Definition at line 48 of file TEveTransEditor.h.


Member Function Documentation

TEveTransSubEditor& TEveTransSubEditor::operator= ( const TEveTransSubEditor &   )  [private]

void TEveTransSubEditor::SetModel ( TEveTrans *  t  ) 

Definition at line 127 of file TEveTransEditor.cxx.

References a, TEveTrans::ArrT(), TEveTrans::fEditTrans, fEditTrans, fEditTransFrame, fPos, fRot, fScale, fTrans, TEveTrans::fUseTrans, fUseTrans, TEveTrans::GetEditRotation(), TEveTrans::GetEditScale(), GetEntry(), TEveGValuator::GetEntry(), TGWindow::GetMainFrame(), TEveTrans::GetRotAngles(), TEveTrans::GetScale(), TEveGTriVecValuator::GetValuator(), i, kButtonDown, kButtonUp, TGCompositeFrame::Layout(), TGFrame::MapWindow(), TMath::RadToDeg(), TGCheckButton::SetState(), TGNumberEntry::SetState(), TEveGTriVecValuator::SetValues(), t, TGFrame::UnmapWindow(), x, and y.

Referenced by TEveTransEditor::SetModel(), and TEveElementEditor::SetModel().

void TEveTransSubEditor::SetTransFromData (  ) 

Definition at line 164 of file TEveTransEditor.cxx.

References TMath::DegToRad(), fPos, fRot, fScale, fTrans, TEveGTriVecValuator::GetValues(), TEveTrans::Scale(), TEveTrans::SetPos(), TEveTrans::SetRotByAngles(), and TEveTrans::UnitTrans().

Referenced by TransChanged().

void TEveTransSubEditor::UseTrans (  ) 

Definition at line 181 of file TEveTransEditor.cxx.

References TQObject::Emit().

Referenced by DoUseTrans().

void TEveTransSubEditor::TransChanged (  ) 

Definition at line 189 of file TEveTransEditor.cxx.

References TQObject::Emit(), and SetTransFromData().

Referenced by DoEditTrans(), and DoTransChanged().

void TEveTransSubEditor::DoUseTrans (  ) 

Definition at line 200 of file TEveTransEditor.cxx.

References fTrans, fUseTrans, TGCheckButton::IsOn(), TEveTrans::SetUseTrans(), and UseTrans().

void TEveTransSubEditor::DoEditTrans (  ) 

Definition at line 209 of file TEveTransEditor.cxx.

References fEditTrans, fTrans, TGCheckButton::IsOn(), TEveTrans::SetEditTrans(), and TransChanged().

void TEveTransSubEditor::DoTransChanged (  ) 

Definition at line 218 of file TEveTransEditor.cxx.

References fAutoUpdate, TGCheckButton::IsOn(), and TransChanged().

TEveGTriVecValuator* TEveTransSubEditor::GetPosValuator (  )  [inline]

Definition at line 60 of file TEveTransEditor.h.

References fPos.

TEveGTriVecValuator* TEveTransSubEditor::GetRotValuator (  )  [inline]

Definition at line 61 of file TEveTransEditor.h.

References fRot.

TEveGTriVecValuator* TEveTransSubEditor::GetScaleValuator (  )  [inline]

Definition at line 62 of file TEveTransEditor.h.

References fScale.

TEveTransSubEditor::ClassDef ( TEveTransSubEditor  ,
0   
)

TEveTransSubEditor& TEveTransSubEditor::operator= ( const TEveTransSubEditor &   )  [private]

void TEveTransSubEditor::SetModel ( TEveTrans *  t  ) 

void TEveTransSubEditor::SetTransFromData (  ) 

void TEveTransSubEditor::UseTrans (  ) 

void TEveTransSubEditor::TransChanged (  ) 

void TEveTransSubEditor::DoUseTrans (  ) 

void TEveTransSubEditor::DoEditTrans (  ) 

void TEveTransSubEditor::DoTransChanged (  ) 

TEveGTriVecValuator* TEveTransSubEditor::GetPosValuator (  )  [inline]

Definition at line 60 of file TEveTransEditor.h.

References fPos.

TEveGTriVecValuator* TEveTransSubEditor::GetRotValuator (  )  [inline]

Definition at line 61 of file TEveTransEditor.h.

References fRot.

TEveGTriVecValuator* TEveTransSubEditor::GetScaleValuator (  )  [inline]

Definition at line 62 of file TEveTransEditor.h.

References fScale.

TEveTransSubEditor::ClassDef ( TEveTransSubEditor  ,
0   
)


Member Data Documentation

TEveTrans* TEveTransSubEditor::fTrans [protected]

Definition at line 30 of file TEveTransEditor.h.

Referenced by DoEditTrans(), DoUseTrans(), SetModel(), and SetTransFromData().

TGHorizontalFrame* TEveTransSubEditor::fTopHorFrame [protected]

Definition at line 32 of file TEveTransEditor.h.

Referenced by TEveTransSubEditor().

TGCheckButton* TEveTransSubEditor::fUseTrans [protected]

Definition at line 34 of file TEveTransEditor.h.

Referenced by DoUseTrans(), SetModel(), and TEveTransSubEditor().

TGCheckButton* TEveTransSubEditor::fEditTrans [protected]

Definition at line 35 of file TEveTransEditor.h.

Referenced by DoEditTrans(), SetModel(), and TEveTransSubEditor().

TGVerticalFrame* TEveTransSubEditor::fEditTransFrame [protected]

Definition at line 37 of file TEveTransEditor.h.

Referenced by SetModel(), and TEveTransSubEditor().

TEveGTriVecValuator* TEveTransSubEditor::fPos [protected]

Definition at line 39 of file TEveTransEditor.h.

Referenced by GetPosValuator(), SetModel(), SetTransFromData(), and TEveTransSubEditor().

TEveGTriVecValuator* TEveTransSubEditor::fRot [protected]

Definition at line 40 of file TEveTransEditor.h.

Referenced by GetRotValuator(), SetModel(), SetTransFromData(), and TEveTransSubEditor().

TEveGTriVecValuator* TEveTransSubEditor::fScale [protected]

Definition at line 41 of file TEveTransEditor.h.

Referenced by GetScaleValuator(), SetModel(), SetTransFromData(), and TEveTransSubEditor().

TGCheckButton* TEveTransSubEditor::fAutoUpdate [protected]

Definition at line 43 of file TEveTransEditor.h.

Referenced by DoTransChanged(), and TEveTransSubEditor().

TGTextButton* TEveTransSubEditor::fUpdate [protected]

Definition at line 44 of file TEveTransEditor.h.

Referenced by TEveTransSubEditor().

TEveTrans* TEveTransSubEditor::fTrans [protected]

Definition at line 30 of file TEveTransEditor.h.

TGHorizontalFrame* TEveTransSubEditor::fTopHorFrame [protected]

Definition at line 32 of file TEveTransEditor.h.

TGCheckButton* TEveTransSubEditor::fUseTrans [protected]

Definition at line 34 of file TEveTransEditor.h.

TGCheckButton* TEveTransSubEditor::fEditTrans [protected]

Definition at line 35 of file TEveTransEditor.h.

TGVerticalFrame* TEveTransSubEditor::fEditTransFrame [protected]

Definition at line 37 of file TEveTransEditor.h.

TEveGTriVecValuator* TEveTransSubEditor::fPos [protected]

Definition at line 39 of file TEveTransEditor.h.

TEveGTriVecValuator* TEveTransSubEditor::fRot [protected]

Definition at line 40 of file TEveTransEditor.h.

TEveGTriVecValuator* TEveTransSubEditor::fScale [protected]

Definition at line 41 of file TEveTransEditor.h.

TGCheckButton* TEveTransSubEditor::fAutoUpdate [protected]

Definition at line 43 of file TEveTransEditor.h.

TGTextButton* TEveTransSubEditor::fUpdate [protected]

Definition at line 44 of file TEveTransEditor.h.


The documentation for this class was generated from the following files:
Generated on Tue Jul 5 16:37:11 2011 for ROOT_528-00b_version by  doxygen 1.5.1