library: libGeomBuilder
#include "TGeoManagerEditor.h"

TGeoManagerEditor


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

class TGeoManagerEditor : public TGedFrame

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

    protected:
virtual void ConnectSignals2Slots() void ShowSelectMaterial(Bool_t show = kTRUE) void ShowSelectMatrix(Bool_t show = kTRUE) void ShowSelectMedium(Bool_t show = kTRUE) void ShowSelectShape(Bool_t show = kTRUE) void ShowSelectVolume(Bool_t show = kTRUE) public:
TGeoManagerEditor(const TGWindow* p, Int_t id, Int_t width = 140, Int_t height = 30, UInt_t options = kChildFrame, Pixel_t back = GetDefaultFrameBackground()) TGeoManagerEditor(const TGeoManagerEditor&) virtual ~TGeoManagerEditor() static TClass* Class() void DoCloseGeometry() void DoCreateArb8() void DoCreateAssembly() void DoCreateBox() void DoCreateCombi() void DoCreateComposite() void DoCreateCone() void DoCreateCons() void DoCreateCtub() void DoCreateEltu() void DoCreateGtra() void DoCreateHype() void DoCreateMaterial() void DoCreateMedium() void DoCreateMixture() void DoCreatePara() void DoCreateParab() void DoCreatePcon() void DoCreatePgon() void DoCreateRotation() void DoCreateSphe() void DoCreateTorus() void DoCreateTranslation() void DoCreateTrap() void DoCreateTrd1() void DoCreateTrd2() void DoCreateTube() void DoCreateTubs() void DoCreateVolume() void DoCreateXtru() void DoEditMaterial() void DoEditMatrix() void DoEditMedium() void DoEditShape() void DoEditVolume() void DoExportGeometry() void DoName() void DoSelectMaterial() void DoSelectMaterial2() void DoSelectMatrix() void DoSelectMedium() void DoSelectMedium2() void DoSelectShape() void DoSelectShape2() void DoSelectTopVolume() void DoSelectVolume() void DoSetTopVolume() virtual TClass* IsA() const static void LoadLib() 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:
TGeoManager* fGeometry Selected geometry manager TGeoTabManager* fTabMgr Tab manager Bool_t fIsModified Flag that manager was modified TGShutter* fCategories Categories shutter TGTextEntry* fManagerName Name text entry TGTextEntry* fManagerTitle Title text entry TGTextEntry* fMediumName Medium name text entry TGTextEntry* fMatrixName Matrix name text entry TGTextEntry* fMaterialName Material name text entry TGTextEntry* fVolumeName Volume name text entry TGeoMaterial* fSelectedMaterial Selected material TGeoMaterial* fSelectedMaterial2 Selected material for medium creation TGLabel* fLSelMaterial Selected material label TGLabel* fLSelMaterial2 Selected material label TGPictureButton* fBSelMaterial Button for selecting a material TGPictureButton* fBSelMaterial2 Button for selecting a material TGeoVolume* fSelectedVolume Selected volume TGLabel* fLSelVolume Selected volume label TGPictureButton* fBSelVolume Button for selecting a volume TGeoShape* fSelectedShape Selected shape TGeoShape* fSelectedShape2 Selected shape for volume creation TGLabel* fLSelShape Selected shape label TGLabel* fLSelShape2 Selected shape label TGPictureButton* fBSelShape Button for selecting a shape TGPictureButton* fBSelShape2 Button for selecting a shape TGeoMatrix* fSelectedMatrix Selected matrix TGLabel* fLSelMatrix Selected matrix label TGPictureButton* fBSelMatrix Button for selecting a matrix TGeoMedium* fSelectedMedium Selected medium TGeoMedium* fSelectedMedium2 Selected medium for volume creation TGLabel* fLSelMedium Selected medium label TGLabel* fLSelMedium2 Selected medium label TGPictureButton* fBSelMedium Button for selecting a medium TGPictureButton* fBSelMedium2 Button for selecting a medium TGPictureButton* fShapeButton[21] List of shape buttons TGPictureButton* fMatrixButton[3] List of matrix buttons TGPictureButton* fVolumeButton[2] List of volume buttons TGPictureButton* fMaterialButton[2] List of material buttons TGRadioButton* fExportOption[2] Export option buttons TGTextButton* fExportButton Button to export geometry TGComboBox* fElementList Combo box for elements TGNumberEntry* fEntryDensity Number entry for material density TGPictureButton* fMediumButton Button to create a medium TGNumberEntry* fMediumId Medium ID number entry TGTextButton* fEditShape Button for editing selected shape TGTextButton* fEditMedium Button for editing a medium TGTextButton* fEditMaterial Button for editing a material TGTextButton* fEditMatrix Button for editing a matrix TGTextButton* fEditVolume Button for editing a volume TGTextButton* fSetTopVolume Button for setting top volume TGLabel* fLSelTop Selected top volume TGPictureButton* fBSelTop Button for selecting top volume TGTextButton* fCloseGeometry Button for closing the geometry TGCompositeFrame* f2 Parent frame for shape editing TGCompositeFrame* f3 Parent frame for volume editing TGCompositeFrame* f4 Parent frame for materials editing TGCompositeFrame* f5 Parent frame for media editing TGCompositeFrame* f6 Parent frame for matrices editing TGCompositeFrame* f7 Parent frame for closing geometry

Class Description

                                                                      
  TGeoManagerEditor                                                    



Editor for TGeoManager class. Provides also builder functionality for the
main TGeo objects: TGeoVolume, TGeoShape - derived classes, TGeoMaterial,
TGeoMatrix - derived transformations and TGeoMedium.
The GUI represents the main entry point for editing geometry classes. It
can be started either by:
1. TGeoManager::Edit(). The method must be used when starting from a new
geometry.
2. Left-click on the 40x40 pixels top-right corner of a pad containing a
drawn volume. The region is always accesible when drawing geometry elements
TGeoManagerEditor(const TGWindow *p, Int_t id, Int_t width, Int_t height, UInt_t options, Pixel_t back)
 Constructor for manager editor.
~TGeoManagerEditor()
 Destructor.
void ConnectSignals2Slots()
 Connect signals to slots.
void DoName()
 Change name/title of the geometry
void DoExportGeometry()
 Export geometry as .root or .C file
void DoCreateBox()
 Create a box.
void DoCreatePara()
 Create a parallelipiped.
void DoCreateTrd1()
 Create a Trd1.
void DoCreateTrd2()
 Create a Trd2.
void DoCreateTrap()
 Create a general trapezoid.
void DoCreateGtra()
 Create a twisted trapezoid.
void DoCreateXtru()
 Create an extruded polygone.
void DoCreateArb8()
 Create an arbitrary polygone with maximum 8 vertices sitting on 2 parallel
 planes
void DoCreateTube()
 Create a tube.
void DoCreateTubs()
 Create a tube segment.
void DoCreateCone()
 Create a cone.
void DoCreateCons()
 Create a cone segment.
void DoCreateSphe()
 Create a sphere.
void DoCreateCtub()
 Create a cut tube.
void DoCreateEltu()
 Create an eliptical tube.
void DoCreateTorus()
 Create a torus shape.
void DoCreatePcon()
 Create a polycone shape.
void DoCreatePgon()
 Create a polygone shape.
void DoCreateHype()
 Create a hyperboloid.
void DoCreateParab()
 Create a paraboloid.
void DoCreateComposite()
 Create a composite shape.
void DoCreateMaterial()
 Create a new material.
void DoCreateMixture()
 Create a new mixture.
void DoCreateMedium()
 Create a new medium.
void DoCreateTranslation()
 Create a new translation.
void DoCreateRotation()
 Create a new rotation.
void DoCreateVolume()
 Create a new volume.
void DoCreateAssembly()
 Create a new volume assembly.
void DoCreateCombi()
 Create a new translation + rotation.
void DoSetTopVolume()
 Set top volume for the geometry.
void DoEditShape()
 Slot for editing selected shape.
void DoEditVolume()
 Slot for editing selected volume.
void DoEditMedium()
 Slot for editing selected medium.
void DoEditMaterial()
 Slot for editing selected material.
void DoEditMatrix()
 Slot for editing selected matrix.
void DoSelectMatrix()
 Slot for selecting an existing matrix.
void DoSelectShape()
 Slot for selecting an existing shape.
void DoSelectShape2()
 Slot for selecting a shape for making a volume.
void DoSelectMaterial()
 Slot for selecting an existing material.
void DoSelectMaterial2()
 Slot for selecting an existing material and making a medium.
void DoSelectMedium()
 Slot for selecting an existing medium.
void DoSelectMedium2()
 Slot for selecting an existing medium for making a volume.
void DoSelectVolume()
 Slot for selecting an existing volume.
void DoSelectTopVolume()
 Slot for seting top geometry volume.
void DoCloseGeometry()
 Slot for closing the geometry.
void ShowSelectShape(Bool_t show)
 Show/hide interface for shape selection.
void ShowSelectVolume(Bool_t show)
 Show/hide interface for volume selection.
void ShowSelectMaterial(Bool_t show)
 Show/hide interface for material selection.
void ShowSelectMedium(Bool_t show)
 Show/hide interface for medium selection.
void ShowSelectMatrix(Bool_t show)
 Show/hide interface for matrix selection.
TGeoManagerEditor(const TGWindow *p, Int_t id, Int_t width = 140, Int_t height = 30, UInt_t options = kChildFrame, Pixel_t back = GetDefaultFrameBackground())
void LoadLib()
void SetModel(TVirtualPad *pad, TObject *obj, Int_t event)

Author: M.Gheata
Last update: :$Name: $:$Id: TGeoManagerEditor.cxx,v 1.4 2006/06/24 08:26:42 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.