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

Last change on this file since 1217 was 1196, checked in by garnier, 16 years ago

update CVS release candidate geant4.9.3.01

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