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

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

update

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