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

Last change on this file since 849 was 849, checked in by garnier, 17 years ago

maj de CVS

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