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

Log of /trunk/geom/geom/src/TGeoBoolNode.cxx

Parent Directory Parent Directory


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

Revision 48992 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Mar 28 15:26:26 2013 UTC (21 months, 3 weeks ago) by rdm
File length: 52652 byte(s)
Diff to previous 48928
From Lifeng Sun:
The attached patchset fixes a bunch of typo in the source:
0001-succes-success.patch
0002-preceed-preced.patch
0003-informations-information.patch
0004-childs-children.patch
0005-avaliable-available.patch
0006-writeable-writable.patch
0007-comand-command.patch
0008-unkown-unknown.patch
0009-wierd-weird.patch
0010-wheter-whether.patch
0011-unecessary-unnecessary.patch
0012-splitted-split.patch
0013-registerd-registered.patch
0014-recieve-receive.patch
0015-processsing-processing.patch
0016-ouput-output.patch
0017-mutiple-multiple.patch
0018-lenght-length.patch
0019-interupted-interrupted.patch
0020-independant-independent.patch
0021-inconsistant-inconsistent.patch
0022-expresion-expression.patch
0023-explicitely-explicitly.patch
0024-enviroment-environment.patch
0025-deafult-default.patch
0026-continous-continuous.patch
0027-completly-completely.patch
0028-commited-committed.patch
0029-choosen-chosen.patch
0030-backgroud-background.patch
0031-auxilliary-auxiliary.patch
0032-authentification-authentication.patch
0033-appropiate-appropriate.patch
0034-an-other-another.patch
0035-environement-environment.patch
0036-targetting-targeting.patch
0037-suppported-supported.patch
0038-paramater-parameter.patch

Revision 48928 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Mar 25 15:45:11 2013 UTC (22 months ago) by agheata
File length: 52651 byte(s)
Diff to previous 48001
Large scale cleanup in shapes navigation interfaces adding const modifier for point and direction parameters passed as input arguments.

Revision 48001 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Dec 13 09:45:31 2012 UTC (2 years, 1 month ago) by agheata
File length: 52507 byte(s)
Diff to previous 47228
Fixes for missed shapes when resizing thread data arrays via TGeoManager::SetMaxThreads

Revision 47228 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Nov 13 17:09:38 2012 UTC (2 years, 2 months ago) by agheata
File length: 52379 byte(s)
Diff to previous 45984
Added possibility to prevent known overlaps produced by misalignment by assignig priority to one of the candidates. This is not using the error prone AddNodeOverlap method, but composite shapes. One has to create the unprioritized shape as the subtraction of the original one and the shape of the node to prioritize, then position this composite shape colume with identity matrix. The prioritized volume should be added as node using the same local matrix as the one used in the subtraction operation. The matrix itself has to be declared shared via SetShared() method. Added few parameters to the RandomRays method.

Revision 45984 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Sep 14 09:57:15 2012 UTC (2 years, 4 months ago) by agheata
File length: 50807 byte(s)
Diff to previous 45983
Fixed a warning

Revision 45983 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Sep 14 09:53:35 2012 UTC (2 years, 4 months ago) by agheata
File length: 50897 byte(s)
Diff to previous 44507
Important fix for composite shapes for a bug affecting ComputeNormal when a call to FindNode or Safety is issued after FindNextBoundary. Affected the transport of optical photons with the G4 interface

Revision 44507 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jun 4 12:30:41 2012 UTC (2 years, 7 months ago) by axel
File length: 51048 byte(s)
Diff to previous 42999
Remove
  using namespace std;
from Riostream.h, which has huge consequences for all of ROOT.
Riostream.h is now a simple wrapper for fstream, iostream, iomanip for backward compatibility; Riosfwd.h simply wraps iosfwd.

Because of templates and their inline functions, Riostream.h needed to be included in headers, too (e.g. TParameter.h), which violated the assumption that Riostream.h is not exposing its using namespace std to headers.
ROOT now requires R__ANSISTREAM, R__SSTREAM, which does not change the set of supported compilers.

Without "using namespace std", several identifiers are now prefixed by std::; e.g. roofit/* source files now have a using namespace std to keep their coding style.
TFile::MakeProject() now generates "using namespace std" to convert the CINT-style class names into C++ ones.

Revision 42999 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Feb 14 13:42:55 2012 UTC (2 years, 11 months ago) by agheata
File length: 50998 byte(s)
Diff to previous 42459
Thread data is now pre-allocated when calling gGeoManager->SetMaxThreads(). This adds ~20MB for ALICE geometry per 100 threads, but avoids atomic allocations and thread locking. All run-time geometry locks removed. Thread id stored now using static thread__ allocator, faster and lock free for subsequent calls issued by the same thread.

Revision 42459 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Dec 10 17:02:27 2011 UTC (3 years, 1 month ago) by agheata
File length: 50284 byte(s)
Diff to previous 42321
Restored old style locking since the new one by Stefan was not really safe

Revision 42321 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Nov 30 12:46:10 2011 UTC (3 years, 1 month ago) by agheata
File length: 50393 byte(s)
Diff to previous 41959
Avoid locking if the thread data was already alocated for all threads. (S. Lohn)

Revision 41959 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Nov 14 10:48:45 2011 UTC (3 years, 2 months ago) by agheata
File length: 50251 byte(s)
Diff to previous 41180
Lock methods ClearThreadData

Revision 41180 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Oct 6 08:48:58 2011 UTC (3 years, 3 months ago) by agheata
File length: 50209 byte(s)
Diff to previous 38558
Thread safe Boolean nodes.

Revision 38558 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Mar 22 16:05:42 2011 UTC (3 years, 10 months ago) by agheata
File length: 48762 byte(s)
Diff to previous 37482
fix for infinite loop in TGeoIntersection::DistFromOutside observed by Belle2 using geant4_vmc

Revision 37482 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Dec 10 09:04:19 2010 UTC (4 years, 1 month ago) by agheata
File length: 48489 byte(s)
Diff to previous 35674
Fixed TGeoIntersection::DistFromOutside() when starting from a boundary

Revision 35674 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Sep 23 15:13:30 2010 UTC (4 years, 4 months ago) by agheata
File length: 48233 byte(s)
Diff to previous 32690
Fixed FORWARD_NULL

Revision 32690 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Mar 21 08:47:56 2010 UTC (4 years, 10 months ago) by brun
File length: 48210 byte(s)
Diff to previous 32363
From Andrei:
This patch implements SetPoints for composite shapes, allowing to have a mesh of points for composites. Not having this was limiting the overlap checker to non-composites.

Revision 32363 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Feb 18 10:24:46 2010 UTC (4 years, 11 months ago) by brun
File length: 44750 byte(s)
Diff to previous 27731
From Andrei:
This patch adds a protection in TGeoUnion::DistFromInside() when the starting point is outside but very close to the boundary. This was affecting G4 simulation of ITS in Alice.

Revision 27731 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Mar 9 17:40:56 2009 UTC (5 years, 10 months ago) by brun
File length: 43937 byte(s)
Diff to previous 27455
From Andrei:
- Removed casting away constness in headers, and removed == and != between doubles in all geom code (Philippe's suggestion)
- Info messages suppressed now by the static TGeoManager::SetVerboseLevel(0). We should probably call this at the beginning of stressGeometry.cxx
- Fine tune in TGeoIntersection::DistFromInside() that solves inner boundary crossings in case the starting point is very close to boundary
- TGeoManager::FindInCluster() gives now priority (when selecting between MANY candidates) to the node that was proposed by FindNextBoundary()

Revision 27455 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Feb 16 11:22:21 2009 UTC (5 years, 11 months ago) by brun
File length: 43917 byte(s)
Diff to previous 27438
From Andrei:
- Protection added in TGeoArb8::DistFromInside() which could wrongly return the distance to one of the Z endcaps when starting from lateral boundaries. Removed unnecesarry intermediat truncations in computations of distance to inside/outside
- TGeoUnion::DistFromInside() fixed to give the full distance to outside rather than the one from the current component.

Revision 27438 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Feb 12 16:59:42 2009 UTC (5 years, 11 months ago) by brun
File length: 43633 byte(s)
Diff to previous 23839
From Andrei:
- Fix for TGeoSubtraction::DistFromOutside(). When the subtracted shape had a common boundary with the one it was subtracted from it created a numerical instability.

Revision 23839 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed May 14 10:02:37 2008 UTC (6 years, 8 months ago) by brun
File length: 43610 byte(s)
Diff to previous 23809
Fix a compilation warning
geom\geom\src\TGeoBoolNode.cxx(825) : warning C4804: '~' : unsafe use of type 'bool' in operation
geom\geom\src\TGeoBoolNode.cxx(825) : warning C4805: '&' : unsafe mix of type 'Bool_t' and type 'int' in operation

Revision 23809 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue May 13 07:34:38 2008 UTC (6 years, 8 months ago) by brun
File length: 43609 byte(s)
Diff to previous 22923
From Andrei:
- adding a method AddTrack(TVirtualGeoTrack *) to TGeoManager.
- TGeoBoolNode::Safety(point, in) returns now 0. in case the tracking point is not matching the input <in> condition - caused track propagation outside geometry limits with g4root
- Improvements in checking overlaps by sampling for TGeoNode - using now voxels.

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: 43417 byte(s)
Diff to previous 21494
move geom, geombuilder, geompainter and gdml to geom meta directory.

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/geom/src/TGeoBoolNode.cxx
File length: 43417 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/geom/src/TGeoBoolNode.cxx
File length: 42262 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/geom/src/TGeoBoolNode.cxx
File length: 42262 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/geom/src/TGeoBoolNode.cxx
File length: 42317 byte(s)
Diff to previous 17306
remove :$ from tag line

Revision 17306 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jan 12 16:03:17 2007 UTC (8 years ago) by brun
Original Path: trunk/geom/src/TGeoBoolNode.cxx
File length: 42327 byte(s)
Diff to previous 15672
   TMath::Abs, TMath::Min, TMath::Max, TMath::Sign, TMath::Range
These functions are unfortunately not defined in a standard way in std::

This include is referenced by a new version of TMath.h.
As a result, TMath.h is back compatible with the previous version.

TMathBase.h is used in place of TMath.h in all the classes
that will go into the future miniCore library.
TMath.h and the TMath implementation will go into a new math sub-directory.

TString.h uses TMathBase.h instead of TMath.h.
As a result, it was necessary to include "TMath.h" in some classes
assuming that TMath was included via TString and using other functions
than the ones defined in TMathBase.h
 ----------------------------------------------------------------------

Revision 15672 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jul 3 16:10:46 2006 UTC (8 years, 6 months ago) by brun
Original Path: trunk/geom/src/TGeoBoolNode.cxx
File length: 42308 byte(s)
Diff to previous 14409
from Axel:
Change the signature of SavePrimitive from

  void SavePrimitive(ofstream &out, Option_t *option);
to
  void SavePrimitive(ostream &out, Option_t *option = "");

With this change one can do, eg
   myhist.SavePrimitive(std::cout);

WARNING: do rm -f tree/src/*.o

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/TGeoBoolNode.cxx
File length: 42276 byte(s)
Diff to previous 13918
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 13918 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jan 25 10:17:30 2006 UTC (9 years ago) by brun
Original Path: trunk/geom/src/TGeoBoolNode.cxx
File length: 42263 byte(s)
Diff to previous 13282
From Andrei:
I had introduced an unitialized variable with my previous patch. I attached the
fix.
In attachment there is also a fix for unions having a common exit boundary - infinite
loop in TGeoUnion::DistToOutside().

Revision 13282 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Nov 18 16:07:59 2005 UTC (9 years, 2 months ago) by brun
Original Path: trunk/geom/src/TGeoBoolNode.cxx
File length: 41939 byte(s)
Diff to previous 12996
From Andrei:
a patch fixing RS2 and RS4 coding conventions violations..

Revision 12996 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Oct 21 13:01:58 2005 UTC (9 years, 3 months ago) by brun
Original Path: trunk/geom/src/TGeoBoolNode.cxx
File length: 41386 byte(s)
Diff to previous 11866
From Andrei:
fix for the bug (trd1 & trd2) + a fix related to assemblies including
composite shapes.

Revision 11866 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed May 25 14:25:17 2005 UTC (9 years, 8 months ago) by brun
Original Path: trunk/geom/src/TGeoBoolNode.cxx
File length: 41240 byte(s)
Diff to previous 11785
From Richard Maunder:
Major changes to GL viewer to support:

i) Logical/Physical shape pairings
ii) Level of detail (LOD) scheme (TGLSphere only using at present)
iii) Common display list cache
iv) Scene rebuilds for large geometries
v) Some basic interactivity improvements - draw timeouts, drop low LOD
shapes etc
vi) New camara interactions:

Left Mouse: Rotate
Middle Mouse: Truck (pan parallel to camera film plane)
Right Mouse: Side-side drag dolly/zoom
Double click any button to reset the camera.

The previous pan with arrow keys, and zoom on mouse wheel are still
supported.

Camera interaction is default in viewer. These extra camera modes mean
there are not enough mouse buttons for previous right context/select.
To select / invoke context menu use Shift+Left Button and Shift+Right
Button respectively.

Revision 11785 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri May 13 16:20:38 2005 UTC (9 years, 8 months ago) by brun
Original Path: trunk/geom/src/TGeoBoolNode.cxx
File length: 40993 byte(s)
Diff to previous 11638
From Mihaela Gheata:
a patch with some fixes in SavePrimitive:

- shapes have now unique pointer names
- matrices used in composite shapes get registered to TGeoManager
- fix in TGeoCompositeShape::SavePrimitive, added
TGeoBoolNode::SavePrimitive

Revision 11638 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Apr 20 15:22:54 2005 UTC (9 years, 9 months ago) by brun
Original Path: trunk/geom/src/TGeoBoolNode.cxx
File length: 37879 byte(s)
Diff to previous 11488
From Andrei Gheata:
 - boundary tolerance introduced for spheres
 - few corrections related to boundary tolerance in composite shapes
 - fix for the problem reported by Sue: now the element table is not a
singleton anymore - it is owned by each TGeoManager class and has to be
retreived by calling gGeoManager->GetElementTable().
 - fix for problem with MANY's observed by Andreas Morsch in Alice ITS : some
topologies of MANY leading to different search hypothesys were not
properly checked, resulting in overlapping regions that became invisible
during tracking: now completely fixed.

Revision 11488 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Apr 5 10:17:00 2005 UTC (9 years, 9 months ago) by brun
Original Path: trunk/geom/src/TGeoBoolNode.cxx
File length: 36104 byte(s)
Diff to previous 11480
From Andrei Gheata:
- TGeoCone/TGeoConeSeg::ComputeNormal() - fix the Oz component
- TGeoBoolNode: fast computation of normal

Revision 11480 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Apr 4 09:29:30 2005 UTC (9 years, 9 months ago) by brun
Original Path: trunk/geom/src/TGeoBoolNode.cxx
File length: 33578 byte(s)
Diff to previous 11473
From Timur:
Fix for nested composite shapes (should solve LHCb problem)

Revision 11473 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Apr 1 13:53:18 2005 UTC (9 years, 9 months ago) by brun
Original Path: trunk/geom/src/TGeoBoolNode.cxx
File length: 33369 byte(s)
Diff to previous 11272
First attempt to introduce new Timur's code supporting composite shapes.
This code must still be validated on non Linux platforms.

Revision 11272 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Mar 9 18:19:27 2005 UTC (9 years, 10 months ago) by brun
Original Path: trunk/geom/src/TGeoBoolNode.cxx
File length: 31338 byte(s)
Diff to previous 10498
From Richard Maunder:

Changes to viewer infrastructure (TBuffer3D,TVirtualViewer3D) to
support:

i) Proper shape specific (sphere, tube, etc) descriptions in TBuffer3D
derived classes - c.f. abuse of raw tesselation blocks before.
ii) On demand filling of buffer sections as required by viewer.
iii) Support for local/master frame shapes descriptions & child object
rejection.
iv) Template/placed shapes ids - enabling viewer to detect/receive
common shapes once and just obtain the new position and id of the
duplicate.

Cleans up all producer (g3d/geom) code so no longer has an viewer
specific knowledge - Paint() methods replaced with
GetBuffer3D/FillBuffer3D methods which complete requested sections of
the buffer.

All viewer specific code now sits on the viewer implementation side of
TVirtualViewer3D. Added a TViewer3DPad class for performing the 3D draws
into pad. In future this should be merged with TView/TView3D possibly.

TBuffer3D is now stripped of functional code (aside from memory
management) and various viewer passback options there previously.
Enforced one way passing a const & to viewer.

Buffers (various types) are held as single static inside producer
function e.g. TGeoShape::GetBuffer3D (c.f. single generic buffer type
fetched from pad previously).

For g3d and geom shapes the top level geometry painter (TNode /
TGeoPainter) controlls painting process, requesting shapes to fill
buffer and passing to 3D viewer.

Exceptions are g3d's TPolyLine3D, TPolyMarker3D & TMarker3DBox. These
are 'standalone' shapes - no controlling 'painter' object. They still
implement Paint(), fill buffer and add to viewer directly.

3D viewer still held / created by pad - and pad has it's own viewer
object (TViewer3DPad).

NOTE:

1. Current scheme supports one 3D viewer only - pad, x3d or OpenGL. This
means that pad goes blank when x3d/OGL is spawned, and is updated again
when it is closed. To be revisited - need to support multiple viewers,
of multiple types - which implies explicit naming or pad controlling
enumeration.

2. OGL viewer now responds correct to modifications in pad, without
having to be reinvoked (as previously). x3d is still decoupled (as
previously) so does not rebuild - too difficult to get working.

Revision 10498 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Nov 8 09:56:24 2004 UTC (10 years, 2 months ago) by brun
Original Path: trunk/geom/src/TGeoBoolNode.cxx
File length: 31326 byte(s)
Diff to previous 10106
From Andrei Gheata:
Change names of TGeo functions with confusing names
DistToIn    ->   DistFromOutside
DistToOut ->   DistFromInside
It should be much less confusing since it specifies where the starting
point is supposed to be.

Revision 10106 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Sep 20 16:00:25 2004 UTC (10 years, 4 months ago) by brun
Original Path: trunk/geom/src/TGeoBoolNode.cxx
File length: 31199 byte(s)
Diff to previous 9751
From Andrei Gheata
- protection in TGeoHalfSpace for rays parallel to the plane
- fixes in TGeoUnion, TGeoSubtraction, TGeoIntersection in DistToIn/Out

Revision 9751 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Aug 13 07:38:11 2004 UTC (10 years, 5 months ago) by brun
Original Path: trunk/geom/src/TGeoBoolNode.cxx
File length: 31370 byte(s)
Diff to previous 9311
From Andrei Gheata:
- TGeoHalfSpace - we needed half-spaces for  FLUKA example from Alfredo,
so Mihaela implemented this shape. It can be used only as component of a
composite shape, in combination with a finite shape. Defined by:
 - a point lying on the plane
 - normal to the plane at this point, pointing outwards the half-space

Revision 9311 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jun 25 11:59:56 2004 UTC (10 years, 7 months ago) by brun
Original Path: trunk/geom/src/TGeoBoolNode.cxx
File length: 29871 byte(s)
Diff to previous 9076
From Andrei Gheata:
- TGeoShape::PaintNext() removed from all shapes (for the new
visualization system to be introduced shortly).
The new mechanism is implemented in
TGeoPainter::PaintShape (uses gGeoManager as we discussed), but it also
affect some shapes (TGeoCompositeShape at least)


- New  files: TGeoElement.h /.cxx representing a chemical element. This
is very helpful for the implementation of TFluka. Materials/mixtures can
be now built also based on this new class. An element table is kept
always transient in memory.

- Mihaela implemented the TGeoParaboloid shape: new files:
TGeoParaboloid.h/cxx.

Revision 9076 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jun 1 11:46:25 2004 UTC (10 years, 7 months ago) by brun
Original Path: trunk/geom/src/TGeoBoolNode.cxx
File length: 29812 byte(s)
Diff to previous 8565
From Andrei Gheata:
I have added the possibility to create composite shapes based on
pointers to basic shapes/matrices complementary to the option based on
an expression. The advantage with the pointers
approach is that it's less error prone and easier to debug. In addition,
it avoids complications when some names are not unique.
 The procedures to create a composite shape become:

 1) TGeoCompositeShape("myShape", "(A:m1+B:m2)*C:m3")  - based on expression
 2) TGeoUnion *u = new TGeoUnion(ptrA, ptrB, ptrM1, ptrM2);
     TGeoCompositeShape *cs1 = new TGeoCompositeShape("intermediate", u);
     TGeoIntersection *i = new TGeoIntersection(cs1, ptrC, 0
/*identity*/, ptrM3);
     TGeoCompositeShape("myShape", i);

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/TGeoBoolNode.cxx
File length: 28437 byte(s)
Diff to previous 7724
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.

Revision 7724 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Dec 11 10:34:55 2003 UTC (11 years, 1 month ago) by brun
Original Path: trunk/geom/src/TGeoBoolNode.cxx
File length: 28302 byte(s)
Diff to previous 7451
From Andrei

  kBig removed, accessible via inline : TGeoShape::Big()
  kDegRad, kRadDeg changed everywhere with TMath::RadToDeg(),
TMath::DegToRad()

Revision 7451 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Oct 20 08:46:33 2003 UTC (11 years, 3 months ago) by brun
Original Path: trunk/geom/src/TGeoBoolNode.cxx
File length: 28281 byte(s)
Diff to previous 7326
From Andrei Gheata:
- fix in pcon and pgon safety for points exactly on boundaries
- new class TGeoVolumeAssembly inheriting from TGeoVolume and
representing an assembly of volumes. This helps grouping togeather a set
of nodes (using the usual TGeoVolumeAssembly::AddNode()) without the
definition of a container. When positioning an assembly in other volume,
this will just position its own nodes inside this, without being
integrated to the logical hierarchy. The class is not well documented,
but a detailed description will go to the users guide.

Revision 7326 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Sep 23 10:33:15 2003 UTC (11 years, 4 months ago) by brun
Original Path: trunk/geom/src/TGeoBoolNode.cxx
File length: 28319 byte(s)
Diff to previous 7212
From Andrei:
  - one fix in TGeoIntersection::DistToIn() plus few minor changes
  - changed TGeoManager::FindNode() and FindNormal() to cope with G3
interface
  - few other minor changes

Revision 7212 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Sep 4 12:38:22 2003 UTC (11 years, 4 months ago) by brun
Original Path: trunk/geom/src/TGeoBoolNode.cxx
File length: 28657 byte(s)
Diff to previous 7169
From Andrei Gheata:

  - safety implemented in TGeoCompositeShape following the general scheme
  - memory usage optimization in TGeoPainter

Revision 7169 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Aug 28 14:10:20 2003 UTC (11 years, 4 months ago) by brun
Original Path: trunk/geom/src/TGeoBoolNode.cxx
File length: 26501 byte(s)
Diff to previous 7167
Set Safety to 0 before computing it.

Revision 7167 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Aug 28 12:45:10 2003 UTC (11 years, 4 months ago) by brun
Original Path: trunk/geom/src/TGeoBoolNode.cxx
File length: 26499 byte(s)
Diff to previous 5723
From Andrei Gheata:

- a couple of fixes in TGeoTrd2::DistToIn() and TGeoTorus::DistToIn()
- computation of normals for composite shapes - these can now be
visualized with raytracing.

Revision 5723 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Dec 3 16:01:41 2002 UTC (12 years, 1 month ago) by brun
Original Path: trunk/geom/src/TGeoBoolNode.cxx
File length: 22724 byte(s)
Diff to previous 5454
New version of the geometry package from Andrei:
Fixes to compile with no warnings with the option -ansi -pedantic
It also includes bug fixes for Trd1,2,  cone and pcon DistToIn/Out
algorithms.

Revision 5454 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Oct 22 07:43:12 2002 UTC (12 years, 3 months ago) by brun
Original Path: trunk/geom/src/TGeoBoolNode.cxx
File length: 22670 byte(s)
Diff to previous 5356
A few fixes to avoid compiler warnings

Revision 5356 - (view) (download) (as text) (annotate) - [select for diffs]
Added Sat Sep 28 06:39:05 2002 UTC (12 years, 3 months ago) by brun
Original Path: trunk/geom/src/TGeoBoolNode.cxx
File length: 22527 byte(s)
Forgot to add these two new files to the geom package

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