source: trunk/geant4/visualization/OpenInventor/History @ 598

Last change on this file since 598 was 593, checked in by garnier, 17 years ago

r627@mac-90108: laurentgarnier | 2007-11-09 07:57:42 +0100
modif dans les includes directives

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