source: trunk/source/visualization/modeling/History @ 848

Last change on this file since 848 was 842, checked in by garnier, 16 years ago

updates from the head of geant4 in order to compile

File size: 19.6 KB
Line 
1$Id: History,v 1.104 2008/01/04 21:59:15 allison Exp $
2-------------------------------------------------------------------
3
4     =========================================================
5     Geant4 - an Object-Oriented Toolkit for Simulation in HEP
6     =========================================================
7
8                      Category History file
9                      ---------------------
10This file should be used by G4 developers and category coordinators
11to briefly summarize all major modifications introduced in the code
12and keep track of all category-tags.
13It DOES NOT substitute the  CVS log-message one should put at every
14committal in the CVS repository !
15
16     ----------------------------------------------------------
17     * Reverse chronological order (last date on top), please *
18     ----------------------------------------------------------
19
20History file for visualization/modeling
21---------------------------------------
22
234th January 2008  John Allison  (modeling-V09-01-00)
24- Adapted to new BeginPrimitives2D signature.
25
2610th November 2007  John Allison  (modeling-V09-00-00)
27- Minor improvement in warning message after change of geometry.
28
2930th May 2007  John Allison  (modeling-V08-03-02)
30- Removed warnedAboutIMode from G4TrajectoryDrawerUtils.hh.  It was
31  used only in G4TrajectoryDrawerUtils.cc and gave warnings about
32  being unused in other .cc files that inculded
33  G4TrajectoryDrawerUtils.hh.  warnedAboutIMode is now a static in
34  G4TrajectoryDrawerUtils.cc.
35
3630th May 2007  John Allison  (modeling-V08-03-01)
37- Fix for SUN.
38
3922nd May 2007  John Allison  (modeling-V08-03-00)
40- Simplified G4Atts for Physical Volume Path.
41
423rd April 2007  John Allison  (modeling-V08-02-02)
43- G4PhysicalVolumeModel: Added full volume path information and
44  transformed axes to G4Atts.
45
4625th March 2007  John Allison  (modeling-V08-02-01)
47- G4PhysicalVolumeModel: Added solid dump and volume transformation to G4Atts.
48
495th January 2007  John Allison  (modeling-V08-02-00 - needs greps-V08-02-00)
50- G4PhysicalVolumeModel.cc: Bug fix:
51  o Correct treatment of ForcedLineSegmentsPerCircle when clipping.
52
5316th November 2006  John Allison  (modeling-V08-01-15)
54- Added protection for parallel worlds (zero region pointer).
55
5614th November 2006  John Allison  (modeling-V08-01-14)
57- Merged modeling-V08-01-13-branch onto main branch.
58
598th November 2006  John Allison  (modeling-V08-01-13-00)
60- On modeling-V08-01-13-branch.
61- Added G4Event pointer to modeling parameters.
62- G4TrajectoriesModel and G4HitsModel: use the above (G4VSceneHandler
63  supplies).
64
655th November 2006  John Allison  (modeling-V08-01-13)
66- Further, hopefully, complete, protection against zero materials pointer.
67
683rd November 2006  John Allison  (modeling-V08-01-12)
69- G4PhysicalVolumeModel.cc: Protected against zero material pointer.
70
713rd November 2006  John Allison  (modeling-V08-01-11)
72- G4Trajectories/HitsModel.cc: Protected against zero pointers from
73  collections.
74
752nd November 2006  John Allison  (modeling-V08-01-10)
76- G4HitsModel: Added GetCurrentHit.
77
781st November 2006  John Allison  (modeling-V08-01-09)
79- G4VModel: Removed warning messages from the virtual functions
80  GetCurrentDescription and GetCurrentTag so that there is no longer
81  a message if the concrete class does not implement.  The implementation
82  in G4VModel, which is used by default, is simply to return the global
83  description and tag.
84- Removed GetCurrentDescription and GetCurrentTag from models for which the
85  concept of "current" makes no sense or is not used:
86    G4AxesModel, G4HitsModel, G4LogicalVolumeModel, G4ScaleModel, G4TextModel.
87- G4ModelCommandsT: Minor corrections to guidance.
88
8926th October 2006  John Allison  (modeling-V08-01-08)
90- G4PhysicalVolumeModel: Changed CreateAttValues to CreateCurrentAttValues.
91- G4TrajectoriesModel: Added GetCurrentTrajectory.
92
93------------------------------------------------------
9419th September 2006  John Allison  (modeling-V08-01-07)
95- G4ModelingParameters: Added ExplodeCentre
96- G4PhysicalVolumeModel.cc: Programmed ExplodeCentre.
97
9817th September 2006 Jane Tinslay
99- Shift an assert from G4AttributeFilterT to G4AttFilterUtils - was
100  causing problems with XCode 2.0
101
102------------------------------------------------------
10315th September 2006  John Allison  (modeling-V08-01-06)
104- G4PhysicalVolumeModel.ccChanged "Bookkeeping" to "Physics
105
10614th September 2006 Jane Tinslay
107- Fixes for sun
108
10913th September 2006  John Allison
110- G4ModelingParameters: Improved setting and access to explode factor.
111- G4PhysicalVolumeModel.cc:
112  o Implemented explode factor(radial move) feature for top level drawn
113    volumes.
114- G4TrajectoriesModel.cc: Improved debug checking and printing of G4Atts.
115- G4ModelCommandUtils.hh, G4ModelCommandsT.hh:
116  o  Re-instate setTimeSliceInterval command.
117
11812th September 2006 Jane Tinslay
119- Add attribute based trajectory drawing & filtering, and attribute based
120  hit filtering
121
122---------------------------------------------------
12327th August 2006  John Allison  (modeling-V08-01-05)
124- G4ModelingParameters: Added warning flag and section/cutaway polyhedron.
125- G4PhysicalVolumeModel:
126  o Acts on warning flag from G4ModelingParameters.
127  o Added enum ClippingMode {subtraction, intersection};
128  o Equipped for generic sectioning (DCUT) and cutaways.
129- G4TrajectoryDrawerUtils::DrawWithTime:
130  o Made use of G4VisAttributes time range.
131  o Tidied.
132
13326th August 2006  John Allison  (modeling-V08-01-04 - requires greps-V08-01-03)
134- G4TrajectoryDrawerUtils.cc: Fixed compilation warning.
135
13625th August 2006 Jane Tinslay
137- Follow G4VFilter const change (requires greps-V08-01-03).
138
13916th August 2006  John Allison  (modeling-V08-01-03)
140- G4TrajectoryDrawerUtils.cc: Improved robustness of time slicing.
141- G4ModelCommandsT.hh: In class G4ModelCmdSetTimeSliceInterval:
142  cmd->SetUnitCategory("Time").
143- G4TrajectoriesModel.cc: Improved debug statement.
144
14514th August 2006  John Allison  (modeling-V08-01-02)
146- G4ModelApplyCommandsT.hh: Added G4ModelCmdApplyDoubleAndUnit.
147- G4ModelCommandsT.hh: Added G4ModelCmdSetTimeSliceInterval.
148- G4VisTrajContext: Added TimeSliceInterval.
149- G4TrajectoryModelFactories: Instantiated G4ModelCmdSetTimeSliceInterval.
150- G4TrajectoryDrawerUtils.cc: Added time slicing.
151
15210th July 2006  John Allison  (modeling-V08-01-01)
153- Co-works with greps-V08-01-01.
154- G4VModel: Removed GetG4PhysicalVolumeModel.
155- G4ModelingParameters:
156  o Removed RepStyle, ViewGeom, ViewHits and ViewDigis (not used).
157  o Reduced number of constructors.
158- G4PhysicalVolumeModel:
159  o Removed Establish/DecommissionSpecials to conform with greps-V08-01-01.
160  o Rationalised G4Atts: Added GetAttDefs/CreateAttValues.
161
1623rd July 2006  John Allison  (modeling-V08-01-00)
163- Needs greps-V08-01-00.
164- G4PhysicalVolumeModel::G4PhysicalVolumeNodeID: Added GetNonCulledDepth.
165- G4PhysicalVolumeModel.cc: Also added G4Atts for solids.
166- G4TrajectoriesModel.cc: Added debug code.
167
1687th June 2006  John Allison (modeling-V08-00-14)
169- G4PhysicalVolumeModel.cc: Added protection for zero vis atts.
170
1716th June 2006  John Allison (modeling-V08-00-13)
172- G4TrajectoryChargeFilter.cc: Added #include <sstream> for Sun compiler.
173- G4PhysicalVolumeModel::Validate: Relaxed requirement for modeling parameters.
174  (Caused crash after change of geometry.)
175
1762nd June 2006 Joseph Perl (modeling-V08-00-12)
177- G4VisTrajContext: change default of point sizes from 0 to 2
178
17930th May 2006 Jane Tinslay
180- Add G4TrajectoryChargeFilter and G4TrajectoryOriginVolumeFilter
181
18225th May 2006  John Allison  (modeling-V08-00-11)
183- G4VModelFactory.hh: Indent printing of models.
184- G4ModelApplyCommandsT.hh: Fix trivial compiler warnings.
185
18622nd May 2006  John Allison  (modeling-V08-00-10)
187- Remove dependency on Run.
188- G4ModelingParameters.cc: Protect operator<< for zero fpDefaultVisAttributes.
189
19012th May 2006  John Allison  (modeling-V08-00-09)
191- G4TrajectoriesModel and G4HitsModel: Removed dependency on G4RunManager.
192  Uses G4RunManagerKernel.  Needs event-V08-00-01.
193- G4CallbackModel: Added G4VGraphicsScene argument to operator().
194
1954th May 2006  Joseph Perl  (modeling-V08-00-08)
196- Add missing assert to G4VTrajectoryModel needed by Windows.
197
1984th May 2006  John Allison
199- Improved protection for null models and parameters.
200
2012nd May 2006 Jane Tinslay
202- Add context to trajectory drawers. Intended to replace imode.
203  Allows to configure default drawing style for lines, step and
204  auxiliary points. For example, colours, visibility, point sizes,
205  fill styles..
206- Add generic drawer, G4TrajectoryGenericDrawer. Draws all trajectories
207  in the same style, based on its default context.
208- Update generic commands
209- Add verbose to drawers
210
21121st April 2006 Jane Tinslay  (modeling-V08-00-07)
212- Get rid of some warning messages from G4ModelCommandsT
213  when compiling on Linux
214- Add Print method to G4VModelFactory
215
21619th April 2006  John Allison  (modeling-V08-00-06 - needs greps-V08-00-02)
217- G4BoundingSphereScene.hh, G4PhysicalVolumeMassScene.hh and
218  G4PhysicalVolumeSearchScene.hh;  Added dummy Begin/EndPrimitives2D
219  for greps-V08-00-02.
220- G4PhysicalVolumeModel.cc: Improved legibility and efficiency of
221  culling algorithm.
222
22328th March 2006 Jane Tinslay (jst28032006)
224- Add G4TrajectoryFilterFactories and G4TrajectoryParticleFilter
225  for trajectory filtering.
226- Add more generic commands to G4ModelCommandsT
227
22828th March 2006  John Allison (modeling-V08-00-05)
229- G4PhysicalVolumeMassScene and G4PhysicalVolumeSearchScene:
230  o Removed EstablishSpecials.
231- G4PhysicalVolumeModel:
232  o GetTopPhysicalVolume, GetCurrentPV, GetCurrentLV,
233    GetCurrentMaterial: return non-const pointers.  (It has proved
234    impossibly difficult to deal with const pointers.)
235  o Modified for new G4PhysicalVolumeSearchScene constructor.
236- G4BoundingSphereScene: Removed use of GetG4PhysicalVolumeModel (uses
237  dynamic cast instead).
238
23924th March 2006 Jane Tinslay (jst24032006)
240- Add G4bool visibility parameter to trajectory draw
241  models "Draw" method.
242 
24316th March 2006 Jane Tinslay (jst16032006)
244- Template commands and colour map used in trajectory models
245- Introduce G4TrajectoryDrawByOriginVolume
246
24714th March 2006  John Allison (modeling-V08-00-04)
248- G4PhysicalVolumeModel::G4PhysicalVolumeNodeID: Added output operator<<.
249
25016th February 2006  John Allison (modeling-V08-00-03)
251- G4PhysicalVolumeModel: Minor enhancements to facilitate future
252  removal of Establish/DecommisionSpecials.
253
2548th February 2006  John Allison (modeling-V08-00-02)
255- Added DrawingStyle to G4ModelingParameters.
256- G4PhysicalVolumeModel: Fixed bug in culling of covered daughters and
257  improved readability of culling algorithm.
258
25926th January 2006  John Allison (modeling-V08-00-01)
260- G4PhysicalVolumeModel: Added capability of maintaining path of the
261  current drawn (non-culled) volume in terms of drawn (non-culled)
262  ancesters.  See G4PhysicalVolumeModel.hh for detailed description.
263- Removed some unnecessary data members and other small tidying.
264
26511th January 2006  John Allison (modeling-V08-00-00)
266- G4NullModel.cc: Changed G4Transform3D::Identity to G4Transform3D().
267
2682nd December 2005  Joseph Perl (modeling-V07-01-07)
269- Change "G4String inline" to "inline G4String" to correct compiler
270  warning in G4VTrajectoryModel.hh.
271
27230th November 2005  Gabriele Cosmo (modeling-V07-01-06)
273- Trivial fix to G4VModel for support of CLHEP-2.0.X series.
274
27528th November 2005  Jane Tinslay
276- Remove names of unused parameters to stop compiler warnings
277
27824th November 2005  John Allison (modeling-V07-01-05)
279- Set initial values for originalRMin, originalRMax to satisfy compiler
280
28123rd November 2005  Joseph Perl  (modeling-V07-01-04)
282- Tagged in preparation for Geant4 8.0
283
28423rd November 2005 Jane Tinslay
285- Enhanced trajectory implementation
286
28722nd November 2005  John Allison (modeling-V07-01-03)
288- Implemented radial replicas for G4Tubs.
289- Changed G4Transform3D::Identity to G4Transform3D().
290
29124th October 2005  John Allison (modeling-V07-01-02)
292- Added: G4VTrajectoryModel, G4VTrajectoryModelMaker, G4TrajectoryModelMaker
293  and G4TrajectoryTestModel.
294- G4VModel: cosmetic changes.
295
29613th October 2005  John Allison (modeling-V07-01-01)
297- Migrated to <sstream>.
298
29913th September 2005  John Allison (modeling-V07-01-00)
300- Fixed (non-)culling of transparent volumes.
301
3027th June 2005  John Allison (modeling-V07-00-02)
303- G4PhysicalVolumeModel: fixed case of off-origin volume.
304- G4TextModel: Further small improvement.
305
30631st May 2005  John Allison  (modeling-V07-00-01)
307- G4TextModel: Improved global tag for better identification.
308
3096th May 2005  John Allison  (modeling-V07-00-00)
310- G4PhysicalVolumeModel: SetCopyNo of replicas and paramaterised volumes.
311
3123rd March 2005  John Allison  (vis-V07-00-08)
313- Added Set methods to G4VModel.
314- Added argument to G4CallbackModel::operator()(const G4Transform3D&) so that
315  the model could implement a given transformation.  Provided default for
316  G4VUserVisAction::(const G4Transform3D& = G4Transform3D::Identity).
317
31811th November 2004  John Allison  (vis-V06-02-05)
319- Made use use of smart method GetPolyhedron for solids.  This greatly
320  speeds 2nd and subsequent drawings when kernel access is required.
321
32222nd September 2004  John Allison  (modeling-V06-02-01)
323- Changed use of deprecated G4VPhysicalVolume::GetRotation to GetRotationValue.
324- Fixed memory leak in G4PhysicalVolumeMassScene.
325
32613th September 2004  John Allison  (modeling-V06-02-00)
327- Added G4PhysicalVolumeMassScene.  From the header file:
328// Calculates the mass of a geometry tree taking into account daughters
329// up to the depth specified in the G4PhysicalVolumeModel.  Culling is
330// ignored so that all volumes are seen.
331//
332// The calculation is quite tricky, since it involves subtracting the
333// mass of that part of the mother that is occupied by each daughter and
334// then adding the mass of the daughter, and so on down the heirarchy.
335//
336// Usage for a given G4PhysicalVolumeModel* pvModel:
337//   G4PhysicalVolumeMassScene massScene;
338//   massScene.EstablishSpecials (*pvModel);
339//   pvModel->DescribeYourselfTo (massScene);
340//   G4double volume = massScene.GetVolume();
341//   G4double mass = massScene.GetMass();
342//   massScene.Reset();
343// See, for example, G4ASCIITreeSceneHandler::EndModeling().
344- Added some access functions to G4PhysicalVolumeModel:
345    GetTopPhysicalVolume, GetRequestedDepth, SetRequestedDepth.
346- Protected GetPhysicalVolumeModel when all volumes "invisible".
347
34812th November 2003  John Allison  (modeling-V05-02-02)
349- CalculateExtent always searches complete hierarchy.
350
3516th November 2003  John Allison  (modeling-V05-02-01, vis-V05-02-03)
352- GNUmakefile: rationalised.
353
3543rd November 2003  Gabriele Cosmo  (modeling-V05-02-00, vis-V05-02-02)
355- Added inclusion of G4VSolid.hh in G4LogicalVolumeModel.cc to make it self
356  consistent after header review in geometry category.
357
3584th October 2003  Gabriele Cosmo  (vis-V05-02-01)
359- GNUmakefile:
360  o added dependency to new module "geometry/navigation".
361  o replaced "digits+hits" with "digits_hits".
362- Coworks with "geometry-V05-02-00" and "digits_hits-V05-02-00".
363
36422nd September 2003  John Allison  (vis-V05-02-00, greps-V05-02-00)
365- Removed a redundant comment.
366
36720th November 2002  Gabriele Cosmo  (modeling-V04-01-00)
368- Fixed access to static data (requires "greps-V04-01-04") in
369  G4FlavoredParallelWorldModel.cc, to allow porting on Windows DLLs.
370
37111th November 2002  John Allison  (modeling-V04-00-00)
372- Added fDrawingMode data member to G4TrajectoriesModel.
373
37424th October 2002  John Allison (vis-V04-01-03)
375- Changes for AddThis(const G4VTrajectory&) and (const G4VHit&).
376
37723rd February 2002  John Allison (vis-V04-00-02)
378- Removed Begin/EndPrimitives from G4HitsModel and
379  G4TrajectoriesModel.  This was causing nested calls to
380  Begin/EndPrimitives (and thus to glNewList/EndList in OpenGL stored
381  mode), since the trajectories and hits Draw methods themselves have
382  Begin/EndPrimitives.
383
38424th August 2001  John Allison  (vis-V03-02-13)
385- Intoduced argument for printing in G4VModel::Validate(G4bool warn).
386- Changed default return value in G4VModel::Validate(G4bool) to true.
387- Invoke CalculateExtent after successful geometry change in
388  G4PhysicalVolumeModel::Validate, and other bug fixes..
389
39014th August 2001  John Allison  (vis-V03-02-11)
391- Added sceneHandler.Begin/EndPrimitives messages to models (long
392  standing bug!).
393
3949th August 2001  John Allison  (vis-V03-02-10-00)
395- Removed G4ModelingParameters::hierarchy.  It is no longer used.  The
396  textual or graphical representation of the geometry hierarchy is now
397  done in G4xxxTree classes in visua;ization/Tree.
398
39925th July 2001  John Allison  (modeling-V03-02-03)
400- Added G4VModel::GetG4PhysicalVolumeModel().
401- Added G4VModel* argument to G4BoundingSphereScene constructor.
402  Both the above are to facilitate access to a model, if it exists, and
403  to invoke methods of G4PhysicalVolumeModel if it is one.
404- Added code to curtail G4PhysicalVolumeModel search in G4BoundingSphereScene.
405
40624th July 2001  John Allison  (modeling-V03-02-02)
407- Added G4VModel::SetExtent(const G4VisExtent&).
408- Cosmetic improvements to G4BoundingSphereScene.
409- Augmented G4ScaleModel::fGlobalTag.
410
41121st July 2001  John Allison  (modeling-V03-02-01)
412- Added G4ScaleModel.
413- Fixed bug in G4BoundingSphereScene::::Accrue().
414- Also a few cosmetic changes.
415
41618th July 2001  John Allison  (modeling-V03-02-00)
417- Ensured rotation and translation of replica is restored.
418
4193rd February 2001  John Allison  (vis-V03-00-02)
420- Tidied for CodeWizard.
421
42229th May 2000  John Allison
423- Moved code for maintaining depth, physical and logical volume
424  pointers from VisitGeometryAndGetVisReps to DescribeAndDescend to
425  handle daughters of replicas correctly (Guy Barrand).
426
42722nd May 2000  John Allison  (modeling-V01-01-00)
428- Added G4VTreeGraphicsScene (DTREE).
429- Commented out pVPV->SetCopyNo(n) on Makoto's advice in
430  G4PhysicalVolumeModel.cc.
431
432vis-V01-01-01  12th April 2000  John Allison
433- Made G4PhysicalVolumeModel::DescribeSolid virtual.
434- G4PhysicalVolumeModel::DescribeSolid no longer deals with composite
435  solids - now programmed into CompositeSolid::CreatePolyhedron, where
436  CompositeSolid means G4IntersectionSolid, G4SubtractionSolid and
437  G4UnionSolid.
438- G4PhysicalVolumeModel::DescribeSolid no longer deals with displaced
439  solids - now programmed into G4DisplacedSolid::CreatePolyhedron.
440- Added G4LogicalVolumeModel::DescribeSolid, which explicitly adds
441  components of composite solids as white forced-wireframe objects.
442
443vis-V00-01-10  25th November 1999  John Allison
444- Adapted header files of modeling for Software Reference Manual.
445
446vis-01-00-05  7th February 1999  John Allison
447
448vis-01-00-05  7th February 1999  John Allison
449- Added list facility to G4PhysicalVolumeSearchScene.
450- Added virtual functions AddThis (const G4Polycone and G4Polyhedra to
451  G4BoundingSphereScene and G4PhysicalVolumeSearchScene.
452
453vis-00-04-01  25th November 1998  John Allison.
454- Added const G4VisAttributes* fpDefaultVisAttributes and access
455  functions to G4ModelingParameters.
456- Reverted to default assignment operator and copy constructor for
457  G4ModelingParameters.
458- G4PhysicalVolumeModel can now handle invisible daughters.
459
46031st August 1998  John Allison
461- Added G4VModel::Validate() and in subclasses.
462
463vis-00-02-05  27th August 1998  John Allison
464- Added G4HitsModel and G4TrajectoriesModel.
465
466vis-00-02-04  22nd August 1998  John Allison
467- Made G4Transform3D fTransform a member of G4VModel (instead of pointer).
468- Reversed order of parameters in G4VModel constructor.
469- Much bug fixing.
470
471vis-00-06-06  11th June 1998  John Allison
472- G4PhysicalVolumeModel handles parametrised solids and materials.
473
474vis-00-06-04  10th June 1998  John Allison
475- Moved G4BoundingSphereScene from management to modeling.
476- Added G4Transform3D data member.
477
478modeling-00-04-01  4th March 1998  John Allison
479- Last tag before moving to visualization.
480- Removed G4ModelingParameters:: from G4ModelingParameters.hh constructor.
481
48227th January 1998  John Allison
483- New (temporay?) category.
484- Incorporates modeling code which was in G4VScene.
Note: See TracBrowser for help on using the repository browser.