source: trunk/geant4/visualization/OpenInventor/History @ 552

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

r658@mac-90108: laurentgarnier | 2007-06-25 12:02:16 +0200
import de visualisation

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