98   gClient->GetColorByName(
"#ff0000", color);
 
  110   gClient->GetColorByName(
"#ff0000", color);
 
  116   gClient->GetColorByName(
"#0000ff", color);
 
  134   gClient->GetColorByName(
"#0000ff", color);
 
  158   gClient->GetColorByName(
"#ff0000", color);
 
  184   gClient->GetColorByName(
"#ff0000", color);
 
  192   gClient->GetColorByName(
"#0000ff", color);
 
  206   gClient->GetColorByName(
"#0000ff", color);
 
  292   gClient->GetColorByName(
"#ff0000", color);
 
  401   fVolumeName->
Connect(
"TextChanged(const char *)", 
"TGeoVolumeEditor", 
this, 
"DoVolumeName()");
 
  402   fDivName->
Connect(
"TextChanged(const char *)", 
"TGeoVolumeEditor", 
this, 
"DoDivName()");
 
  406   fAddNode->
Connect(
"Clicked()", 
"TGeoVolumeEditor", 
this, 
"DoAddNode()");
 
  412   fBVis[0]->
Connect(
"Clicked()", 
"TGeoVolumeEditor", 
this, 
"DoVisVolume()");
 
  413   fBVis[1]->
Connect(
"Clicked()", 
"TGeoVolumeEditor", 
this, 
"DoVisDaughters()");
 
  414   fBAuto->
Connect(
"Clicked()", 
"TGeoVolumeEditor", 
this, 
"DoVisAuto()");
 
  415   fEVisLevel->
Connect(
"ValueSet(Long_t)", 
"TGeoVolumeEditor", 
this, 
"DoVisLevel()");
 
  416   fBView[0]->
Connect(
"Clicked()", 
"TGeoVolumeEditor", 
this, 
"DoViewAll()");
 
  417   fBView[1]->
Connect(
"Clicked()", 
"TGeoVolumeEditor", 
this, 
"DoViewLeaves()");
 
  418   fBView[2]->
Connect(
"Clicked()", 
"TGeoVolumeEditor", 
this, 
"DoViewOnly()");
 
  419   fBDiv[0]->
Connect(
"Clicked()", 
"TGeoVolumeEditor", 
this, 
"DoDivSelAxis()");
 
  420   fBDiv[1]->
Connect(
"Clicked()", 
"TGeoVolumeEditor", 
this, 
"DoDivSelAxis()");
 
  421   fBDiv[2]->
Connect(
"Clicked()", 
"TGeoVolumeEditor", 
this, 
"DoDivSelAxis()");
 
  422   fEDivFrom->
Connect(
"ValueSet(Long_t)", 
"TGeoVolumeEditor", 
this, 
"DoDivFromTo()");
 
  423   fEDivStep->
Connect(
"ValueSet(Long_t)", 
"TGeoVolumeEditor", 
this, 
"DoDivStep()");
 
  424   fEDivN->
Connect(
"ValueSet(Long_t)", 
"TGeoVolumeEditor", 
this, 
"DoDivN()");
 
  480      Double_t start=0., step=0., end = 0.;
 
  481      Int_t ndiv = 2, iaxis = 1;
 
  483      for (
Int_t i=0; i<3; i++) {
 
  651      Int_t ndiv = 2, iaxis = 1;
 
  779   for (
Int_t i=0; i<3; i++) {
 
  808   for (
Int_t i=0; i<3; i++) {
 
  830   max = min + ndiv*step;
 
  833      step = (max-min)/ndiv;
 
  850   for (
Int_t i=0; i<3; i++) {
 
  868   max = min + ndiv*step;
 
  877   step = (max-min)/ndiv;
 
  893   for (
Int_t i=0; i<3; i++) {
 
  916   max = min + ndiv*step;
 
  923   ndiv = (
Int_t)((max-min)/step);
 
  936   for (
Int_t i=0; i<3; i++) {
 
ULong_t Pixel_t
Pixel value.
 
winID h TVirtualViewer3D TVirtualGLPainter p
 
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void on
 
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t height
 
TClass instances represent classes, structs and namespaces in the ROOT type system.
 
const TGPicture * GetPicture(const char *name)
Get picture from the picture pool.
 
A combobox (also known as a drop down listbox) allows the selection of one item out of a list of item...
 
virtual Int_t GetSelected() const
 
virtual void AddEntry(TGString *s, Int_t id)
 
virtual void RemoveEntries(Int_t from_ID, Int_t to_ID)
 
virtual void Select(Int_t id, Bool_t emit=kTRUE)
Make the selected item visible in the combo box window and emit signals according to the second param...
 
virtual Int_t GetNumberOfEntries() const
 
The base class for composite widgets (menu bars, list boxes, etc.).
 
virtual void AddFrame(TGFrame *f, TGLayoutHints *l=nullptr)
Add frame to the composite frame using the specified layout hints.
 
UInt_t GetDefaultWidth() const override
 
Int_t GetState(TGFrame *f) const
Get state of sub frame.
 
virtual void Cleanup()
Cleanup and delete all objects contained in this composite frame.
 
UInt_t GetDefaultHeight() const override
 
void Layout() override
Layout the elements of the composite frame.
 
void SetCleanup(Int_t mode=kLocalCleanup) override
Turn on automatic cleanup of child frames in dtor.
 
virtual void ChangeOptions(UInt_t options)
Change frame options. Options is an OR of the EFrameTypes.
 
void Resize(UInt_t w=0, UInt_t h=0) override
Resize the frame.
 
virtual UInt_t GetDefaultHeight() const
 
void SetBackgroundColor(Pixel_t back) override
Set background color (override from TGWindow base class).
 
static Pixel_t GetDefaultFrameBackground()
Get default frame background.
 
A horizontal 3D line is a line that typically separates a toolbar from the menubar.
 
TGHotString is a string with a "hot" character underlined.
 
This class handles GUI labels.
 
virtual void SetTextColor(Pixel_t color, Bool_t global=kFALSE)
Changes text color.
 
virtual void SetText(TGString *newText)
Set new text in label.
 
This class describes layout hints used by the layout classes.
 
TGNumberEntry is a number entry input widget with up/down buttons.
 
TGNumberEntryField * GetNumberEntry() const
Get the number entry field.
 
void Associate(const TGWindow *w) override
Make w the window that will receive the generated messages.
 
virtual Long_t GetIntNumber() const
 
void SetNumAttr(EAttribute attr=kNEAAnyNumber)
 
virtual Double_t GetNumber() const
 
virtual void SetNumber(Double_t val, Bool_t emit=kTRUE)
 
UInt_t GetDefaultHeight() const override
 
void SetNumStyle(EStyle style)
 
TGClient * fClient
Connection to display server.
 
TGButton * GetButton() const
 
TGFrame * GetContainer() const
 
A shutter widget contains a set of shutter items that can be open and closed like a shutter.
 
virtual void AddItem(TGShutterItem *item)
Add shutter item to shutter frame.
 
TGShutterItem * GetItem(const char *name)
returns a shutter item by name (name is hot string of shutter item)
 
virtual void SetDefaultSize(UInt_t w, UInt_t h)
Set the default / minimal size of the widget.
 
void Layout() override
Layout shutter items.
 
A text buffer is used in several widgets, like TGTextEntry, TGFileDialog, etc.
 
Yield an action as soon as it is clicked.
 
virtual void SetText(TGHotString *new_label)
Set new button text.
 
A TGTextEntry is a one line text input widget.
 
virtual void SetDefaultSize(UInt_t w, UInt_t h)
Set the default / minimal size of the widget.
 
const char * GetText() const
 
virtual void SetToolTipText(const char *text, Long_t delayms=500)
Set tool tip text associated with this text entry.
 
virtual void SetText(const char *text, Bool_t emit=kTRUE)
Sets text entry to text, clears the selection and moves the cursor to the end of the line.
 
ROOT GUI Window base class.
 
const TGWindow * GetParent() const
 
void ExcludeClassEditor(TClass *cl, Bool_t recurse=kFALSE)
Exclude editor for class cl from current construction.
 
virtual void ActivateBaseClassEditors(TClass *cl)
Provide list of editors for base-classes.
 
TGedEditor * fGedEditor
manager of this frame
 
Bool_t fInit
init flag for setting signals/slots
 
Common base class for geombuilder editors.
 
virtual void Update()
Override Update from TGedFrame as fGedEditor can be null.
 
virtual void SetActive(Bool_t active=kTRUE)
Set active GUI attribute frames related to the selected object.
 
void SetVisLevel(Int_t level=3)
set default level down to which visualization is performed
 
Int_t GetVisLevel() const
Returns current depth to which geometry is drawn.
 
void SetTopVisible(Bool_t vis=kTRUE)
make top volume visible on screen
 
Geometrical transformation package.
 
Media are used to store properties related to tracking and which are useful only when using geometry ...
 
A node represent a volume positioned inside another.They store links to both volumes and to the TGeoM...
 
TGeoVolume * GetVolume() const
 
virtual TGeoMatrix * GetMatrix() const =0
 
Base finder class for patterns.
 
virtual Int_t GetDivAxis()
 
Double_t GetStart() const
 
Base abstract class for all shapes.
 
virtual Double_t GetAxisRange(Int_t iaxis, Double_t &xlo, Double_t &xhi) const =0
 
virtual const char * GetAxisName(Int_t iaxis) const =0
 
virtual const char * GetName() const
Get the shape name.
 
TGCompositeFrame * GetVolumeTab() const
 
void GetMediumEditor(TGeoMedium *medium)
Get editor for a medium.
 
static void Cleanup(TGCompositeFrame *frame)
Static method to cleanup hierarchically all daughters of a composite frame.
 
void GetShapeEditor(TGeoShape *shape)
Get editor for a shape.
 
void GetMatrixEditor(TGeoMatrix *matrix)
Get editor for a matrix.
 
static TObject * GetSelected()
static; return selected object
 
Editor for geometry volumes and assemblies of volumes.
 
TGPictureButton * fBSelMatrix
 
virtual void ConnectSignals2Slots()
Connect signals to slots.
 
void DoApplyDiv()
Apply current division settings.
 
virtual ~TGeoVolumeEditor()
Destructor.
 
TGPictureButton * fBSelShape
 
void DoRemoveNode()
Remove a daughter.
 
TGTextEntry * fVolumeName
 
TGNumberEntry * fEDivFrom
 
void DoSelectMatrix()
Select a matrix for positioning.
 
void DoEditMatrix()
Edit the position of the selected node.
 
void DoSelectMedium()
Select a new medium.
 
void DoVisDaughters()
Slot for setting daughters visible/invisible.
 
TGNumberEntry * fEVisLevel
 
TGTextButton * fEditMatrix
 
virtual void SetModel(TObject *obj)
Connect to the picked volume.
 
TGTextButton * fEditShape
 
TGeoMedium * fSelectedMedium
 
TGeoVolume * fSelectedVolume
 
TGRadioButton * fBView[3]
 
void DoVisVolume()
Slot for setting volume visible/invisible.
 
TGeoShape * fSelectedShape
 
void DoDivFromTo()
Handle division range modification.
 
void DoVisAuto()
Slot for setting visibility depth auto.
 
void DoViewLeaves()
Slot for viewing last leaves only.
 
void DoViewOnly()
Slot for viewing volume only.
 
TGNumberEntry * fEDivStep
 
TGTextButton * fRemoveNode
 
void DoDivStep()
Handle division step modification.
 
void DoVisLevel()
Slot for visibility level.
 
TGeoMatrix * fSelectedMatrix
 
void DoRaytrace()
Slot for raytracing.
 
void DoSelectVolume()
Select a daughter volume.
 
void DoEditShape()
Edit the shape of the volume.
 
TGCheckButton * fBRaytrace
 
TGNumberEntry * fCopyNumber
 
TGPictureButton * fBSelVolume
 
void DoEditMedium()
Edit the medium of the volume.
 
TGTextButton * fEditMedium
 
TGPictureButton * fBSelMedium
 
void DoDivN()
Handle division N modification.
 
void DoSelectShape()
Select a new shape.
 
void DoViewAll()
Slot for viewing volume and containers.
 
void DoAddNode()
Add a daughter.
 
void DoDivSelAxis()
Change division axis and preserve number of slices.
 
void DoDivName()
Modify division name.
 
virtual void ActivateBaseClassEditors(TClass *cl)
Add editors to fGedFrame and exclude TLineEditor.
 
TGeoVolumeEditor(const TGWindow *p=nullptr, Int_t width=140, Int_t height=30, UInt_t options=kChildFrame, Pixel_t back=GetDefaultFrameBackground())
Constructor for volume editor.
 
void DoVolumeName()
Modify volume name.
 
TGeoVolume, TGeoVolumeMulti, TGeoVolumeAssembly are the volume classes.
 
Bool_t IsVisContainers() const
 
void RemoveNode(TGeoNode *node)
Remove an existing daughter.
 
void Raytrace(Bool_t flag=kTRUE)
Draw this volume with current settings and perform raytracing in the pad.
 
TGeoMedium * GetMedium() const
 
TGeoManager * GetGeoManager() const
 
virtual TGeoNode * AddNode(TGeoVolume *vol, Int_t copy_no, TGeoMatrix *mat=nullptr, Option_t *option="")
Add a TGeoNode to the list of nodes.
 
virtual void SetVisLeaves(Bool_t flag=kTRUE)
Set visibility for leaves.
 
void SetFinder(TGeoPatternFinder *finder)
 
Int_t GetNdaughters() const
 
void VisibleDaughters(Bool_t vis=kTRUE)
set visibility for daughters
 
TGeoNode * GetNode(const char *name) const
get the pointer to a daughter node
 
virtual void SetVisibility(Bool_t vis=kTRUE)
set visibility of this volume
 
Bool_t IsVisibleDaughters() const
 
TGeoPatternFinder * GetFinder() const
 
TGeoShape * GetShape() const
 
virtual void SetVisOnly(Bool_t flag=kTRUE)
Set visibility for leaves.
 
virtual TGeoVolume * Divide(const char *divname, Int_t iaxis, Int_t ndiv, Double_t start, Double_t step, Int_t numed=0, Option_t *option="")
Division a la G3.
 
Bool_t IsRaytracing() const
Check if the painter is currently ray-tracing the content of this volume.
 
Bool_t IsVisLeaves() const
 
virtual void SetVisContainers(Bool_t flag=kTRUE)
Set visibility for containers.
 
virtual Bool_t IsAssembly() const
Returns true if the volume is an assembly or a scaled assembly.
 
virtual Bool_t IsVisible() const
 
const char * GetName() const override
Returns name of object.
 
virtual void SetName(const char *name)
Set the name of the TNamed.
 
void Clear(Option_t *option="") override
Remove all objects from the array.
 
void Delete(Option_t *option="") override
Remove all objects from the array AND delete all heap based objects.
 
Mother of all ROOT objects.
 
virtual Bool_t InheritsFrom(const char *classname) const
Returns kTRUE if object inherits from class "classname".
 
Bool_t Connect(const char *signal, const char *receiver_class, void *receiver, const char *slot)
Non-static method is used to connect from the signal of this object to the receiver slot.