source: trunk/source/visualization/OpenInventor/History @ 954

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

remise a jour

File size: 16.8 KB
Line 
1$Id: History,v 1.98 2009/02/18 10:04:25 lgarnier 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/OpenInventor
21-------------------------------------------
22
2318 February 2009, Laurent Garnier
24 - Bug fix in gl2ps drawing
25
2616 February 2009, Laurent Garnier
27 - Modifications in GNUMakefile for gl2ps.
28 - SoGL2PSAction Modified.
29 - G4OpenInventorViewer.cc add a protection on file writing in gl2ps
30
3130th April 2008  John Allison  (openinventor-V09-01-01)
32- Fixes more gcc-4.3.0 compiler warnings.
33
344th April 2008  John Allison  (openinventor-V09-01-00)
35- Fixes most gcc-4.3.0 compiler warnings.
36
3723rd October 2007  Gabriele Cosmo
38- Initialise local vectors in SoPolyhedron.cc to fix compilation warnings
39  on gcc-4.2.2 for use of non-initialised values.
40
413rd April 2007  John Allison  (openinventor-V08-02-02 - needs visman-V08-02-03)
42- Introduced picking control.  Default is "true" for Open Inventor.
43
4425th March 2007  John Allison  (openinventor-V08-02-01)
45- G4OpenInventorSceneHandler: Introduced AddProperties. Rationalises.
46- G4OpenInventorViewer.cc: Added scale factor to list of changes
47  requiring kernel visit.
48
495th January 2007  John Allison  (openinventor-V08-02-00)
50- Moved LoadAtts to vis management.
51
525th November 2006  John Allison  (openinventor-V08-01-04)
53- Protected against zero material pointer.
54
552nd November 2006  John Allison  (openinventor-V08-01-03)
56- Rationalised G4Att loading and extended picking to hits.
57
581st November 2006  John Allison  (openinventor-V08-01-02)
59- Follow changes to greps-V08-01-09: G4AttCheck/Holder rationalisation.
60
6126th October 2006  John Allison  (openinventor-V08-01-01)
62- Added SoG4LineSet, SoG4MarkerSet and SoG4Polyhedron - classes extended to
63  include G4Atts (G4AttValues and G4AttDefs) for picking.
64- G4OpenInventorSceneHandler.cc: Load lines, markers and polyhedron objects
65  with G4Atts.
66- G4OpenInventorViewer.cc: print G4Atts on picking.
67
6829th August 2006  John Allison  (openinventor-V08-01-00)
69- G4OpenInventorViewer::CompareForKernelVisit: Rationalisation. This
70  assumes use of generic clipping (sectioning, slicing, DCUT,
71  cutaway).  If a decision is made to implement locally, this will
72  need changing.  See G4OpenGLViewer::SetView,
73  G4OpenGLStoredViewer.cc::CompareForKernelVisit and
74  G4OpenGLStoredSceneHander::CreateSection/CutawayPolyhedron.
75
764th June 2006 Joseph Perl (openinventor-V08-00-05)
77- This tag includes all the changes below.
78
792 June 2006  Guy Barrand :
80- G4OpenInvenot, G4OpenInvenotXt, G4OpenInvenotWin : have an Initialize
81  method in order to init Xt and Inventor only is really used
82  (when creating a viewer or a scene handler).
83
8419th April 2006  Gabriele Cosmo  (openinventor-V08-00-04)
85- Use cmath instead of math.h.
86
8728th March John Allison  (openinventor-V08-00-03)
88- Cosmetic.
89
9021st March John Allison  (openinventor-V08-00-02)
91- Rationalised G4OpenInventorSceneHandler:
92  o Introduced GeneratePrerequisites.
93  o Uses dynamic_cast<G4PhysicalVolumeModel*>(fpModel) instead
94    of fpCurrentPV, etc.
95  o Uses G4VSceneHandler utility functions,
96    GetApplicableVisAttributes, GetColour, GetTextColour,
97    GetMarkerSize, GetDrawingStyle, GetAuxEdgeVisible, where possible.
98  o Revision 1.43: messy version with original code commented out.
99  o Revision 1.44 (.cc) and 1.28 (.hh) (tagged): tidied versions.
100- Investigated G4OpenInventorViewer:
101  o Changed: DrawDetector and UpdateScene.  No noticeable effect!
102
10320th March John Allison
104- G4OpenInventorSceneHandler:
105  o Bug fix for transient solids.
106  o Replaced some code in AddPrimitive(const G4Polymarker&) by GetMarkerSize.
107  o Attempt to finish AddPrimitive (const G4Text&) - still draws at origin.
108
10930th January 2006  John Allison  (openinventor-V08-00-01)
110- Implemented drawn volume path.  Needs modeling-V08-00-01.  Scene
111  graph now corresponds to drawn, i.e., non-culled geometry.
112  Inability to find (drawn) mothers shouldn't happen now, and it
113  triggers an error message.
114
11526th January 2006  John Allison  (openinventor-V08-00-00)
116- Coworks with visman-V08-00-04 (removed fModified).
117- Removed references to fModified.
118
11920th December 2005  Guy Barrand
120- SoAlternateRepAction.cc : add the #ifdef G4VIS_BUILD_OI_DRIVER.
121
12212th December 2005  John Allison
123- G4OpenInventorSceneHandler.cc: Pick up colour and transformation
124  correctly for non-physical-volume solids.
125  o G4OpenInventorSceneHandler::AddPrimitive (const G4Polyhedron&):
126    Added code to pick up colour if LV and PV pointers are zero.
127  o G4OpenInventorSceneHandler::BeginPrimitives: Pick up
128    transformation if LV and PV pointers are zero.
129  o G4OpenInventorSceneHandler::PreAddSolid: Added code to pick up
130    colour if LV and PV pointers are zero and removed return statement
131    so that transformation is picked up too.
132
13330th November 2005  Gabriele Cosmo (openinventor-V07-01-04)
134- Trivial fix to SoPolyhedron for support of CLHEP-2.0.X series.
135
13615th November 2005  Guy Barrand (openinventor-V07-01-03)
137- G4OpenInventorXtViewer : handle fVP.GetXGeometryString().
138- G4OpenInventorSceneHandler : handle global scale view parameter.
139  Done in BeginPrimitives and PreAddSolid by doing a
140  SbMatrix::multRight(sbScale) to the incoming global G4Transform3D matrix.
141- G4OpenInventor[Xt,Win]Viewer : handle set background. Done
142  in the overloaded SetView method.
143
14417th October 2005  Guy Barrand
145- G4OpenInventorViewer::G4OpenInventorViewer : read a g4view.iv
146  file at creating of a view. If found, the scene graph in g4view.iv
147  if added at head of the overall scene graph. This permits easy
148  out of band customization of the scene without having to touch
149  the code.
150- Modification in order to save geometry in an Inventor file.
151  Addition of an "alternateRep" for the SoPolyhedron (see Inventor doc).
152  Addition of an "alternateRep" for the SoDetectorTreeKit.
153  Addition of the SoAlternaterRepAction to traverse a scene graph
154  and construct / delete the alternate reps.
155  Modification of G4OpenInventorViewer::WriteInventor to write the
156  alternateRep of the SoPolyhedron and then save geometry in a
157  .iv file by using Inventor standard lib. In particular the produced
158  .iv files are readable by the ivview standard tool.
159
1602nd September 2005  John Allison (openinventor-V07-01-02)
161- Corrected treatment of edgeflags.
162
1631st August 2005  Gabriele Cosmo  (openinventor-V07-01-01)
164- Fixed compilation errors and warnings on gcc-4.0.0. Modified files:
165  SoDetectorTreeKit.cc, gl2ps[.h.cc].
166
16720th July 2005  John Allison  (openinventor-V07-01-00)
168- Changed Geant4_SoPolyhedron to construct from G4Polyhedron rather
169  than its base class, HepPolyhedron, for possible future
170  developments.  Functionality unchanged.
171
1722nd June 2005  John Allison  (openinventor-V07-00-02)
173- Changed char* to const char* in gl2psMsg.
174
17527th May 2005  John Allison  (openinventor-V07-00-01)
176- Implemented marker sizes.
177
17825th May 2005  Guy Barrand  (openinventor-V07-00-00)
179- G4OpenInventorTransform3D.cc : use the CLHEP::Transform3D::operator(i,j)
180  to initialize the m array in order to be compatible with new versions
181  of CLHEP.
182
18319th March 2005  Guy Barrand
184- SoCounterAction.cc : remove extra ';' at end of SO_ACTION_SOURCE.
185  Code with ';;' does not compile with the "-pedantic" mode of g++-3.4.
186
18726th November 2004  Guy Barrand  (openinventor-V06-02-02)
188- G4OpenInventorXtViewer, SoPolyhedron, SoCounterAction.h :
189  correct some warnings on g++-3.2.1 (reported by Tom Roberts).
190
19125th November 2004  Guy Barrand
192- G4OpenInventor[Viewer,SceneHandle] : handle aux edges.
193- G4OpenInventorViewer : in SetSolid, etc... avoid to do a FinishView
194  that will do a viewAll that may displace the camera.
195- G4OpenInventorViewer : put the camera under a group and put
196  a sensor (fGroupCameraSensor) on the group to detect that the viewer
197  changed the camera type.
198- G4OpenInventor[Xt,Win]Viewer : GetCamera() to get camera of the viewer.
199- G4OpenInventorViewer : delete fSoCameraSensor.
200
20124th November 2004  John Allison
202- Fixed SetView to respond to view parameters and CameraSensorCB to
203  provide view parameters. Target point not quite right. Only for
204  orthogonal view so far.
205
20624th November 2004  Guy Barrand
207- So*.cc : have #ifdef G4VIS_BUILD_OI_DRIVER instead of OIX_DRIVER !!!
208- G4OpenInventor[Xt,Win]Viewer, SceneHandler : handle reduced wire frame
209  at the level of the view.
210- SoPolyhedron : reducedWireFramw field.
211
21223th November 2004  Guy Barrand
213- So*.cc : have #ifdef G4VIS_BUILD_OIX_DRIVER.
214
21522th November 2004  Guy Barrand
216- G4OpenInventor[Xt,Win]Viewer : "Set preview", "Set preview and full"
217  menu items.
218- G4OpenInventorViewer : count nodes and shapes.
219- SoCounterAction : to count nodes.
220- G4OpenInventorViewer : SetSolid, SetWireFrame : arrange to avoid a SetView
221  for the moment. It will move the camera ! Arrange to not clear the
222  transient store.
223- G4OpenInventorViewer : commit commented SoNodeSensor on fSoCamera.
224- G4OpenInventorXtViewer : have a help dialog.
225- G4OpenInventorSceneHandler : delete the SbMatrix returned
226  by G4OpenInventorTransform3D::GetSbMatrix. Not done before !
227- G4OpenInventorTransform3D : use SbMatrix instead of SoSFMatrix.
228- G4OpenInventorSceneHandler : cache SoResetTransform.
229- SoStyleCache : destructor protected.
230- G4OpenInventor[Xt,Win]Viewer : Help pulldown menu.
231- G4OpenInventorViewer : in "Scene graph stats", count triangles,lines,points.
232- G4OpenInventorViewer : set auto refresh by default.
233
23421th November 2004  Guy Barrand
235- G4OpenInventor[Xt,Win]Viewer, SceneHandler : add a simple picking that
236  dumps picked SoNode address, type and name.
237- G4OpenInventor[Xt,Win]Viewer : "Help controls" menu item.
238- G4OpenInventorSceneHandler::PreAddThis : comment the "ERROR leaf protocal"
239  message. Misleading to users.
240
24119th November 2004  Guy Barrand
242- G4OpenInventorSceneHandler::ClearStore: clear the fSeparatorMap.
243
24418th November 2004  Guy Barrand
245- G4OpenInventorSceneHandler::PreAddThis : handle viewer style.
246- G4OpenInventorView : have an SoOrthographicCamera
247  and a first implementation of SetView.
248- Removed redundant fLastVP from G4OpenInventorSceneHandler (JA).
249
25017th November 2004  Guy Barrand
251- G4OpenInventorSceneHandler : rm the AddThis(G4Box,....). We use
252  then only the generic AddPrimitive(G4Polyhedron). Much simpler.
253
25415th November 2004  Guy Barrand
255- G4OpenInventorViewer : //FIXME comment out on
256  f[Default]VP.SetCulling(false) by default. Not convinced that it is
257  the right thing to do.
258- G4OpenInventorViewer : have f[Default]VP.SetCulling(false) by default.
259- On viewer have "Erase detector, event" menuitems for Xt and Win.
260- G4OpenInventorWinViewer : have it inheriting G4OpenInventorViewer.
261- G4OpenInventorSceneHandler : WIN32 : correct some warnings.
262
26314th November 2004  Guy Barrand
264- G4OpenInventorSceneHandler.cc : handle transparency.
265- SoImageWriter, SbPainter, SbPainterPS : material to produce pixmap PS.
266- G4OpenInventorViewer : base class for Inventor viewers.
267- Menuitem "Etc/Triangles" : to count rendered triangles.
268- Menuitem "File/IV" : to write the scene in an inventor file.
269
27014th November 2004  John Allison  (openinventor-V06-02-01)
271- Tag on branch openinventor-V06-02-01-branch.
272- Consolidating the changes below, plus:
273  - forcing culling off by default;
274  - forcing solid mode;
275  so that the user:
276  - sees all of the requested geometry volume tree;
277  - can use pointer button and CTRL-left-click to uncover (SHIFT-left-click
278    to re-cover);
279  - can use the hand button and right-click to get wireframe.
280- Removed G4OpenInventorSceneHandler::EndModeling (empty function).
281
28212th November 2004  Guy Barrand
283- G4OpenInventor.cc : initClass of Geant4_SoPolyhedron.
284- G4OpenInventorWinViewer.cc : WM_COMMAND : filter only messages
285  from the window viewer menu.
286- G4OpenInventorSceneHandler.cc : rm G4Polymarker::line handling.
287
28811th November 2004  Guy Barrand
289- Add SoPolyhedron that permits to visualize directly HepPolyhedron.
290- G4OpenInventorSceneHandler::AddThis : uses the generic
291  SoPolyhedron. Modeling is wireFrame by default.
292  Solid modeling is used only in case visAtb.SetForceSolid(true).
293- G4OpenInventorSceneHandler::PreAddThis : correct a flaw
294  in the non-leaf part ; in case mother not found in fSeparatorMap
295  the SoDetectorTreeKit were added nowhere ! This induced that
296  exaN03Vis5 displayed no gemetry.
297- SoStyleCache : permit to cache commonly used colors, line styles and
298  light models.
299- G4OpenInventorSceneHandler : use SoStyleCache to minimize number of nodes.
300- End of the first world war.
301- Death of Arrafat.
302
30310th November 2004  Guy Barrand
304- SoMarkerSet, SoGL2PSAction : corrections to work with SGI Inventor.
305- gl2ps : gl2psPrintPostScriptPixmap : fix nbit=2,4 width truncation.
306  (On SoMarkerSet, the last column of pixmapswere missing ).
307
3089th November 2004  Guy Barrand
309- WIN32 : G4OpenInventorWinViewer : have a File pulldown menu
310  with an Escape button to quit secondary Windows event loops.
311- Xt : G4OpenInventorXtViewer : in destructor comment (and //FIXME)
312  the "delete fViewer". With SGI, it hangs.
313- Xt : Have a menubar and put escape button in the File pulldown menu.
314- SoGL2PSAction, gl2ps : action to handle PostScript production with gl2ps.
315- Xt : "PostScript" menu item.
316- WIN32 : "PostScript" menu item.
317
3188th November 2004  Guy Barrand
319- WIN32 : Have HEPVis/SbGL.h to access GL.h properly on Windows.
320  Use by SoMarkerSet.cc.
321- G4OpenInventor.cc : initialize SoMarkerSet.
322- G4OpenInventorWinViewer : correct bad viewer look and feel.
323
3247th November 2004  Guy Barrand
325- Have SoMarkerSet.h, .cc in the repository.
326- G4OpenInventorSceneHandler :
327  Have a AddPrimitive(G4Polymarker) using SoMarkerSet.
328  SoMarkerSet draws markers in the frame buffer. It is much
329  more performant than having SoSphere and SoCube for markers.
330
3316th November 2004  Guy Barrand
332- G4OpenInventorXtViewer : restore the escape button.
333  This button is put in the "app buttons" of the SoXtExaminerViewer.
334  (The "app buttons" are put in the left border of decoration).
335  It is ok with SGI-2.1.510 and recent SoXt of Coin,
336
33721th July 2004  Guy Barrand (openinventor-V06-02-00)
338- G4OpenInventorXtViewer : add include X11/Shell.h to have
339  XtNgeometry that may not come throught the includes of some
340  Inventor implementation.
341
34208th April 2004  Guy Barrand (openinventor-V06-01-00)
343- Bring in the repository the necessary HEPVis code. In fact few of HEPVis
344  is used in this G4 driver. Then HEPVis is no more needed.
345  Note that, to avoid clashes of G4/vis within experiments, the HEPVis
346  node are protected by some : #define Geant4_<node> <node>.  Then, for
347  example, within the G4OpenInventor lib there are Geant4_SoBox, etc...
348  (and not SoBox,... that may clash with other HEPVis code in  experiments).
349- Have code to run on Windows.
350- Split Viewer to have G4OpenInventorXtViewer and G4OpenInventorWinViewer.
351- Split G4OpenInventor to have G4OpenInventorXt and G4OpenInventorWin.
352  Xt and Win (and not X and Win32 like in vis/OpenGL) to follow
353  the conventions found in the OpenInventor world.
354
35529th October 2003  Cosmo Gabriele (openinventor-V05-02-00)
356- Patch in G4OpenInventorSceneHandler in PreAddThis() to cope with changes
357  introduced in G4VPhysicalVolume in "geant4-05-02-ref-04", where pointer to
358  mother physical-volume was removed.
359  Separators map now refers to logical-volumes and is no longer built
360  iteratively for each call to the method as it was done in an attempt
361  implemented previously.
362  NOTE: requires more investigation and eventually a revision of the
363        adopted algorithm.
364- Cleared usage of 'NULL' in favour of '0'.
365
3664th October 2003  Cosmo Gabriele (vis-V05-02-01)
367- Simplified GNUmakefile.
368
36914th January 2003  John Allison  (openinventor-V05-00-00)
370- Removed vertex.transform (*fpObjectTransformation) from
371  G4OpenInventorSceneHandler::AddPrimitive (const G4Polyhedron& polyhedron).
372  Symptom was that polyhedron objects were being transformed twice.
373  The transformation is stored in
374  G4OpenInventorSceneHandler::PreAddThis
375  ...
376  G4OpenInventorTransform3D oiTran (objectTransformation);
377  SoSFMatrix* oiMat = oiTran.GetOIMatrix();
378  SoMatrixTransform* xform = new SoMatrixTransform;
379  xform->matrix.setValue(oiMat->getValue());
380  currentSeparator->addChild(new SoResetTransform);
381  currentSeparator->addChild(xform);
382}
383
38427th November 2002  John Allison  (vis-V04-01-08)
385- Improved algorithm of CompareForKernelVisit.
386
38714th August 2001  John Allison  (vis-V03-02-11)
388- Improved KernelVisitDecision - but see note therein.
Note: See TracBrowser for help on using the repository browser.