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

Last change on this file since 1152 was 1140, checked in by garnier, 15 years ago

update to CVS

File size: 20.8 KB
Line 
1$Id: History,v 1.114 2009/10/22 15:40:00 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
2322nd October 2009  John Allison  (modeling-V09-02-05 coworks greps-V09-02-02)
24- Added G4PSHitsModel for gMocren driver.
25
2621st October 2009  John Allison  (modeling-V09-02-04 coworks greps-V09-02-02)
27- G4BoundingSphereScene, G4PhysicalVolumeMassScene,
28  G4PhysicalVolumeSearchScene:
29  o Added empty AddCompound (const G4THitsMap<G4double>&) methods.
30
3110th October 2009  John Allison  (modeling-V09-02-03)
32- G4PhysicalVolumeModel: Added G4PhysicalVolumeModelTouchable.  Used in
33  ComputeMaterial.  Effective for nested parameterisations.
34
3529th September 2009  John Allison  (modeling-V09-02-02)
36- G4PhysicalVolumeModel.cc: Added warning if logical volume not defined.
37
3825th February 2009  John Allison  (modeling-V09-02-01 - needs greps-V09-02-01)
39- G4ModelApplyCommandsT: Added visManager->NotifyHandlers() after
40  application (Apply) of all commands.  Forces update of all viewers
41  after a change of model, e.g., trajectory colour, point size, etc.
42
4324th February 2009  John Allison  (modeling-V09-02-00 - needs greps-V09-02-00)
44- Added setAux/StepPtsSizeType commands (candidates: "none world screen").
45- Added unit to setAux/StepPtsSize for SizeType == world.
46
4727th July 2008  John Allison  (modeling-V09-01-01)
48- G4PhysicalVolumeSearchScene.cc: Cosmetic improvement to a message.
49
504th January 2008  John Allison  (modeling-V09-01-00)
51- Adapted to new BeginPrimitives2D signature.
52
5310th November 2007  John Allison  (modeling-V09-00-00)
54- Minor improvement in warning message after change of geometry.
55
5630th May 2007  John Allison  (modeling-V08-03-02)
57- Removed warnedAboutIMode from G4TrajectoryDrawerUtils.hh.  It was
58  used only in G4TrajectoryDrawerUtils.cc and gave warnings about
59  being unused in other .cc files that inculded
60  G4TrajectoryDrawerUtils.hh.  warnedAboutIMode is now a static in
61  G4TrajectoryDrawerUtils.cc.
62
6330th May 2007  John Allison  (modeling-V08-03-01)
64- Fix for SUN.
65
6622nd May 2007  John Allison  (modeling-V08-03-00)
67- Simplified G4Atts for Physical Volume Path.
68
693rd April 2007  John Allison  (modeling-V08-02-02)
70- G4PhysicalVolumeModel: Added full volume path information and
71  transformed axes to G4Atts.
72
7325th March 2007  John Allison  (modeling-V08-02-01)
74- G4PhysicalVolumeModel: Added solid dump and volume transformation to G4Atts.
75
765th January 2007  John Allison  (modeling-V08-02-00 - needs greps-V08-02-00)
77- G4PhysicalVolumeModel.cc: Bug fix:
78  o Correct treatment of ForcedLineSegmentsPerCircle when clipping.
79
8016th November 2006  John Allison  (modeling-V08-01-15)
81- Added protection for parallel worlds (zero region pointer).
82
8314th November 2006  John Allison  (modeling-V08-01-14)
84- Merged modeling-V08-01-13-branch onto main branch.
85
868th November 2006  John Allison  (modeling-V08-01-13-00)
87- On modeling-V08-01-13-branch.
88- Added G4Event pointer to modeling parameters.
89- G4TrajectoriesModel and G4HitsModel: use the above (G4VSceneHandler
90  supplies).
91
925th November 2006  John Allison  (modeling-V08-01-13)
93- Further, hopefully, complete, protection against zero materials pointer.
94
953rd November 2006  John Allison  (modeling-V08-01-12)
96- G4PhysicalVolumeModel.cc: Protected against zero material pointer.
97
983rd November 2006  John Allison  (modeling-V08-01-11)
99- G4Trajectories/HitsModel.cc: Protected against zero pointers from
100  collections.
101
1022nd November 2006  John Allison  (modeling-V08-01-10)
103- G4HitsModel: Added GetCurrentHit.
104
1051st November 2006  John Allison  (modeling-V08-01-09)
106- G4VModel: Removed warning messages from the virtual functions
107  GetCurrentDescription and GetCurrentTag so that there is no longer
108  a message if the concrete class does not implement.  The implementation
109  in G4VModel, which is used by default, is simply to return the global
110  description and tag.
111- Removed GetCurrentDescription and GetCurrentTag from models for which the
112  concept of "current" makes no sense or is not used:
113    G4AxesModel, G4HitsModel, G4LogicalVolumeModel, G4ScaleModel, G4TextModel.
114- G4ModelCommandsT: Minor corrections to guidance.
115
11626th October 2006  John Allison  (modeling-V08-01-08)
117- G4PhysicalVolumeModel: Changed CreateAttValues to CreateCurrentAttValues.
118- G4TrajectoriesModel: Added GetCurrentTrajectory.
119
120------------------------------------------------------
12119th September 2006  John Allison  (modeling-V08-01-07)
122- G4ModelingParameters: Added ExplodeCentre
123- G4PhysicalVolumeModel.cc: Programmed ExplodeCentre.
124
12517th September 2006 Jane Tinslay
126- Shift an assert from G4AttributeFilterT to G4AttFilterUtils - was
127  causing problems with XCode 2.0
128
129------------------------------------------------------
13015th September 2006  John Allison  (modeling-V08-01-06)
131- G4PhysicalVolumeModel.ccChanged "Bookkeeping" to "Physics
132
13314th September 2006 Jane Tinslay
134- Fixes for sun
135
13613th September 2006  John Allison
137- G4ModelingParameters: Improved setting and access to explode factor.
138- G4PhysicalVolumeModel.cc:
139  o Implemented explode factor(radial move) feature for top level drawn
140    volumes.
141- G4TrajectoriesModel.cc: Improved debug checking and printing of G4Atts.
142- G4ModelCommandUtils.hh, G4ModelCommandsT.hh:
143  o  Re-instate setTimeSliceInterval command.
144
14512th September 2006 Jane Tinslay
146- Add attribute based trajectory drawing & filtering, and attribute based
147  hit filtering
148
149---------------------------------------------------
15027th August 2006  John Allison  (modeling-V08-01-05)
151- G4ModelingParameters: Added warning flag and section/cutaway polyhedron.
152- G4PhysicalVolumeModel:
153  o Acts on warning flag from G4ModelingParameters.
154  o Added enum ClippingMode {subtraction, intersection};
155  o Equipped for generic sectioning (DCUT) and cutaways.
156- G4TrajectoryDrawerUtils::DrawWithTime:
157  o Made use of G4VisAttributes time range.
158  o Tidied.
159
16026th August 2006  John Allison  (modeling-V08-01-04 - requires greps-V08-01-03)
161- G4TrajectoryDrawerUtils.cc: Fixed compilation warning.
162
16325th August 2006 Jane Tinslay
164- Follow G4VFilter const change (requires greps-V08-01-03).
165
16616th August 2006  John Allison  (modeling-V08-01-03)
167- G4TrajectoryDrawerUtils.cc: Improved robustness of time slicing.
168- G4ModelCommandsT.hh: In class G4ModelCmdSetTimeSliceInterval:
169  cmd->SetUnitCategory("Time").
170- G4TrajectoriesModel.cc: Improved debug statement.
171
17214th August 2006  John Allison  (modeling-V08-01-02)
173- G4ModelApplyCommandsT.hh: Added G4ModelCmdApplyDoubleAndUnit.
174- G4ModelCommandsT.hh: Added G4ModelCmdSetTimeSliceInterval.
175- G4VisTrajContext: Added TimeSliceInterval.
176- G4TrajectoryModelFactories: Instantiated G4ModelCmdSetTimeSliceInterval.
177- G4TrajectoryDrawerUtils.cc: Added time slicing.
178
17910th July 2006  John Allison  (modeling-V08-01-01)
180- Co-works with greps-V08-01-01.
181- G4VModel: Removed GetG4PhysicalVolumeModel.
182- G4ModelingParameters:
183  o Removed RepStyle, ViewGeom, ViewHits and ViewDigis (not used).
184  o Reduced number of constructors.
185- G4PhysicalVolumeModel:
186  o Removed Establish/DecommissionSpecials to conform with greps-V08-01-01.
187  o Rationalised G4Atts: Added GetAttDefs/CreateAttValues.
188
1893rd July 2006  John Allison  (modeling-V08-01-00)
190- Needs greps-V08-01-00.
191- G4PhysicalVolumeModel::G4PhysicalVolumeNodeID: Added GetNonCulledDepth.
192- G4PhysicalVolumeModel.cc: Also added G4Atts for solids.
193- G4TrajectoriesModel.cc: Added debug code.
194
1957th June 2006  John Allison (modeling-V08-00-14)
196- G4PhysicalVolumeModel.cc: Added protection for zero vis atts.
197
1986th June 2006  John Allison (modeling-V08-00-13)
199- G4TrajectoryChargeFilter.cc: Added #include <sstream> for Sun compiler.
200- G4PhysicalVolumeModel::Validate: Relaxed requirement for modeling parameters.
201  (Caused crash after change of geometry.)
202
2032nd June 2006 Joseph Perl (modeling-V08-00-12)
204- G4VisTrajContext: change default of point sizes from 0 to 2
205
20630th May 2006 Jane Tinslay
207- Add G4TrajectoryChargeFilter and G4TrajectoryOriginVolumeFilter
208
20925th May 2006  John Allison  (modeling-V08-00-11)
210- G4VModelFactory.hh: Indent printing of models.
211- G4ModelApplyCommandsT.hh: Fix trivial compiler warnings.
212
21322nd May 2006  John Allison  (modeling-V08-00-10)
214- Remove dependency on Run.
215- G4ModelingParameters.cc: Protect operator<< for zero fpDefaultVisAttributes.
216
21712th May 2006  John Allison  (modeling-V08-00-09)
218- G4TrajectoriesModel and G4HitsModel: Removed dependency on G4RunManager.
219  Uses G4RunManagerKernel.  Needs event-V08-00-01.
220- G4CallbackModel: Added G4VGraphicsScene argument to operator().
221
2224th May 2006  Joseph Perl  (modeling-V08-00-08)
223- Add missing assert to G4VTrajectoryModel needed by Windows.
224
2254th May 2006  John Allison
226- Improved protection for null models and parameters.
227
2282nd May 2006 Jane Tinslay
229- Add context to trajectory drawers. Intended to replace imode.
230  Allows to configure default drawing style for lines, step and
231  auxiliary points. For example, colours, visibility, point sizes,
232  fill styles..
233- Add generic drawer, G4TrajectoryGenericDrawer. Draws all trajectories
234  in the same style, based on its default context.
235- Update generic commands
236- Add verbose to drawers
237
23821st April 2006 Jane Tinslay  (modeling-V08-00-07)
239- Get rid of some warning messages from G4ModelCommandsT
240  when compiling on Linux
241- Add Print method to G4VModelFactory
242
24319th April 2006  John Allison  (modeling-V08-00-06 - needs greps-V08-00-02)
244- G4BoundingSphereScene.hh, G4PhysicalVolumeMassScene.hh and
245  G4PhysicalVolumeSearchScene.hh;  Added dummy Begin/EndPrimitives2D
246  for greps-V08-00-02.
247- G4PhysicalVolumeModel.cc: Improved legibility and efficiency of
248  culling algorithm.
249
25028th March 2006 Jane Tinslay (jst28032006)
251- Add G4TrajectoryFilterFactories and G4TrajectoryParticleFilter
252  for trajectory filtering.
253- Add more generic commands to G4ModelCommandsT
254
25528th March 2006  John Allison (modeling-V08-00-05)
256- G4PhysicalVolumeMassScene and G4PhysicalVolumeSearchScene:
257  o Removed EstablishSpecials.
258- G4PhysicalVolumeModel:
259  o GetTopPhysicalVolume, GetCurrentPV, GetCurrentLV,
260    GetCurrentMaterial: return non-const pointers.  (It has proved
261    impossibly difficult to deal with const pointers.)
262  o Modified for new G4PhysicalVolumeSearchScene constructor.
263- G4BoundingSphereScene: Removed use of GetG4PhysicalVolumeModel (uses
264  dynamic cast instead).
265
26624th March 2006 Jane Tinslay (jst24032006)
267- Add G4bool visibility parameter to trajectory draw
268  models "Draw" method.
269 
27016th March 2006 Jane Tinslay (jst16032006)
271- Template commands and colour map used in trajectory models
272- Introduce G4TrajectoryDrawByOriginVolume
273
27414th March 2006  John Allison (modeling-V08-00-04)
275- G4PhysicalVolumeModel::G4PhysicalVolumeNodeID: Added output operator<<.
276
27716th February 2006  John Allison (modeling-V08-00-03)
278- G4PhysicalVolumeModel: Minor enhancements to facilitate future
279  removal of Establish/DecommisionSpecials.
280
2818th February 2006  John Allison (modeling-V08-00-02)
282- Added DrawingStyle to G4ModelingParameters.
283- G4PhysicalVolumeModel: Fixed bug in culling of covered daughters and
284  improved readability of culling algorithm.
285
28626th January 2006  John Allison (modeling-V08-00-01)
287- G4PhysicalVolumeModel: Added capability of maintaining path of the
288  current drawn (non-culled) volume in terms of drawn (non-culled)
289  ancesters.  See G4PhysicalVolumeModel.hh for detailed description.
290- Removed some unnecessary data members and other small tidying.
291
29211th January 2006  John Allison (modeling-V08-00-00)
293- G4NullModel.cc: Changed G4Transform3D::Identity to G4Transform3D().
294
2952nd December 2005  Joseph Perl (modeling-V07-01-07)
296- Change "G4String inline" to "inline G4String" to correct compiler
297  warning in G4VTrajectoryModel.hh.
298
29930th November 2005  Gabriele Cosmo (modeling-V07-01-06)
300- Trivial fix to G4VModel for support of CLHEP-2.0.X series.
301
30228th November 2005  Jane Tinslay
303- Remove names of unused parameters to stop compiler warnings
304
30524th November 2005  John Allison (modeling-V07-01-05)
306- Set initial values for originalRMin, originalRMax to satisfy compiler
307
30823rd November 2005  Joseph Perl  (modeling-V07-01-04)
309- Tagged in preparation for Geant4 8.0
310
31123rd November 2005 Jane Tinslay
312- Enhanced trajectory implementation
313
31422nd November 2005  John Allison (modeling-V07-01-03)
315- Implemented radial replicas for G4Tubs.
316- Changed G4Transform3D::Identity to G4Transform3D().
317
31824th October 2005  John Allison (modeling-V07-01-02)
319- Added: G4VTrajectoryModel, G4VTrajectoryModelMaker, G4TrajectoryModelMaker
320  and G4TrajectoryTestModel.
321- G4VModel: cosmetic changes.
322
32313th October 2005  John Allison (modeling-V07-01-01)
324- Migrated to <sstream>.
325
32613th September 2005  John Allison (modeling-V07-01-00)
327- Fixed (non-)culling of transparent volumes.
328
3297th June 2005  John Allison (modeling-V07-00-02)
330- G4PhysicalVolumeModel: fixed case of off-origin volume.
331- G4TextModel: Further small improvement.
332
33331st May 2005  John Allison  (modeling-V07-00-01)
334- G4TextModel: Improved global tag for better identification.
335
3366th May 2005  John Allison  (modeling-V07-00-00)
337- G4PhysicalVolumeModel: SetCopyNo of replicas and paramaterised volumes.
338
3393rd March 2005  John Allison  (vis-V07-00-08)
340- Added Set methods to G4VModel.
341- Added argument to G4CallbackModel::operator()(const G4Transform3D&) so that
342  the model could implement a given transformation.  Provided default for
343  G4VUserVisAction::(const G4Transform3D& = G4Transform3D::Identity).
344
34511th November 2004  John Allison  (vis-V06-02-05)
346- Made use use of smart method GetPolyhedron for solids.  This greatly
347  speeds 2nd and subsequent drawings when kernel access is required.
348
34922nd September 2004  John Allison  (modeling-V06-02-01)
350- Changed use of deprecated G4VPhysicalVolume::GetRotation to GetRotationValue.
351- Fixed memory leak in G4PhysicalVolumeMassScene.
352
35313th September 2004  John Allison  (modeling-V06-02-00)
354- Added G4PhysicalVolumeMassScene.  From the header file:
355// Calculates the mass of a geometry tree taking into account daughters
356// up to the depth specified in the G4PhysicalVolumeModel.  Culling is
357// ignored so that all volumes are seen.
358//
359// The calculation is quite tricky, since it involves subtracting the
360// mass of that part of the mother that is occupied by each daughter and
361// then adding the mass of the daughter, and so on down the heirarchy.
362//
363// Usage for a given G4PhysicalVolumeModel* pvModel:
364//   G4PhysicalVolumeMassScene massScene;
365//   massScene.EstablishSpecials (*pvModel);
366//   pvModel->DescribeYourselfTo (massScene);
367//   G4double volume = massScene.GetVolume();
368//   G4double mass = massScene.GetMass();
369//   massScene.Reset();
370// See, for example, G4ASCIITreeSceneHandler::EndModeling().
371- Added some access functions to G4PhysicalVolumeModel:
372    GetTopPhysicalVolume, GetRequestedDepth, SetRequestedDepth.
373- Protected GetPhysicalVolumeModel when all volumes "invisible".
374
37512th November 2003  John Allison  (modeling-V05-02-02)
376- CalculateExtent always searches complete hierarchy.
377
3786th November 2003  John Allison  (modeling-V05-02-01, vis-V05-02-03)
379- GNUmakefile: rationalised.
380
3813rd November 2003  Gabriele Cosmo  (modeling-V05-02-00, vis-V05-02-02)
382- Added inclusion of G4VSolid.hh in G4LogicalVolumeModel.cc to make it self
383  consistent after header review in geometry category.
384
3854th October 2003  Gabriele Cosmo  (vis-V05-02-01)
386- GNUmakefile:
387  o added dependency to new module "geometry/navigation".
388  o replaced "digits+hits" with "digits_hits".
389- Coworks with "geometry-V05-02-00" and "digits_hits-V05-02-00".
390
39122nd September 2003  John Allison  (vis-V05-02-00, greps-V05-02-00)
392- Removed a redundant comment.
393
39420th November 2002  Gabriele Cosmo  (modeling-V04-01-00)
395- Fixed access to static data (requires "greps-V04-01-04") in
396  G4FlavoredParallelWorldModel.cc, to allow porting on Windows DLLs.
397
39811th November 2002  John Allison  (modeling-V04-00-00)
399- Added fDrawingMode data member to G4TrajectoriesModel.
400
40124th October 2002  John Allison (vis-V04-01-03)
402- Changes for AddThis(const G4VTrajectory&) and (const G4VHit&).
403
40423rd February 2002  John Allison (vis-V04-00-02)
405- Removed Begin/EndPrimitives from G4HitsModel and
406  G4TrajectoriesModel.  This was causing nested calls to
407  Begin/EndPrimitives (and thus to glNewList/EndList in OpenGL stored
408  mode), since the trajectories and hits Draw methods themselves have
409  Begin/EndPrimitives.
410
41124th August 2001  John Allison  (vis-V03-02-13)
412- Intoduced argument for printing in G4VModel::Validate(G4bool warn).
413- Changed default return value in G4VModel::Validate(G4bool) to true.
414- Invoke CalculateExtent after successful geometry change in
415  G4PhysicalVolumeModel::Validate, and other bug fixes..
416
41714th August 2001  John Allison  (vis-V03-02-11)
418- Added sceneHandler.Begin/EndPrimitives messages to models (long
419  standing bug!).
420
4219th August 2001  John Allison  (vis-V03-02-10-00)
422- Removed G4ModelingParameters::hierarchy.  It is no longer used.  The
423  textual or graphical representation of the geometry hierarchy is now
424  done in G4xxxTree classes in visua;ization/Tree.
425
42625th July 2001  John Allison  (modeling-V03-02-03)
427- Added G4VModel::GetG4PhysicalVolumeModel().
428- Added G4VModel* argument to G4BoundingSphereScene constructor.
429  Both the above are to facilitate access to a model, if it exists, and
430  to invoke methods of G4PhysicalVolumeModel if it is one.
431- Added code to curtail G4PhysicalVolumeModel search in G4BoundingSphereScene.
432
43324th July 2001  John Allison  (modeling-V03-02-02)
434- Added G4VModel::SetExtent(const G4VisExtent&).
435- Cosmetic improvements to G4BoundingSphereScene.
436- Augmented G4ScaleModel::fGlobalTag.
437
43821st July 2001  John Allison  (modeling-V03-02-01)
439- Added G4ScaleModel.
440- Fixed bug in G4BoundingSphereScene::::Accrue().
441- Also a few cosmetic changes.
442
44318th July 2001  John Allison  (modeling-V03-02-00)
444- Ensured rotation and translation of replica is restored.
445
4463rd February 2001  John Allison  (vis-V03-00-02)
447- Tidied for CodeWizard.
448
44929th May 2000  John Allison
450- Moved code for maintaining depth, physical and logical volume
451  pointers from VisitGeometryAndGetVisReps to DescribeAndDescend to
452  handle daughters of replicas correctly (Guy Barrand).
453
45422nd May 2000  John Allison  (modeling-V01-01-00)
455- Added G4VTreeGraphicsScene (DTREE).
456- Commented out pVPV->SetCopyNo(n) on Makoto's advice in
457  G4PhysicalVolumeModel.cc.
458
459vis-V01-01-01  12th April 2000  John Allison
460- Made G4PhysicalVolumeModel::DescribeSolid virtual.
461- G4PhysicalVolumeModel::DescribeSolid no longer deals with composite
462  solids - now programmed into CompositeSolid::CreatePolyhedron, where
463  CompositeSolid means G4IntersectionSolid, G4SubtractionSolid and
464  G4UnionSolid.
465- G4PhysicalVolumeModel::DescribeSolid no longer deals with displaced
466  solids - now programmed into G4DisplacedSolid::CreatePolyhedron.
467- Added G4LogicalVolumeModel::DescribeSolid, which explicitly adds
468  components of composite solids as white forced-wireframe objects.
469
470vis-V00-01-10  25th November 1999  John Allison
471- Adapted header files of modeling for Software Reference Manual.
472
473vis-01-00-05  7th February 1999  John Allison
474
475vis-01-00-05  7th February 1999  John Allison
476- Added list facility to G4PhysicalVolumeSearchScene.
477- Added virtual functions AddThis (const G4Polycone and G4Polyhedra to
478  G4BoundingSphereScene and G4PhysicalVolumeSearchScene.
479
480vis-00-04-01  25th November 1998  John Allison.
481- Added const G4VisAttributes* fpDefaultVisAttributes and access
482  functions to G4ModelingParameters.
483- Reverted to default assignment operator and copy constructor for
484  G4ModelingParameters.
485- G4PhysicalVolumeModel can now handle invisible daughters.
486
48731st August 1998  John Allison
488- Added G4VModel::Validate() and in subclasses.
489
490vis-00-02-05  27th August 1998  John Allison
491- Added G4HitsModel and G4TrajectoriesModel.
492
493vis-00-02-04  22nd August 1998  John Allison
494- Made G4Transform3D fTransform a member of G4VModel (instead of pointer).
495- Reversed order of parameters in G4VModel constructor.
496- Much bug fixing.
497
498vis-00-06-06  11th June 1998  John Allison
499- G4PhysicalVolumeModel handles parametrised solids and materials.
500
501vis-00-06-04  10th June 1998  John Allison
502- Moved G4BoundingSphereScene from management to modeling.
503- Added G4Transform3D data member.
504
505modeling-00-04-01  4th March 1998  John Allison
506- Last tag before moving to visualization.
507- Removed G4ModelingParameters:: from G4ModelingParameters.hh constructor.
508
50927th January 1998  John Allison
510- New (temporay?) category.
511- Incorporates modeling code which was in G4VScene.
Note: See TracBrowser for help on using the repository browser.