Log of /trunk/geom/geom/src/TGeoAtt.cxx
Parent Directory
Revision
14409 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Fri Mar 24 15:11:23 2006 UTC (8 years, 10 months ago) by
brun
Original Path:
trunk/geom/src/TGeoAtt.cxx
File length: 4025 byte(s)
Diff to
previous 13282
From Andrei:
a big chunk of modifications. The class most affected is TGeoPainter, but
also some external methods (e.g.in TGeoVolume).
Currently all internal loops are working with TGeoIterator. The main advantages are
that: the painter does not need to change the top volume for TGeoManager and the loops
are not longer recursive. This makes painting a process that does not affect any more
(almost) the manager class. It makes possible having parallel views of different parts
of a geometry (or different geometries)
There are also few new features:
- visualisation options can be set at the level of volumes and there are new methods
accessible from the context menu of TGeoVolume:
SetVisContainers: draw all containers
SetVisLeaves : draw only leaves
SetVisOnly : draw only this volume
These options are operational only for the current drawn volume, which is accesible
even from the pad when approaching the right edge with the mouse. The manager class
can also be accessed from the pad approaching the top right corner.
Revision
12388 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Wed Jul 27 10:32:28 2005 UTC (9 years, 5 months ago) by
brun
Original Path:
trunk/geom/src/TGeoAtt.cxx
File length: 2980 byte(s)
Diff to
previous 11076
From Andrei Gheata and Peter Hristov
Andrei:
Added support for enabling/disabling volume activity. Volumes (and/or their
daughters) can be declared inactive for tracking (e.g. invisible for all
navigation methods) by using:
TGeoVolume::SetActivity(flag);
TGeoVolume::SetActiveDaughters(flag); // by default all volumes are active
Even if some volumes are declared as inactive, one has to enable globally this
feature to act as inactive, otherwise all volumes will be active by default:
TGeoManager::DisableInactiveVolumes() // will disable all volumes declared as
'inactive'
TGeoManager::EnableInactiveVolumes() // (default) will make all volumes
trackable even if declared inactive
To check if this feature is on/off:
Bool_t TGeoManager::IsActivityEnabled()
Works for TGeoManager::FindNode and TGeoManager::FindNextBoundary, still has to
be implemented for TGeoManager::Safety
Peter:
Some un-initialized local variables triggered a strange arithmetic exception
when passed by reference to a function (even if they were assigned some value in
the function). Observed on SLC03 with gcc3.2.3. Initializing them fixes the
problem.
Revision
11076 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Wed Feb 9 13:30:27 2005 UTC (9 years, 11 months ago) by
brun
Original Path:
trunk/geom/src/TGeoAtt.cxx
File length: 2874 byte(s)
Diff to
previous 8565
From Mihaela Gheata;
- divisions supporting SavePrimitive
- main SavePrimitive loop implemented at level of TGeoVolume
- user interface: TGeoVolume::SaveAs(const char *filename); having *MENU*
- can be called from the browser for any volume:
the resulting file will have a geometry starting with the selected
volume as TOP.
- should work with TPad::SavePrimitive(ofstream out, Option_t *option)
- not tested however
From Andrei:
I did some changes in TGeoCombiTrans to support a shared rotation matrix.
I also fixed a bug in TGeoTube::GetMakeRuntimeShape (and tube segment)
that produced wrong shapes in case one of the initial parameters was negative.
Revision
8565 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Tue Apr 13 07:04:42 2004 UTC (10 years, 9 months ago) by
brun
Original Path:
trunk/geom/src/TGeoAtt.cxx
File length: 2850 byte(s)
Diff to
previous 5944
From Andrei Gheata:
- All shapes.cxx - added shape name in InspectShape() + some corrections
in error messages (Bjorn requirement)
- TGeoAtt.cxx - activity flag added (not yet taken into account by tracking)
- TGeoMaterial/Medium - added Cerenkov properties by Andreas (for FLUKA)
- TGeoVolume.h, TGeoManager.k - added *TOGGLE* 's
- TGeoPhysicalNode - possibility to align a physical node. One can
define a physical node according a path, then change its local
transformation matrix OR shape - the corresponding branch is decoupled
from the logical tree and a new trackable branch is created. A
post-alignment check for overlaps can be perfomed for the aligned node.
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.