Ignore:
Timestamp:
May 27, 2010, 10:36:45 AM (14 years ago)
Author:
garnier
Message:

update...

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/visualization/OpenGL/src/G4OpenGLSceneHandler.cc

    r1253 r1274  
    2525//
    2626//
    27 // $Id: G4OpenGLSceneHandler.cc,v 1.57 2010/04/30 13:18:32 lgarnier Exp $
     27// $Id: G4OpenGLSceneHandler.cc,v 1.58 2010/05/11 10:17:32 allison Exp $
    2828// GEANT4 tag $Name:  $
    2929//
     
    138138}
    139139
    140 const G4Polyhedron* G4OpenGLSceneHandler::CreateSectionPolyhedron ()
     140G4VSolid* G4OpenGLSceneHandler::CreateSectionSolid ()
    141141{
    142142  // Clipping done in G4OpenGLViewer::SetView.
    143   return 0;
     143  // return 0;
    144144
    145145  // But...OpenGL no longer seems to reconstruct clipped edges, so,
    146146  // when the BooleanProcessor is up to it, abandon this and use
    147   // generic clipping in G4VSceneHandler::CreateSectionPolyhedron...
    148   // return G4VSceneHandler::CreateSectionPolyhedron();
    149 }
    150 
    151 const G4Polyhedron* G4OpenGLSceneHandler::CreateCutawayPolyhedron ()
     147  // generic clipping in G4VSceneHandler::CreateSectionSolid...
     148  return G4VSceneHandler::CreateSectionSolid();
     149}
     150
     151G4VSolid* G4OpenGLSceneHandler::CreateCutawaySolid ()
    152152{
    153153  // Cutaway done in G4OpenGLViewer::SetView.
    154   return 0;
     154  // return 0;
    155155
    156156  // But...if not, when the BooleanProcessor is up to it...
    157   // return G4VSceneHandler::CreateCutawayPolyhedron();
     157  return G4VSceneHandler::CreateCutawaySolid();
    158158}
    159159
Note: See TracChangeset for help on using the changeset viewer.