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

Last change on this file since 1347 was 1347, checked in by garnier, 13 years ago

geant4 tag 9.4

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