source: trunk/source/visualization/OpenInventor/History

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

update

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