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

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

update ti head

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