library: libGeomBuilder
#include "TGeoMaterialEditor.h"

TGeoMaterialEditor


class description - header file - source file - inheritance tree (.pdf)

class TGeoMaterialEditor : public TGedFrame

Inheritance Chart:
TObject
<-
TGObject
<-
TGWindow
TQObject
<-
TGFrame
<-
TGCompositeFrame
TGWidget
<-
TGedFrame
<-
TGeoMaterialEditor

    protected:
virtual void ConnectSignals2Slots() public:
TGeoMaterialEditor(const TGWindow* p, Int_t id, Int_t width = 140, Int_t height = 30, UInt_t options = kChildFrame, Pixel_t back = GetDefaultFrameBackground()) TGeoMaterialEditor(const TGeoMaterialEditor&) virtual ~TGeoMaterialEditor() static TClass* Class() void DoA() void DoApply() void DoCancel() void DoDensity() void DoModified() void DoName() void DoRadAbs() void DoUndo() void DoZ() virtual TClass* IsA() const virtual void SetModel(TVirtualPad* pad, TObject* obj, Int_t event) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b)

Data Members


    protected:
Int_t fAi Initial atomic mass Int_t fZi Initial Z Double_t fDensityi Initial density TString fNamei Initial name TGeoMaterial* fMaterial Material object Bool_t fIsModified Flag that material was modified Bool_t fIsMaterialEditable Flag that the material can be changed TGeoTabManager* fTabMgr Tab manager TGTextEntry* fMaterialName Material name text entry TGNumberEntry* fMatA Number entry for A TGNumberEntry* fMatZ Number entry for Z TGNumberEntry* fMatDensity Number entry for density TGNumberEntry* fMatRadLen Number entry for radiation length TGNumberEntry* fMatAbsLen Number entry for absorbtion length TGTextButton* fApply Apply-Button to accept changes TGTextButton* fCancel Cancel-Button TGTextButton* fUndo Undo-Button

Class Description

                                                                      
  TGeoMaterialEditor                                                      
                                                                      

TGeoMaterialEditor(const TGWindow *p, Int_t id, Int_t width, Int_t height, UInt_t options, Pixel_t back)
 Constructor for material editor.
~TGeoMaterialEditor()
 Destructor
void ConnectSignals2Slots()
 Connect signals to slots.
void SetModel(TVirtualPad* pad, TObject* obj, Int_t)
 Connect to the selected material.
void DoName()
 Perform name change.
void DoA()
 Slot for atomic mass.
void DoZ()
 Slot for charge.
void DoDensity()
 Slot for density.
void DoRadAbs()
 Slot for radiation/absorbtion length.
void DoApply()
 Slot for applying modifications.
void DoCancel()
 Slot for cancelling current modifications.
void DoModified()
 Slot for signaling modifications.
void DoUndo()
 Slot for undoing last operation.
TGeoMaterialEditor(const TGWindow *p, Int_t id, Int_t width = 140, Int_t height = 30, UInt_t options = kChildFrame, Pixel_t back = GetDefaultFrameBackground())

Author: M.Gheata
Last update: :$Name: $:$Id: TGeoMaterialEditor.cxx,v 1.3 2006/06/23 16:00:13 brun Exp $
Copyright (C) 1995-2002, Rene Brun and Fons Rademakers. *


ROOT page - Class index - Class Hierarchy - Top of the page

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.