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

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

r659@mac-90108: laurentgarnier | 2007-11-16 12:02:01 +0100
mise a jour de Geant4 au head ET qq mise a jour pour Qt de mon cote

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