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

Last change on this file since 1228 was 1228, checked in by garnier, 14 years ago

update geant4.9.3 tag

File size: 17.4 KB
Line 
1$Id: History,v 1.104 2009/11/17 17:47:49 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/OpenInventor
21-------------------------------------------
22
2317th November 2009  John Allison  (openinventor-V09-02-03)
24- Tagged for vis tag.
25
2617th November 2009  Gabriele Cosmo
27- Fixed GNUmakefile.  Fixes build problem with gl2ps on Windows.
28
2929 September 2009  John Allison  (openinventor-V09-02-02)
30- Tagged.
31
3218 August 2009 Laurent Garnier
33 - G4OpenInventorXt/WinViewer : Fix a wrong initialization introduce by the
34   new way of handling window size hints (January 2009)
35
3624 July 2009, Laurent Garnier
37 - Remove Geant4_gl2ps.h gl2ps.cc gl2ps.h which were copied in external/gl2ps
38   in february but forgot to remove them from OpenInventor
39
4018 February 2009, Laurent Garnier (openinventor-V09-02-01)
41 - Bug fix in gl2ps drawing
42
4316 February 2009, Laurent Garnier
44 - Modifications in GNUMakefile for gl2ps.
45 - SoGL2PSAction Modified.
46 - G4OpenInventorViewer.cc add a protection on file writing in gl2ps
47
4830th April 2008  John Allison  (openinventor-V09-01-01)
49- Fixes more gcc-4.3.0 compiler warnings.
50
514th April 2008  John Allison  (openinventor-V09-01-00)
52- Fixes most gcc-4.3.0 compiler warnings.
53
5423rd October 2007  Gabriele Cosmo
55- Initialise local vectors in SoPolyhedron.cc to fix compilation warnings
56  on gcc-4.2.2 for use of non-initialised values.
57
583rd April 2007  John Allison  (openinventor-V08-02-02 - needs visman-V08-02-03)
59- Introduced picking control.  Default is "true" for Open Inventor.
60
6125th March 2007  John Allison  (openinventor-V08-02-01)
62- G4OpenInventorSceneHandler: Introduced AddProperties. Rationalises.
63- G4OpenInventorViewer.cc: Added scale factor to list of changes
64  requiring kernel visit.
65
665th January 2007  John Allison  (openinventor-V08-02-00)
67- Moved LoadAtts to vis management.
68
695th November 2006  John Allison  (openinventor-V08-01-04)
70- Protected against zero material pointer.
71
722nd November 2006  John Allison  (openinventor-V08-01-03)
73- Rationalised G4Att loading and extended picking to hits.
74
751st November 2006  John Allison  (openinventor-V08-01-02)
76- Follow changes to greps-V08-01-09: G4AttCheck/Holder rationalisation.
77
7826th October 2006  John Allison  (openinventor-V08-01-01)
79- Added SoG4LineSet, SoG4MarkerSet and SoG4Polyhedron - classes extended to
80  include G4Atts (G4AttValues and G4AttDefs) for picking.
81- G4OpenInventorSceneHandler.cc: Load lines, markers and polyhedron objects
82  with G4Atts.
83- G4OpenInventorViewer.cc: print G4Atts on picking.
84
8529th August 2006  John Allison  (openinventor-V08-01-00)
86- G4OpenInventorViewer::CompareForKernelVisit: Rationalisation. This
87  assumes use of generic clipping (sectioning, slicing, DCUT,
88  cutaway).  If a decision is made to implement locally, this will
89  need changing.  See G4OpenGLViewer::SetView,
90  G4OpenGLStoredViewer.cc::CompareForKernelVisit and
91  G4OpenGLStoredSceneHander::CreateSection/CutawayPolyhedron.
92
934th June 2006 Joseph Perl (openinventor-V08-00-05)
94- This tag includes all the changes below.
95
962 June 2006  Guy Barrand :
97- G4OpenInvenot, G4OpenInvenotXt, G4OpenInvenotWin : have an Initialize
98  method in order to init Xt and Inventor only is really used
99  (when creating a viewer or a scene handler).
100
10119th April 2006  Gabriele Cosmo  (openinventor-V08-00-04)
102- Use cmath instead of math.h.
103
10428th March John Allison  (openinventor-V08-00-03)
105- Cosmetic.
106
10721st March John Allison  (openinventor-V08-00-02)
108- Rationalised G4OpenInventorSceneHandler:
109  o Introduced GeneratePrerequisites.
110  o Uses dynamic_cast<G4PhysicalVolumeModel*>(fpModel) instead
111    of fpCurrentPV, etc.
112  o Uses G4VSceneHandler utility functions,
113    GetApplicableVisAttributes, GetColour, GetTextColour,
114    GetMarkerSize, GetDrawingStyle, GetAuxEdgeVisible, where possible.
115  o Revision 1.43: messy version with original code commented out.
116  o Revision 1.44 (.cc) and 1.28 (.hh) (tagged): tidied versions.
117- Investigated G4OpenInventorViewer:
118  o Changed: DrawDetector and UpdateScene.  No noticeable effect!
119
12020th March John Allison
121- G4OpenInventorSceneHandler:
122  o Bug fix for transient solids.
123  o Replaced some code in AddPrimitive(const G4Polymarker&) by GetMarkerSize.
124  o Attempt to finish AddPrimitive (const G4Text&) - still draws at origin.
125
12630th January 2006  John Allison  (openinventor-V08-00-01)
127- Implemented drawn volume path.  Needs modeling-V08-00-01.  Scene
128  graph now corresponds to drawn, i.e., non-culled geometry.
129  Inability to find (drawn) mothers shouldn't happen now, and it
130  triggers an error message.
131
13226th January 2006  John Allison  (openinventor-V08-00-00)
133- Coworks with visman-V08-00-04 (removed fModified).
134- Removed references to fModified.
135
13620th December 2005  Guy Barrand
137- SoAlternateRepAction.cc : add the #ifdef G4VIS_BUILD_OI_DRIVER.
138
13912th December 2005  John Allison
140- G4OpenInventorSceneHandler.cc: Pick up colour and transformation
141  correctly for non-physical-volume solids.
142  o G4OpenInventorSceneHandler::AddPrimitive (const G4Polyhedron&):
143    Added code to pick up colour if LV and PV pointers are zero.
144  o G4OpenInventorSceneHandler::BeginPrimitives: Pick up
145    transformation if LV and PV pointers are zero.
146  o G4OpenInventorSceneHandler::PreAddSolid: Added code to pick up
147    colour if LV and PV pointers are zero and removed return statement
148    so that transformation is picked up too.
149
15030th November 2005  Gabriele Cosmo (openinventor-V07-01-04)
151- Trivial fix to SoPolyhedron for support of CLHEP-2.0.X series.
152
15315th November 2005  Guy Barrand (openinventor-V07-01-03)
154- G4OpenInventorXtViewer : handle fVP.GetXGeometryString().
155- G4OpenInventorSceneHandler : handle global scale view parameter.
156  Done in BeginPrimitives and PreAddSolid by doing a
157  SbMatrix::multRight(sbScale) to the incoming global G4Transform3D matrix.
158- G4OpenInventor[Xt,Win]Viewer : handle set background. Done
159  in the overloaded SetView method.
160
16117th October 2005  Guy Barrand
162- G4OpenInventorViewer::G4OpenInventorViewer : read a g4view.iv
163  file at creating of a view. If found, the scene graph in g4view.iv
164  if added at head of the overall scene graph. This permits easy
165  out of band customization of the scene without having to touch
166  the code.
167- Modification in order to save geometry in an Inventor file.
168  Addition of an "alternateRep" for the SoPolyhedron (see Inventor doc).
169  Addition of an "alternateRep" for the SoDetectorTreeKit.
170  Addition of the SoAlternaterRepAction to traverse a scene graph
171  and construct / delete the alternate reps.
172  Modification of G4OpenInventorViewer::WriteInventor to write the
173  alternateRep of the SoPolyhedron and then save geometry in a
174  .iv file by using Inventor standard lib. In particular the produced
175  .iv files are readable by the ivview standard tool.
176
1772nd September 2005  John Allison (openinventor-V07-01-02)
178- Corrected treatment of edgeflags.
179
1801st August 2005  Gabriele Cosmo  (openinventor-V07-01-01)
181- Fixed compilation errors and warnings on gcc-4.0.0. Modified files:
182  SoDetectorTreeKit.cc, gl2ps[.h.cc].
183
18420th July 2005  John Allison  (openinventor-V07-01-00)
185- Changed Geant4_SoPolyhedron to construct from G4Polyhedron rather
186  than its base class, HepPolyhedron, for possible future
187  developments.  Functionality unchanged.
188
1892nd June 2005  John Allison  (openinventor-V07-00-02)
190- Changed char* to const char* in gl2psMsg.
191
19227th May 2005  John Allison  (openinventor-V07-00-01)
193- Implemented marker sizes.
194
19525th May 2005  Guy Barrand  (openinventor-V07-00-00)
196- G4OpenInventorTransform3D.cc : use the CLHEP::Transform3D::operator(i,j)
197  to initialize the m array in order to be compatible with new versions
198  of CLHEP.
199
20019th March 2005  Guy Barrand
201- SoCounterAction.cc : remove extra ';' at end of SO_ACTION_SOURCE.
202  Code with ';;' does not compile with the "-pedantic" mode of g++-3.4.
203
20426th November 2004  Guy Barrand  (openinventor-V06-02-02)
205- G4OpenInventorXtViewer, SoPolyhedron, SoCounterAction.h :
206  correct some warnings on g++-3.2.1 (reported by Tom Roberts).
207
20825th November 2004  Guy Barrand
209- G4OpenInventor[Viewer,SceneHandle] : handle aux edges.
210- G4OpenInventorViewer : in SetSolid, etc... avoid to do a FinishView
211  that will do a viewAll that may displace the camera.
212- G4OpenInventorViewer : put the camera under a group and put
213  a sensor (fGroupCameraSensor) on the group to detect that the viewer
214  changed the camera type.
215- G4OpenInventor[Xt,Win]Viewer : GetCamera() to get camera of the viewer.
216- G4OpenInventorViewer : delete fSoCameraSensor.
217
21824th November 2004  John Allison
219- Fixed SetView to respond to view parameters and CameraSensorCB to
220  provide view parameters. Target point not quite right. Only for
221  orthogonal view so far.
222
22324th November 2004  Guy Barrand
224- So*.cc : have #ifdef G4VIS_BUILD_OI_DRIVER instead of OIX_DRIVER !!!
225- G4OpenInventor[Xt,Win]Viewer, SceneHandler : handle reduced wire frame
226  at the level of the view.
227- SoPolyhedron : reducedWireFramw field.
228
22923th November 2004  Guy Barrand
230- So*.cc : have #ifdef G4VIS_BUILD_OIX_DRIVER.
231
23222th November 2004  Guy Barrand
233- G4OpenInventor[Xt,Win]Viewer : "Set preview", "Set preview and full"
234  menu items.
235- G4OpenInventorViewer : count nodes and shapes.
236- SoCounterAction : to count nodes.
237- G4OpenInventorViewer : SetSolid, SetWireFrame : arrange to avoid a SetView
238  for the moment. It will move the camera ! Arrange to not clear the
239  transient store.
240- G4OpenInventorViewer : commit commented SoNodeSensor on fSoCamera.
241- G4OpenInventorXtViewer : have a help dialog.
242- G4OpenInventorSceneHandler : delete the SbMatrix returned
243  by G4OpenInventorTransform3D::GetSbMatrix. Not done before !
244- G4OpenInventorTransform3D : use SbMatrix instead of SoSFMatrix.
245- G4OpenInventorSceneHandler : cache SoResetTransform.
246- SoStyleCache : destructor protected.
247- G4OpenInventor[Xt,Win]Viewer : Help pulldown menu.
248- G4OpenInventorViewer : in "Scene graph stats", count triangles,lines,points.
249- G4OpenInventorViewer : set auto refresh by default.
250
25121th November 2004  Guy Barrand
252- G4OpenInventor[Xt,Win]Viewer, SceneHandler : add a simple picking that
253  dumps picked SoNode address, type and name.
254- G4OpenInventor[Xt,Win]Viewer : "Help controls" menu item.
255- G4OpenInventorSceneHandler::PreAddThis : comment the "ERROR leaf protocal"
256  message. Misleading to users.
257
25819th November 2004  Guy Barrand
259- G4OpenInventorSceneHandler::ClearStore: clear the fSeparatorMap.
260
26118th November 2004  Guy Barrand
262- G4OpenInventorSceneHandler::PreAddThis : handle viewer style.
263- G4OpenInventorView : have an SoOrthographicCamera
264  and a first implementation of SetView.
265- Removed redundant fLastVP from G4OpenInventorSceneHandler (JA).
266
26717th November 2004  Guy Barrand
268- G4OpenInventorSceneHandler : rm the AddThis(G4Box,....). We use
269  then only the generic AddPrimitive(G4Polyhedron). Much simpler.
270
27115th November 2004  Guy Barrand
272- G4OpenInventorViewer : //FIXME comment out on
273  f[Default]VP.SetCulling(false) by default. Not convinced that it is
274  the right thing to do.
275- G4OpenInventorViewer : have f[Default]VP.SetCulling(false) by default.
276- On viewer have "Erase detector, event" menuitems for Xt and Win.
277- G4OpenInventorWinViewer : have it inheriting G4OpenInventorViewer.
278- G4OpenInventorSceneHandler : WIN32 : correct some warnings.
279
28014th November 2004  Guy Barrand
281- G4OpenInventorSceneHandler.cc : handle transparency.
282- SoImageWriter, SbPainter, SbPainterPS : material to produce pixmap PS.
283- G4OpenInventorViewer : base class for Inventor viewers.
284- Menuitem "Etc/Triangles" : to count rendered triangles.
285- Menuitem "File/IV" : to write the scene in an inventor file.
286
28714th November 2004  John Allison  (openinventor-V06-02-01)
288- Tag on branch openinventor-V06-02-01-branch.
289- Consolidating the changes below, plus:
290  - forcing culling off by default;
291  - forcing solid mode;
292  so that the user:
293  - sees all of the requested geometry volume tree;
294  - can use pointer button and CTRL-left-click to uncover (SHIFT-left-click
295    to re-cover);
296  - can use the hand button and right-click to get wireframe.
297- Removed G4OpenInventorSceneHandler::EndModeling (empty function).
298
29912th November 2004  Guy Barrand
300- G4OpenInventor.cc : initClass of Geant4_SoPolyhedron.
301- G4OpenInventorWinViewer.cc : WM_COMMAND : filter only messages
302  from the window viewer menu.
303- G4OpenInventorSceneHandler.cc : rm G4Polymarker::line handling.
304
30511th November 2004  Guy Barrand
306- Add SoPolyhedron that permits to visualize directly HepPolyhedron.
307- G4OpenInventorSceneHandler::AddThis : uses the generic
308  SoPolyhedron. Modeling is wireFrame by default.
309  Solid modeling is used only in case visAtb.SetForceSolid(true).
310- G4OpenInventorSceneHandler::PreAddThis : correct a flaw
311  in the non-leaf part ; in case mother not found in fSeparatorMap
312  the SoDetectorTreeKit were added nowhere ! This induced that
313  exaN03Vis5 displayed no gemetry.
314- SoStyleCache : permit to cache commonly used colors, line styles and
315  light models.
316- G4OpenInventorSceneHandler : use SoStyleCache to minimize number of nodes.
317- End of the first world war.
318- Death of Arrafat.
319
32010th November 2004  Guy Barrand
321- SoMarkerSet, SoGL2PSAction : corrections to work with SGI Inventor.
322- gl2ps : gl2psPrintPostScriptPixmap : fix nbit=2,4 width truncation.
323  (On SoMarkerSet, the last column of pixmapswere missing ).
324
3259th November 2004  Guy Barrand
326- WIN32 : G4OpenInventorWinViewer : have a File pulldown menu
327  with an Escape button to quit secondary Windows event loops.
328- Xt : G4OpenInventorXtViewer : in destructor comment (and //FIXME)
329  the "delete fViewer". With SGI, it hangs.
330- Xt : Have a menubar and put escape button in the File pulldown menu.
331- SoGL2PSAction, gl2ps : action to handle PostScript production with gl2ps.
332- Xt : "PostScript" menu item.
333- WIN32 : "PostScript" menu item.
334
3358th November 2004  Guy Barrand
336- WIN32 : Have HEPVis/SbGL.h to access GL.h properly on Windows.
337  Use by SoMarkerSet.cc.
338- G4OpenInventor.cc : initialize SoMarkerSet.
339- G4OpenInventorWinViewer : correct bad viewer look and feel.
340
3417th November 2004  Guy Barrand
342- Have SoMarkerSet.h, .cc in the repository.
343- G4OpenInventorSceneHandler :
344  Have a AddPrimitive(G4Polymarker) using SoMarkerSet.
345  SoMarkerSet draws markers in the frame buffer. It is much
346  more performant than having SoSphere and SoCube for markers.
347
3486th November 2004  Guy Barrand
349- G4OpenInventorXtViewer : restore the escape button.
350  This button is put in the "app buttons" of the SoXtExaminerViewer.
351  (The "app buttons" are put in the left border of decoration).
352  It is ok with SGI-2.1.510 and recent SoXt of Coin,
353
35421th July 2004  Guy Barrand (openinventor-V06-02-00)
355- G4OpenInventorXtViewer : add include X11/Shell.h to have
356  XtNgeometry that may not come throught the includes of some
357  Inventor implementation.
358
35908th April 2004  Guy Barrand (openinventor-V06-01-00)
360- Bring in the repository the necessary HEPVis code. In fact few of HEPVis
361  is used in this G4 driver. Then HEPVis is no more needed.
362  Note that, to avoid clashes of G4/vis within experiments, the HEPVis
363  node are protected by some : #define Geant4_<node> <node>.  Then, for
364  example, within the G4OpenInventor lib there are Geant4_SoBox, etc...
365  (and not SoBox,... that may clash with other HEPVis code in  experiments).
366- Have code to run on Windows.
367- Split Viewer to have G4OpenInventorXtViewer and G4OpenInventorWinViewer.
368- Split G4OpenInventor to have G4OpenInventorXt and G4OpenInventorWin.
369  Xt and Win (and not X and Win32 like in vis/OpenGL) to follow
370  the conventions found in the OpenInventor world.
371
37229th October 2003  Cosmo Gabriele (openinventor-V05-02-00)
373- Patch in G4OpenInventorSceneHandler in PreAddThis() to cope with changes
374  introduced in G4VPhysicalVolume in "geant4-05-02-ref-04", where pointer to
375  mother physical-volume was removed.
376  Separators map now refers to logical-volumes and is no longer built
377  iteratively for each call to the method as it was done in an attempt
378  implemented previously.
379  NOTE: requires more investigation and eventually a revision of the
380        adopted algorithm.
381- Cleared usage of 'NULL' in favour of '0'.
382
3834th October 2003  Cosmo Gabriele (vis-V05-02-01)
384- Simplified GNUmakefile.
385
38614th January 2003  John Allison  (openinventor-V05-00-00)
387- Removed vertex.transform (*fpObjectTransformation) from
388  G4OpenInventorSceneHandler::AddPrimitive (const G4Polyhedron& polyhedron).
389  Symptom was that polyhedron objects were being transformed twice.
390  The transformation is stored in
391  G4OpenInventorSceneHandler::PreAddThis
392  ...
393  G4OpenInventorTransform3D oiTran (objectTransformation);
394  SoSFMatrix* oiMat = oiTran.GetOIMatrix();
395  SoMatrixTransform* xform = new SoMatrixTransform;
396  xform->matrix.setValue(oiMat->getValue());
397  currentSeparator->addChild(new SoResetTransform);
398  currentSeparator->addChild(xform);
399}
400
40127th November 2002  John Allison  (vis-V04-01-08)
402- Improved algorithm of CompareForKernelVisit.
403
40414th August 2001  John Allison  (vis-V03-02-11)
405- Improved KernelVisitDecision - but see note therein.
Note: See TracBrowser for help on using the repository browser.