- Jan 30, 2007
-
-
Rene Brun authored
-Remove unused references to TROOT.h -Add include TClass.h in classes assuming an implicit include by other classes git-svn-id: http://root.cern.ch/svn/root/trunk@17581 27541ba8-7e3a-0410-8455-c3a389f83636
-
- Jan 29, 2007
-
-
Rene Brun authored
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. git-svn-id: http://root.cern.ch/svn/root/trunk@17561 27541ba8-7e3a-0410-8455-c3a389f83636
-
Rene Brun authored
from TQObject.h. git-svn-id: http://root.cern.ch/svn/root/trunk@17553 27541ba8-7e3a-0410-8455-c3a389f83636
-
- Jan 23, 2007
-
-
Fons Rademakers authored
fixes in TGButton and TGButtonGroup classes related to double emitted signals (bug #23011). In addition are follow-up changes in different GUI classes where a work-around was used by connecting the slots to the signals Released or Pressed instead of Clicked. git-svn-id: http://root.cern.ch/svn/root/trunk@17477 27541ba8-7e3a-0410-8455-c3a389f83636
-
- Jan 15, 2007
-
-
Rene Brun authored
of the gui ged geombuilder fitpanel proff, etc packages git-svn-id: http://root.cern.ch/svn/root/trunk@17320 27541ba8-7e3a-0410-8455-c3a389f83636
-
- Sep 28, 2006
-
-
Rene Brun authored
Fix coding conventions violations git-svn-id: http://root.cern.ch/svn/root/trunk@16359 27541ba8-7e3a-0410-8455-c3a389f83636
-
- Sep 27, 2006
-
-
Fons Rademakers authored
Avoid reparenting during ged-frame creation. git-svn-id: http://root.cern.ch/svn/root/trunk@16354 27541ba8-7e3a-0410-8455-c3a389f83636
-
Fons Rademakers authored
add comment to ClassDef. git-svn-id: http://root.cern.ch/svn/root/trunk@16351 27541ba8-7e3a-0410-8455-c3a389f83636
-
- Sep 26, 2006
-
-
Fons Rademakers authored
git-svn-id: http://root.cern.ch/svn/root/trunk@16349 27541ba8-7e3a-0410-8455-c3a389f83636
-
Fons Rademakers authored
Removed class TGedElement that is no longer needed by the geom-editors. git-svn-id: http://root.cern.ch/svn/root/trunk@16344 27541ba8-7e3a-0410-8455-c3a389f83636
-
- Sep 25, 2006
-
-
Fons Rademakers authored
Changes required to use new TGedEditor/Frame implementation in geombuilder module. git-svn-id: http://root.cern.ch/svn/root/trunk@16339 27541ba8-7e3a-0410-8455-c3a389f83636
-
Fons Rademakers authored
New class TGeoGedFrame: a base-class for geo-editors providing common functionality (access to TGeoTabManager). git-svn-id: http://root.cern.ch/svn/root/trunk@16338 27541ba8-7e3a-0410-8455-c3a389f83636
-
- Jul 14, 2006
-
-
Rene Brun authored
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. git-svn-id: http://root.cern.ch/svn/root/trunk@15811 27541ba8-7e3a-0410-8455-c3a389f83636
-
- Jul 12, 2006
-
-
Rene Brun authored
3 new shape editors: TGeoTrapEditor, TGeoGtraEditor and TGeoPgonEditor. git-svn-id: http://root.cern.ch/svn/root/trunk@15772 27541ba8-7e3a-0410-8455-c3a389f83636
-
- Jun 25, 2006
-
-
Rene Brun authored
git-svn-id: http://root.cern.ch/svn/root/trunk@15533 27541ba8-7e3a-0410-8455-c3a389f83636
-
- Jun 24, 2006
-
-
Rene Brun authored
git-svn-id: http://root.cern.ch/svn/root/trunk@15529 27541ba8-7e3a-0410-8455-c3a389f83636
-
Rene Brun authored
a small patch that fixes volume editor behaviour after the latest modifications in Ged by Ilka (Layout() for main Ged frame moved). git-svn-id: http://root.cern.ch/svn/root/trunk@15528 27541ba8-7e3a-0410-8455-c3a389f83636
-
- Jun 23, 2006
-
-
Rene Brun authored
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 git-svn-id: http://root.cern.ch/svn/root/trunk@15527 27541ba8-7e3a-0410-8455-c3a389f83636
-
- Jun 20, 2006
-
-
Rene Brun authored
git-svn-id: http://root.cern.ch/svn/root/trunk@15475 27541ba8-7e3a-0410-8455-c3a389f83636
-
- Jun 19, 2006
-
-
Rene Brun authored
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). git-svn-id: http://root.cern.ch/svn/root/trunk@15473 27541ba8-7e3a-0410-8455-c3a389f83636
-
- Jun 13, 2006
-
-
Fons Rademakers authored
git-svn-id: http://root.cern.ch/svn/root/trunk@15415 27541ba8-7e3a-0410-8455-c3a389f83636
-
Rene Brun authored
git-svn-id: http://root.cern.ch/svn/root/trunk@15408 27541ba8-7e3a-0410-8455-c3a389f83636
-
Rene Brun authored
git-svn-id: http://root.cern.ch/svn/root/trunk@15407 27541ba8-7e3a-0410-8455-c3a389f83636
-
Rene Brun authored
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. git-svn-id: http://root.cern.ch/svn/root/trunk@15405 27541ba8-7e3a-0410-8455-c3a389f83636
-