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

Last change on this file since 1325 was 1288, checked in by garnier, 15 years ago

update from CVS

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