- Timestamp:
- May 27, 2010, 10:36:45 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/visualization/OpenGL/src/G4OpenGLSceneHandler.cc
r1253 r1274 25 25 // 26 26 // 27 // $Id: G4OpenGLSceneHandler.cc,v 1.5 7 2010/04/30 13:18:32 lgarnierExp $27 // $Id: G4OpenGLSceneHandler.cc,v 1.58 2010/05/11 10:17:32 allison Exp $ 28 28 // GEANT4 tag $Name: $ 29 29 // … … 138 138 } 139 139 140 const G4Polyhedron* G4OpenGLSceneHandler::CreateSectionPolyhedron()140 G4VSolid* G4OpenGLSceneHandler::CreateSectionSolid () 141 141 { 142 142 // Clipping done in G4OpenGLViewer::SetView. 143 return 0;143 // return 0; 144 144 145 145 // But...OpenGL no longer seems to reconstruct clipped edges, so, 146 146 // when the BooleanProcessor is up to it, abandon this and use 147 // generic clipping in G4VSceneHandler::CreateSection Polyhedron...148 // return G4VSceneHandler::CreateSectionPolyhedron();149 } 150 151 const G4Polyhedron* G4OpenGLSceneHandler::CreateCutawayPolyhedron()147 // generic clipping in G4VSceneHandler::CreateSectionSolid... 148 return G4VSceneHandler::CreateSectionSolid(); 149 } 150 151 G4VSolid* G4OpenGLSceneHandler::CreateCutawaySolid () 152 152 { 153 153 // Cutaway done in G4OpenGLViewer::SetView. 154 return 0;154 // return 0; 155 155 156 156 // But...if not, when the BooleanProcessor is up to it... 157 // return G4VSceneHandler::CreateCutawayPolyhedron();157 return G4VSceneHandler::CreateCutawaySolid(); 158 158 } 159 159
Note: See TracChangeset
for help on using the changeset viewer.