Changeset 1348 for trunk/source/visualization/OpenInventor/src
- Timestamp:
- Jan 5, 2011, 12:19:12 PM (14 years ago)
- Location:
- trunk/source/visualization/OpenInventor/src
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/visualization/OpenInventor/src/CVS/Entries
r1347 r1348 1 /G4OpenInventor.cc/1.20/Thu Jun 29 21:22:12 2006// Tgeant4-09-04-ref-002 /G4OpenInventor SceneHandler.cc/1.55/Wed Feb 18 14:21:38 2009//Tgeant4-09-04-ref-003 /G4OpenInventor Transform3D.cc/1.8/Thu Jun 29 21:22:16 2006//Tgeant4-09-04-ref-004 /G4OpenInventor Viewer.cc/1.61/Wed Oct 6 10:09:57 2010//Tgeant4-09-04-ref-005 /G4OpenInventorWin .cc/1.8/Wed May 26 14:30:46 2010//Tgeant4-09-04-ref-006 /G4OpenInventor WinViewer.cc/1.27/Wed Nov 10 17:53:22 2010//Tgeant4-09-04-ref-007 /G4OpenInventorXt .cc/1.5/Wed May 26 14:30:46 2010//Tgeant4-09-04-ref-008 / G4OpenInventorXtViewer.cc/1.26/Wed Nov 10 17:53:22 2010//Tgeant4-09-04-ref-009 /SbPainter .cc/1.5/Thu Jun 29 21:22:30 2006//Tgeant4-09-04-ref-0010 /S bPainterPS.cc/1.5/Thu Jun 29 21:22:32 2006//Tgeant4-09-04-ref-0011 /So AlternateRepAction.cc/1.4/Thu Jun 29 21:22:34 2006//Tgeant4-09-04-ref-0012 /So Box.cc/1.8/Thu Jun 29 21:22:36 2006//Tgeant4-09-04-ref-0013 /SoCo ns.cc/1.8/Thu Jun 29 21:22:38 2006//Tgeant4-09-04-ref-0014 /So CounterAction.cc/1.7/Thu Jun 29 21:22:49 2006//Tgeant4-09-04-ref-0015 /So DetectorTreeKit.cc/1.13/Thu Jun 29 21:22:51 2006//Tgeant4-09-04-ref-0016 /So GL2PSAction.cc/1.9/Wed Feb 18 10:04:25 2009//Tgeant4-09-04-ref-0017 /So ImageWriter.cc/1.5/Thu Jun 29 21:22:55 2006//Tgeant4-09-04-ref-0018 /So MarkerSet.cc/1.8/Thu Jun 29 21:22:57 2006//Tgeant4-09-04-ref-0019 /So Polyhedron.cc/1.13/Tue Oct 23 14:54:06 2007//Tgeant4-09-04-ref-0020 /So StyleCache.cc/1.7/Thu Jun 29 21:23:01 2006//Tgeant4-09-04-ref-0021 /SoTr ap.cc/1.8/Thu Jun 29 21:23:03 2006//Tgeant4-09-04-ref-0022 /SoT rd.cc/1.8/Thu Jun 29 21:23:05 2006//Tgeant4-09-04-ref-0023 / SoTubs.cc/1.8/Thu Jun 29 21:23:07 2006//Tgeant4-09-04-ref-001 /G4OpenInventor.cc/1.20/Thu Jun 29 21:22:12 2006// 2 /G4OpenInventorTransform3D.cc/1.8/Thu Jun 29 21:22:16 2006// 3 /G4OpenInventorViewer.cc/1.61/Wed Oct 6 10:09:57 2010// 4 /G4OpenInventorWin.cc/1.8/Wed May 26 14:30:46 2010// 5 /G4OpenInventorWinViewer.cc/1.27/Wed Nov 10 17:53:22 2010// 6 /G4OpenInventorXt.cc/1.5/Wed May 26 14:30:46 2010// 7 /G4OpenInventorXtViewer.cc/1.26/Wed Nov 10 17:53:22 2010// 8 /SbPainter.cc/1.5/Thu Jun 29 21:22:30 2006// 9 /SbPainterPS.cc/1.6/Mon Jan 3 14:40:22 2011// 10 /SoAlternateRepAction.cc/1.4/Thu Jun 29 21:22:34 2006// 11 /SoBox.cc/1.8/Thu Jun 29 21:22:36 2006// 12 /SoCons.cc/1.8/Thu Jun 29 21:22:38 2006// 13 /SoCounterAction.cc/1.7/Thu Jun 29 21:22:49 2006// 14 /SoDetectorTreeKit.cc/1.13/Thu Jun 29 21:22:51 2006// 15 /SoGL2PSAction.cc/1.9/Wed Feb 18 10:04:25 2009// 16 /SoImageWriter.cc/1.5/Thu Jun 29 21:22:55 2006// 17 /SoMarkerSet.cc/1.9/Mon Jan 3 14:40:22 2011// 18 /SoPolyhedron.cc/1.14/Mon Jan 3 14:40:22 2011// 19 /SoStyleCache.cc/1.7/Thu Jun 29 21:23:01 2006// 20 /SoTrap.cc/1.8/Thu Jun 29 21:23:03 2006// 21 /SoTrd.cc/1.8/Thu Jun 29 21:23:05 2006// 22 /SoTubs.cc/1.8/Thu Jun 29 21:23:07 2006// 23 /G4OpenInventorSceneHandler.cc/1.56/Mon Jan 3 14:40:37 2011// 24 24 D -
trunk/source/visualization/OpenInventor/src/G4OpenInventorSceneHandler.cc
r1347 r1348 25 25 // 26 26 // 27 // $Id: G4OpenInventorSceneHandler.cc,v 1.5 5 2009/02/18 14:21:38 lgarnierExp $28 // GEANT4 tag $Name: geant4-09-04-ref-00$27 // $Id: G4OpenInventorSceneHandler.cc,v 1.56 2010/12/11 17:07:48 allison Exp $ 28 // GEANT4 tag $Name: $ 29 29 // 30 30 // … … 113 113 ,fReducedWireFrame(true) 114 114 ,fStyleCache(0) 115 ,fPreviewAndFull( false)115 ,fPreviewAndFull(true) 116 116 { 117 117 fStyleCache = new SoStyleCache; -
trunk/source/visualization/OpenInventor/src/SbPainterPS.cc
r529 r1348 65 65 ,fBufferCount(0) 66 66 ,fBufferString(NULL) 67 ,fBufferPointer(0) 67 68 ////////////////////////////////////////////////////////////////////////////// 68 69 //!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!// -
trunk/source/visualization/OpenInventor/src/SoMarkerSet.cc
r1196 r1348 719 719 GLubyte* bitmap = getBitmap(w,h,sFigures[aStyle]); 720 720 glBitmap(w,h,xorig,yorig,0.,0.,bitmap); 721 delete bitmap;721 delete [] bitmap; 722 722 } else if((aStyle>=18)&&(aStyle<36)) { 723 723 w = h = 7; … … 725 725 GLubyte* bitmap = getBitmap(w,h,sFigures[aStyle]); 726 726 glBitmap(w,h,xorig,yorig,0.,0.,bitmap); 727 delete bitmap;727 delete [] bitmap; 728 728 } else if((aStyle>=36)&&(aStyle<54)) { 729 729 w = h = 9; … … 731 731 GLubyte* bitmap = getBitmap(w,h,sFigures[aStyle]); 732 732 glBitmap(w,h,xorig,yorig,0.,0.,bitmap); 733 delete bitmap;733 delete [] bitmap; 734 734 } else { 735 735 return; -
trunk/source/visualization/OpenInventor/src/SoPolyhedron.cc
r609 r1348 343 343 separator->addChild(indexedFaceSet); 344 344 345 SbBool empty = TRUE;346 347 345 int nvert = fPolyhedron->GetNoVertices(); 348 346 int nface = fPolyhedron->GetNoFacets(); … … 374 372 coords[ipoint] = icoord + ipoint; 375 373 ipoint++; 376 empty = FALSE;377 378 374 } while (notLastEdge); 379 375 … … 397 393 delete [] points; 398 394 399 if(empty==TRUE) { 400 separator->unref(); 401 } else { 402 alternateRep.setValue(separator); 403 } 395 alternateRep.setValue(separator); 404 396 405 397 } else {
Note: See TracChangeset
for help on using the changeset viewer.