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

Last change on this file since 1089 was 931, checked in by garnier, 15 years ago

test pour GL_POINTS au lieu de glBitmap

File size: 20.2 KB
Line 
1$Id: History,v 1.109 2009/02/25 14:21:45 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
2325th February 2009  John Allison  (modeling-V09-02-01 - needs greps-V09-02-01)
24- G4ModelApplyCommandsT: Added visManager->NotifyHandlers() after
25  application (Apply) of all commands.  Forces update of all viewers
26  after a change of model, e.g., trajectory colour, point size, etc.
27
2824th February 2009  John Allison  (modeling-V09-02-00 - needs greps-V09-02-00)
29- Added setAux/StepPtsSizeType commands (candidates: "none world screen").
30- Added unit to setAux/StepPtsSize for SizeType == world.
31
3227th July 2008  John Allison  (modeling-V09-01-01)
33- G4PhysicalVolumeSearchScene.cc: Cosmetic improvement to a message.
34
354th January 2008  John Allison  (modeling-V09-01-00)
36- Adapted to new BeginPrimitives2D signature.
37
3810th November 2007  John Allison  (modeling-V09-00-00)
39- Minor improvement in warning message after change of geometry.
40
4130th May 2007  John Allison  (modeling-V08-03-02)
42- Removed warnedAboutIMode from G4TrajectoryDrawerUtils.hh.  It was
43  used only in G4TrajectoryDrawerUtils.cc and gave warnings about
44  being unused in other .cc files that inculded
45  G4TrajectoryDrawerUtils.hh.  warnedAboutIMode is now a static in
46  G4TrajectoryDrawerUtils.cc.
47
4830th May 2007  John Allison  (modeling-V08-03-01)
49- Fix for SUN.
50
5122nd May 2007  John Allison  (modeling-V08-03-00)
52- Simplified G4Atts for Physical Volume Path.
53
543rd April 2007  John Allison  (modeling-V08-02-02)
55- G4PhysicalVolumeModel: Added full volume path information and
56  transformed axes to G4Atts.
57
5825th March 2007  John Allison  (modeling-V08-02-01)
59- G4PhysicalVolumeModel: Added solid dump and volume transformation to G4Atts.
60
615th January 2007  John Allison  (modeling-V08-02-00 - needs greps-V08-02-00)
62- G4PhysicalVolumeModel.cc: Bug fix:
63  o Correct treatment of ForcedLineSegmentsPerCircle when clipping.
64
6516th November 2006  John Allison  (modeling-V08-01-15)
66- Added protection for parallel worlds (zero region pointer).
67
6814th November 2006  John Allison  (modeling-V08-01-14)
69- Merged modeling-V08-01-13-branch onto main branch.
70
718th November 2006  John Allison  (modeling-V08-01-13-00)
72- On modeling-V08-01-13-branch.
73- Added G4Event pointer to modeling parameters.
74- G4TrajectoriesModel and G4HitsModel: use the above (G4VSceneHandler
75  supplies).
76
775th November 2006  John Allison  (modeling-V08-01-13)
78- Further, hopefully, complete, protection against zero materials pointer.
79
803rd November 2006  John Allison  (modeling-V08-01-12)
81- G4PhysicalVolumeModel.cc: Protected against zero material pointer.
82
833rd November 2006  John Allison  (modeling-V08-01-11)
84- G4Trajectories/HitsModel.cc: Protected against zero pointers from
85  collections.
86
872nd November 2006  John Allison  (modeling-V08-01-10)
88- G4HitsModel: Added GetCurrentHit.
89
901st November 2006  John Allison  (modeling-V08-01-09)
91- G4VModel: Removed warning messages from the virtual functions
92  GetCurrentDescription and GetCurrentTag so that there is no longer
93  a message if the concrete class does not implement.  The implementation
94  in G4VModel, which is used by default, is simply to return the global
95  description and tag.
96- Removed GetCurrentDescription and GetCurrentTag from models for which the
97  concept of "current" makes no sense or is not used:
98    G4AxesModel, G4HitsModel, G4LogicalVolumeModel, G4ScaleModel, G4TextModel.
99- G4ModelCommandsT: Minor corrections to guidance.
100
10126th October 2006  John Allison  (modeling-V08-01-08)
102- G4PhysicalVolumeModel: Changed CreateAttValues to CreateCurrentAttValues.
103- G4TrajectoriesModel: Added GetCurrentTrajectory.
104
105------------------------------------------------------
10619th September 2006  John Allison  (modeling-V08-01-07)
107- G4ModelingParameters: Added ExplodeCentre
108- G4PhysicalVolumeModel.cc: Programmed ExplodeCentre.
109
11017th September 2006 Jane Tinslay
111- Shift an assert from G4AttributeFilterT to G4AttFilterUtils - was
112  causing problems with XCode 2.0
113
114------------------------------------------------------
11515th September 2006  John Allison  (modeling-V08-01-06)
116- G4PhysicalVolumeModel.ccChanged "Bookkeeping" to "Physics
117
11814th September 2006 Jane Tinslay
119- Fixes for sun
120
12113th September 2006  John Allison
122- G4ModelingParameters: Improved setting and access to explode factor.
123- G4PhysicalVolumeModel.cc:
124  o Implemented explode factor(radial move) feature for top level drawn
125    volumes.
126- G4TrajectoriesModel.cc: Improved debug checking and printing of G4Atts.
127- G4ModelCommandUtils.hh, G4ModelCommandsT.hh:
128  o  Re-instate setTimeSliceInterval command.
129
13012th September 2006 Jane Tinslay
131- Add attribute based trajectory drawing & filtering, and attribute based
132  hit filtering
133
134---------------------------------------------------
13527th August 2006  John Allison  (modeling-V08-01-05)
136- G4ModelingParameters: Added warning flag and section/cutaway polyhedron.
137- G4PhysicalVolumeModel:
138  o Acts on warning flag from G4ModelingParameters.
139  o Added enum ClippingMode {subtraction, intersection};
140  o Equipped for generic sectioning (DCUT) and cutaways.
141- G4TrajectoryDrawerUtils::DrawWithTime:
142  o Made use of G4VisAttributes time range.
143  o Tidied.
144
14526th August 2006  John Allison  (modeling-V08-01-04 - requires greps-V08-01-03)
146- G4TrajectoryDrawerUtils.cc: Fixed compilation warning.
147
14825th August 2006 Jane Tinslay
149- Follow G4VFilter const change (requires greps-V08-01-03).
150
15116th August 2006  John Allison  (modeling-V08-01-03)
152- G4TrajectoryDrawerUtils.cc: Improved robustness of time slicing.
153- G4ModelCommandsT.hh: In class G4ModelCmdSetTimeSliceInterval:
154  cmd->SetUnitCategory("Time").
155- G4TrajectoriesModel.cc: Improved debug statement.
156
15714th August 2006  John Allison  (modeling-V08-01-02)
158- G4ModelApplyCommandsT.hh: Added G4ModelCmdApplyDoubleAndUnit.
159- G4ModelCommandsT.hh: Added G4ModelCmdSetTimeSliceInterval.
160- G4VisTrajContext: Added TimeSliceInterval.
161- G4TrajectoryModelFactories: Instantiated G4ModelCmdSetTimeSliceInterval.
162- G4TrajectoryDrawerUtils.cc: Added time slicing.
163
16410th July 2006  John Allison  (modeling-V08-01-01)
165- Co-works with greps-V08-01-01.
166- G4VModel: Removed GetG4PhysicalVolumeModel.
167- G4ModelingParameters:
168  o Removed RepStyle, ViewGeom, ViewHits and ViewDigis (not used).
169  o Reduced number of constructors.
170- G4PhysicalVolumeModel:
171  o Removed Establish/DecommissionSpecials to conform with greps-V08-01-01.
172  o Rationalised G4Atts: Added GetAttDefs/CreateAttValues.
173
1743rd July 2006  John Allison  (modeling-V08-01-00)
175- Needs greps-V08-01-00.
176- G4PhysicalVolumeModel::G4PhysicalVolumeNodeID: Added GetNonCulledDepth.
177- G4PhysicalVolumeModel.cc: Also added G4Atts for solids.
178- G4TrajectoriesModel.cc: Added debug code.
179
1807th June 2006  John Allison (modeling-V08-00-14)
181- G4PhysicalVolumeModel.cc: Added protection for zero vis atts.
182
1836th June 2006  John Allison (modeling-V08-00-13)
184- G4TrajectoryChargeFilter.cc: Added #include <sstream> for Sun compiler.
185- G4PhysicalVolumeModel::Validate: Relaxed requirement for modeling parameters.
186  (Caused crash after change of geometry.)
187
1882nd June 2006 Joseph Perl (modeling-V08-00-12)
189- G4VisTrajContext: change default of point sizes from 0 to 2
190
19130th May 2006 Jane Tinslay
192- Add G4TrajectoryChargeFilter and G4TrajectoryOriginVolumeFilter
193
19425th May 2006  John Allison  (modeling-V08-00-11)
195- G4VModelFactory.hh: Indent printing of models.
196- G4ModelApplyCommandsT.hh: Fix trivial compiler warnings.
197
19822nd May 2006  John Allison  (modeling-V08-00-10)
199- Remove dependency on Run.
200- G4ModelingParameters.cc: Protect operator<< for zero fpDefaultVisAttributes.
201
20212th May 2006  John Allison  (modeling-V08-00-09)
203- G4TrajectoriesModel and G4HitsModel: Removed dependency on G4RunManager.
204  Uses G4RunManagerKernel.  Needs event-V08-00-01.
205- G4CallbackModel: Added G4VGraphicsScene argument to operator().
206
2074th May 2006  Joseph Perl  (modeling-V08-00-08)
208- Add missing assert to G4VTrajectoryModel needed by Windows.
209
2104th May 2006  John Allison
211- Improved protection for null models and parameters.
212
2132nd May 2006 Jane Tinslay
214- Add context to trajectory drawers. Intended to replace imode.
215  Allows to configure default drawing style for lines, step and
216  auxiliary points. For example, colours, visibility, point sizes,
217  fill styles..
218- Add generic drawer, G4TrajectoryGenericDrawer. Draws all trajectories
219  in the same style, based on its default context.
220- Update generic commands
221- Add verbose to drawers
222
22321st April 2006 Jane Tinslay  (modeling-V08-00-07)
224- Get rid of some warning messages from G4ModelCommandsT
225  when compiling on Linux
226- Add Print method to G4VModelFactory
227
22819th April 2006  John Allison  (modeling-V08-00-06 - needs greps-V08-00-02)
229- G4BoundingSphereScene.hh, G4PhysicalVolumeMassScene.hh and
230  G4PhysicalVolumeSearchScene.hh;  Added dummy Begin/EndPrimitives2D
231  for greps-V08-00-02.
232- G4PhysicalVolumeModel.cc: Improved legibility and efficiency of
233  culling algorithm.
234
23528th March 2006 Jane Tinslay (jst28032006)
236- Add G4TrajectoryFilterFactories and G4TrajectoryParticleFilter
237  for trajectory filtering.
238- Add more generic commands to G4ModelCommandsT
239
24028th March 2006  John Allison (modeling-V08-00-05)
241- G4PhysicalVolumeMassScene and G4PhysicalVolumeSearchScene:
242  o Removed EstablishSpecials.
243- G4PhysicalVolumeModel:
244  o GetTopPhysicalVolume, GetCurrentPV, GetCurrentLV,
245    GetCurrentMaterial: return non-const pointers.  (It has proved
246    impossibly difficult to deal with const pointers.)
247  o Modified for new G4PhysicalVolumeSearchScene constructor.
248- G4BoundingSphereScene: Removed use of GetG4PhysicalVolumeModel (uses
249  dynamic cast instead).
250
25124th March 2006 Jane Tinslay (jst24032006)
252- Add G4bool visibility parameter to trajectory draw
253  models "Draw" method.
254 
25516th March 2006 Jane Tinslay (jst16032006)
256- Template commands and colour map used in trajectory models
257- Introduce G4TrajectoryDrawByOriginVolume
258
25914th March 2006  John Allison (modeling-V08-00-04)
260- G4PhysicalVolumeModel::G4PhysicalVolumeNodeID: Added output operator<<.
261
26216th February 2006  John Allison (modeling-V08-00-03)
263- G4PhysicalVolumeModel: Minor enhancements to facilitate future
264  removal of Establish/DecommisionSpecials.
265
2668th February 2006  John Allison (modeling-V08-00-02)
267- Added DrawingStyle to G4ModelingParameters.
268- G4PhysicalVolumeModel: Fixed bug in culling of covered daughters and
269  improved readability of culling algorithm.
270
27126th January 2006  John Allison (modeling-V08-00-01)
272- G4PhysicalVolumeModel: Added capability of maintaining path of the
273  current drawn (non-culled) volume in terms of drawn (non-culled)
274  ancesters.  See G4PhysicalVolumeModel.hh for detailed description.
275- Removed some unnecessary data members and other small tidying.
276
27711th January 2006  John Allison (modeling-V08-00-00)
278- G4NullModel.cc: Changed G4Transform3D::Identity to G4Transform3D().
279
2802nd December 2005  Joseph Perl (modeling-V07-01-07)
281- Change "G4String inline" to "inline G4String" to correct compiler
282  warning in G4VTrajectoryModel.hh.
283
28430th November 2005  Gabriele Cosmo (modeling-V07-01-06)
285- Trivial fix to G4VModel for support of CLHEP-2.0.X series.
286
28728th November 2005  Jane Tinslay
288- Remove names of unused parameters to stop compiler warnings
289
29024th November 2005  John Allison (modeling-V07-01-05)
291- Set initial values for originalRMin, originalRMax to satisfy compiler
292
29323rd November 2005  Joseph Perl  (modeling-V07-01-04)
294- Tagged in preparation for Geant4 8.0
295
29623rd November 2005 Jane Tinslay
297- Enhanced trajectory implementation
298
29922nd November 2005  John Allison (modeling-V07-01-03)
300- Implemented radial replicas for G4Tubs.
301- Changed G4Transform3D::Identity to G4Transform3D().
302
30324th October 2005  John Allison (modeling-V07-01-02)
304- Added: G4VTrajectoryModel, G4VTrajectoryModelMaker, G4TrajectoryModelMaker
305  and G4TrajectoryTestModel.
306- G4VModel: cosmetic changes.
307
30813th October 2005  John Allison (modeling-V07-01-01)
309- Migrated to <sstream>.
310
31113th September 2005  John Allison (modeling-V07-01-00)
312- Fixed (non-)culling of transparent volumes.
313
3147th June 2005  John Allison (modeling-V07-00-02)
315- G4PhysicalVolumeModel: fixed case of off-origin volume.
316- G4TextModel: Further small improvement.
317
31831st May 2005  John Allison  (modeling-V07-00-01)
319- G4TextModel: Improved global tag for better identification.
320
3216th May 2005  John Allison  (modeling-V07-00-00)
322- G4PhysicalVolumeModel: SetCopyNo of replicas and paramaterised volumes.
323
3243rd March 2005  John Allison  (vis-V07-00-08)
325- Added Set methods to G4VModel.
326- Added argument to G4CallbackModel::operator()(const G4Transform3D&) so that
327  the model could implement a given transformation.  Provided default for
328  G4VUserVisAction::(const G4Transform3D& = G4Transform3D::Identity).
329
33011th November 2004  John Allison  (vis-V06-02-05)
331- Made use use of smart method GetPolyhedron for solids.  This greatly
332  speeds 2nd and subsequent drawings when kernel access is required.
333
33422nd September 2004  John Allison  (modeling-V06-02-01)
335- Changed use of deprecated G4VPhysicalVolume::GetRotation to GetRotationValue.
336- Fixed memory leak in G4PhysicalVolumeMassScene.
337
33813th September 2004  John Allison  (modeling-V06-02-00)
339- Added G4PhysicalVolumeMassScene.  From the header file:
340// Calculates the mass of a geometry tree taking into account daughters
341// up to the depth specified in the G4PhysicalVolumeModel.  Culling is
342// ignored so that all volumes are seen.
343//
344// The calculation is quite tricky, since it involves subtracting the
345// mass of that part of the mother that is occupied by each daughter and
346// then adding the mass of the daughter, and so on down the heirarchy.
347//
348// Usage for a given G4PhysicalVolumeModel* pvModel:
349//   G4PhysicalVolumeMassScene massScene;
350//   massScene.EstablishSpecials (*pvModel);
351//   pvModel->DescribeYourselfTo (massScene);
352//   G4double volume = massScene.GetVolume();
353//   G4double mass = massScene.GetMass();
354//   massScene.Reset();
355// See, for example, G4ASCIITreeSceneHandler::EndModeling().
356- Added some access functions to G4PhysicalVolumeModel:
357    GetTopPhysicalVolume, GetRequestedDepth, SetRequestedDepth.
358- Protected GetPhysicalVolumeModel when all volumes "invisible".
359
36012th November 2003  John Allison  (modeling-V05-02-02)
361- CalculateExtent always searches complete hierarchy.
362
3636th November 2003  John Allison  (modeling-V05-02-01, vis-V05-02-03)
364- GNUmakefile: rationalised.
365
3663rd November 2003  Gabriele Cosmo  (modeling-V05-02-00, vis-V05-02-02)
367- Added inclusion of G4VSolid.hh in G4LogicalVolumeModel.cc to make it self
368  consistent after header review in geometry category.
369
3704th October 2003  Gabriele Cosmo  (vis-V05-02-01)
371- GNUmakefile:
372  o added dependency to new module "geometry/navigation".
373  o replaced "digits+hits" with "digits_hits".
374- Coworks with "geometry-V05-02-00" and "digits_hits-V05-02-00".
375
37622nd September 2003  John Allison  (vis-V05-02-00, greps-V05-02-00)
377- Removed a redundant comment.
378
37920th November 2002  Gabriele Cosmo  (modeling-V04-01-00)
380- Fixed access to static data (requires "greps-V04-01-04") in
381  G4FlavoredParallelWorldModel.cc, to allow porting on Windows DLLs.
382
38311th November 2002  John Allison  (modeling-V04-00-00)
384- Added fDrawingMode data member to G4TrajectoriesModel.
385
38624th October 2002  John Allison (vis-V04-01-03)
387- Changes for AddThis(const G4VTrajectory&) and (const G4VHit&).
388
38923rd February 2002  John Allison (vis-V04-00-02)
390- Removed Begin/EndPrimitives from G4HitsModel and
391  G4TrajectoriesModel.  This was causing nested calls to
392  Begin/EndPrimitives (and thus to glNewList/EndList in OpenGL stored
393  mode), since the trajectories and hits Draw methods themselves have
394  Begin/EndPrimitives.
395
39624th August 2001  John Allison  (vis-V03-02-13)
397- Intoduced argument for printing in G4VModel::Validate(G4bool warn).
398- Changed default return value in G4VModel::Validate(G4bool) to true.
399- Invoke CalculateExtent after successful geometry change in
400  G4PhysicalVolumeModel::Validate, and other bug fixes..
401
40214th August 2001  John Allison  (vis-V03-02-11)
403- Added sceneHandler.Begin/EndPrimitives messages to models (long
404  standing bug!).
405
4069th August 2001  John Allison  (vis-V03-02-10-00)
407- Removed G4ModelingParameters::hierarchy.  It is no longer used.  The
408  textual or graphical representation of the geometry hierarchy is now
409  done in G4xxxTree classes in visua;ization/Tree.
410
41125th July 2001  John Allison  (modeling-V03-02-03)
412- Added G4VModel::GetG4PhysicalVolumeModel().
413- Added G4VModel* argument to G4BoundingSphereScene constructor.
414  Both the above are to facilitate access to a model, if it exists, and
415  to invoke methods of G4PhysicalVolumeModel if it is one.
416- Added code to curtail G4PhysicalVolumeModel search in G4BoundingSphereScene.
417
41824th July 2001  John Allison  (modeling-V03-02-02)
419- Added G4VModel::SetExtent(const G4VisExtent&).
420- Cosmetic improvements to G4BoundingSphereScene.
421- Augmented G4ScaleModel::fGlobalTag.
422
42321st July 2001  John Allison  (modeling-V03-02-01)
424- Added G4ScaleModel.
425- Fixed bug in G4BoundingSphereScene::::Accrue().
426- Also a few cosmetic changes.
427
42818th July 2001  John Allison  (modeling-V03-02-00)
429- Ensured rotation and translation of replica is restored.
430
4313rd February 2001  John Allison  (vis-V03-00-02)
432- Tidied for CodeWizard.
433
43429th May 2000  John Allison
435- Moved code for maintaining depth, physical and logical volume
436  pointers from VisitGeometryAndGetVisReps to DescribeAndDescend to
437  handle daughters of replicas correctly (Guy Barrand).
438
43922nd May 2000  John Allison  (modeling-V01-01-00)
440- Added G4VTreeGraphicsScene (DTREE).
441- Commented out pVPV->SetCopyNo(n) on Makoto's advice in
442  G4PhysicalVolumeModel.cc.
443
444vis-V01-01-01  12th April 2000  John Allison
445- Made G4PhysicalVolumeModel::DescribeSolid virtual.
446- G4PhysicalVolumeModel::DescribeSolid no longer deals with composite
447  solids - now programmed into CompositeSolid::CreatePolyhedron, where
448  CompositeSolid means G4IntersectionSolid, G4SubtractionSolid and
449  G4UnionSolid.
450- G4PhysicalVolumeModel::DescribeSolid no longer deals with displaced
451  solids - now programmed into G4DisplacedSolid::CreatePolyhedron.
452- Added G4LogicalVolumeModel::DescribeSolid, which explicitly adds
453  components of composite solids as white forced-wireframe objects.
454
455vis-V00-01-10  25th November 1999  John Allison
456- Adapted header files of modeling for Software Reference Manual.
457
458vis-01-00-05  7th February 1999  John Allison
459
460vis-01-00-05  7th February 1999  John Allison
461- Added list facility to G4PhysicalVolumeSearchScene.
462- Added virtual functions AddThis (const G4Polycone and G4Polyhedra to
463  G4BoundingSphereScene and G4PhysicalVolumeSearchScene.
464
465vis-00-04-01  25th November 1998  John Allison.
466- Added const G4VisAttributes* fpDefaultVisAttributes and access
467  functions to G4ModelingParameters.
468- Reverted to default assignment operator and copy constructor for
469  G4ModelingParameters.
470- G4PhysicalVolumeModel can now handle invisible daughters.
471
47231st August 1998  John Allison
473- Added G4VModel::Validate() and in subclasses.
474
475vis-00-02-05  27th August 1998  John Allison
476- Added G4HitsModel and G4TrajectoriesModel.
477
478vis-00-02-04  22nd August 1998  John Allison
479- Made G4Transform3D fTransform a member of G4VModel (instead of pointer).
480- Reversed order of parameters in G4VModel constructor.
481- Much bug fixing.
482
483vis-00-06-06  11th June 1998  John Allison
484- G4PhysicalVolumeModel handles parametrised solids and materials.
485
486vis-00-06-04  10th June 1998  John Allison
487- Moved G4BoundingSphereScene from management to modeling.
488- Added G4Transform3D data member.
489
490modeling-00-04-01  4th March 1998  John Allison
491- Last tag before moving to visualization.
492- Removed G4ModelingParameters:: from G4ModelingParameters.hh constructor.
493
49427th January 1998  John Allison
495- New (temporay?) category.
496- Incorporates modeling code which was in G4VScene.
Note: See TracBrowser for help on using the repository browser.