[root] / trunk / geom / geombuilder / src / TGeoTabManager.cxx Repository:
ViewVC logotype

Log of /trunk/geom/geombuilder/src/TGeoTabManager.cxx

Parent Directory Parent Directory


Links to HEAD: (view) (download) (as text) (annotate)
Sticky Revision:

Revision 44557 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jun 5 09:25:52 2012 UTC (2 years, 7 months ago) by agheata
File length: 28843 byte(s)
Diff to previous 36535
Large chunk of coverity fixes

Revision 36535 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Nov 8 14:41:54 2010 UTC (4 years, 2 months ago) by agheata
File length: 28815 byte(s)
Diff to previous 35702
Changed Form() to TString::Format() everywhere

Revision 35702 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Sep 24 09:10:38 2010 UTC (4 years, 4 months ago) by agheata
File length: 28751 byte(s)
Diff to previous 35678
Another set of Dangerous_coding Coverity fixes

Revision 35678 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Sep 23 15:25:38 2010 UTC (4 years, 4 months ago) by agheata
File length: 28762 byte(s)
Diff to previous 32718
Small protection added on possibly null pointer.

Revision 32718 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Mar 23 15:58:34 2010 UTC (4 years, 10 months ago) by rdm
File length: 28801 byte(s)
Diff to previous 22923
From Matevz:
Make volume, medium, material and mixture editors expand in the x-direction.

Revision 22923 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Apr 1 12:34:14 2008 UTC (6 years, 9 months ago) by rdm
File length: 28729 byte(s)
Diff to previous 21565
move geom, geombuilder, geompainter and gdml to geom meta directory.

Revision 21565 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Dec 28 12:28:46 2007 UTC (7 years ago) by brun
Original Path: trunk/geombuilder/src/TGeoTabManager.cxx
File length: 28729 byte(s)
Diff to previous 21494
Functions referencing a static global cannot be inlined.

Revision 21494 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Dec 19 15:50:40 2007 UTC (7 years, 1 month ago) by brun
Original Path: trunk/geombuilder/src/TGeoTabManager.cxx
File length: 28542 byte(s)
Diff to previous 20882
Update to the class docs and index.txt files.

Revision 20882 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Nov 19 11:31:26 2007 UTC (7 years, 2 months ago) by rdm
Original Path: trunk/geombuilder/src/TGeoTabManager.cxx
File length: 27977 byte(s)
Diff to previous 19826
Set property svn:eol-style LF on all source and Makefiles. This should avoid
problems with Win32 line endings ending up in the repository. All MS tools
support LF eols fine.

Revision 19826 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Sep 19 19:56:11 2007 UTC (7 years, 4 months ago) by rdm
Original Path: trunk/geombuilder/src/TGeoTabManager.cxx
File length: 27977 byte(s)
Diff to previous 19825
imported svn:keywords Id property

Revision 19825 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Sep 19 19:49:10 2007 UTC (7 years, 4 months ago) by rdm
Original Path: trunk/geombuilder/src/TGeoTabManager.cxx
File length: 28034 byte(s)
Diff to previous 18555
remove :$ from tag line

Revision 18555 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Apr 23 09:04:52 2007 UTC (7 years, 9 months ago) by brun
Original Path: trunk/geombuilder/src/TGeoTabManager.cxx
File length: 28044 byte(s)
Diff to previous 17581
From Mihaela:
a patch including a new class for mixture editing. It can be started from the TGeoManagerEditor from the material category and works with the latest patch in TGeo from Andrei. It provides the basic functionality for creating/editing mixtures.

Revision 17581 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jan 30 11:49:15 2007 UTC (7 years, 11 months ago) by brun
Original Path: trunk/geombuilder/src/TGeoTabManager.cxx
File length: 27965 byte(s)
Diff to previous 17561
-Replace calls to gROOT->GetClass by TClass::GetClass
-Remove unused references to TROOT.h
-Add include TClass.h in classes assuming an implicit include by other classes

Revision 17561 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jan 29 15:10:49 2007 UTC (7 years, 11 months ago) by brun
Original Path: trunk/geombuilder/src/TGeoTabManager.cxx
File length: 27962 byte(s)
Diff to previous 17553
-Add include "TROOT.h" in all implementation files that were assuming
that TROOT was included via TClass.h


-In TClass.h:
 --Remove the include of TROOT.h
 --add the following static member
   static IdMap_t    *fgIdMap;          //Map from typeid to TClass pointer

 --add the following functions:
   static void           AddClass(TClass *cl);
   static void           RemoveClass(TClass *cl);

 --Replace the inline definitions of GetClass functions by
   template <typename T> TClass* GetClass(      T**       /* dummy */) { return GetClass((T*)0); }
   template <typename T> TClass* GetClass(const T**       /* dummy */) { return GetClass((T*)0); }

-In TClass.cxx:
 --Instead of forwarding the calls to gROOT->GetClass, move the code
  originally in TROOT in the TClass::GetClass functions
 --Move class TMapTypeToTClass from TROOT to TClass.

Revision 17553 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jan 29 10:06:51 2007 UTC (7 years, 11 months ago) by brun
Original Path: trunk/geombuilder/src/TGeoTabManager.cxx
File length: 27942 byte(s)
Diff to previous 16354
Add explicit inclusion of "TClass.h" in view of a future removal of TClass.h
from TQObject.h.

Revision 16354 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Sep 27 08:48:18 2006 UTC (8 years, 3 months ago) by rdm
Original Path: trunk/geombuilder/src/TGeoTabManager.cxx
File length: 27922 byte(s)
Diff to previous 16339
From Matevz:
Avoid reparenting during ged-frame creation.

Revision 16339 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Sep 25 13:45:17 2006 UTC (8 years, 4 months ago) by rdm
Original Path: trunk/geombuilder/src/TGeoTabManager.cxx
File length: 27561 byte(s)
Diff to previous 15811
From Matevz:
Changes required to use new TGedEditor/Frame implementation in
geombuilder module.

Revision 15811 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jul 14 20:00:52 2006 UTC (8 years, 6 months ago) by brun
Original Path: trunk/geombuilder/src/TGeoTabManager.cxx
File length: 30009 byte(s)
Diff to previous 15528
From Mihaela
a tar file with the pictures inside all shapes .cxx files. The .diff attached contains the modifications for including a new shape editor: TGeoCtubEditor
There are also few small fixes in the layout and in the undo behavior for tube segment and cone segment.

Revision 15528 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Jun 24 08:26:42 2006 UTC (8 years, 7 months ago) by brun
Original Path: trunk/geombuilder/src/TGeoTabManager.cxx
File length: 29566 byte(s)
Diff to previous 15527
From Mihaela:
a small patch that fixes volume editor behaviour after the latest modifications in Ged by Ilka (Layout() for main Ged frame moved).

Revision 15527 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jun 23 16:00:13 2006 UTC (8 years, 7 months ago) by brun
Original Path: trunk/geombuilder/src/TGeoTabManager.cxx
File length: 29557 byte(s)
Diff to previous 15475
From Mihaela:
5 new shape editors (TGeoEltu, TGeoHype, TGeoPara, TGeoPcon, TGeoTorus)
- modifying shape parameters in their editors allow painting in the same time
- fixed editors destructors
- fixed a seg fault in selection dialogs

Revision 15475 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jun 20 06:33:20 2006 UTC (8 years, 7 months ago) by brun
Original Path: trunk/geombuilder/src/TGeoTabManager.cxx
File length: 34155 byte(s)
Diff to previous 15473
Fix coding conventions violations

Revision 15473 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jun 19 14:58:48 2006 UTC (8 years, 7 months ago) by brun
Original Path: trunk/geombuilder/src/TGeoTabManager.cxx
File length: 34142 byte(s)
Diff to previous 15405
From Mihaela Gheata:
I added comments for all methods. there is also a patch to TGeoPcon class in the diff for being able to change the number of Z sections(Nz).

Revision 15405 - (view) (download) (as text) (annotate) - [select for diffs]
Added Tue Jun 13 15:27:12 2006 UTC (8 years, 7 months ago) by brun
Original Path: trunk/geombuilder/src/TGeoTabManager.cxx
File length: 33608 byte(s)
From Andrei and Mihaela Gheata:

New package to edit/create detector geometries

1. Using the geombuilder with a geometry from scratch:

root[0] new TGeoManager("test", "test geometry builder");
root[1] gGeoManager->Edit();

In this case forcing TGeoManager::Edit() is mandatory because the geometry cannot be yet drawn in the pad. There are few steps to create a valid geometry:
- create at least one material from the "Materials" shutter item category. Generally for creating objects, the interface is always in the TGeoManagerEditor in different categories - one should just provide a name and requested params.
- create a shape for the top volume within the "Shapes" category. For the moment the shapes that have editors are: Box, Trd1, Trd2, Tube, Tube segment, Cone, Cone segment and Sphere. More to come...
- create a medium from one of the existing materials from the "Medium" category. You will notice that some categories as: "Volume" and "Medium" are inactive at the beginning because at that time there is no material yet (for making a medium) and no shape (for making a volume). These categories are dynamically activated once all the required components are defined.
- create a volume from the "Volumes" category. You will notice that contrary to the other editors, the volume editor is opened in a tab, not transient - this is because it is more complex.
- go back to "General" category and select the newly created volume as the top one (you can do it also from the volume category)


This is just to start. To create really some hierarchy, one has to create several other volumes and the matrices to position them. Once this is done, use the volume editor interface to:
- add/remove daughters, change shape, edit position of daughters
- change visualization settings
- divide the volume (only if there are no daughters yet)

The TGeoManagerEditor GUI allows:
- editing the geometry name/title, setting top volume, closing the geometry, exporting the geometry as .root or .C file
- creation of new elements (shapes, volumes, materials, media, matrices)
- editing existing elements (they can be browsed from transient dialogs)

IMPORTANT: To access the manager editor if this is not in the "Style" tab one can either:
- left-click on the top-right corner of the pad if something is drawn
- call gGeoManager->Edit()

2. Editing an existing geometry (probably you should start with this first)

- Just load the geometry in memory:
     root[0] .x $ROOTSYS/tutorials/rootgeom.C
-  draw some volume (if not already) then do View/Editor, then click on the top-right corner to get the manager editor. Clicking a volume will open the volume editor in the Style tab, but here I could not get rid of the TAttFill editor that is useless for volumes.
- work with existing TGeoManagerEditor categories as explained at 1.

This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.

  Diffs between and
  Type of Diff should be a

Sort log by:

Subversion Admin
ViewVC Help
Powered by ViewVC 1.0.9