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

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

add gl2ps library and changes to include it. See History file

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