47 size_t nPasses = cutawayUnion? cutaways.size(): 1;
48 for (
size_t i = 0; i < nPasses; ++i) {
52 a[0] = cutaways[i].a();
53 a[1] = cutaways[i].b();
54 a[2] = cutaways[i].c();
55 a[3] = cutaways[i].d();
56 glClipPlane (GL_CLIP_PLANE2, a);
57 glEnable (GL_CLIP_PLANE2);
63 if (cutawayUnion) glDisable (GL_CLIP_PLANE2);
std::vector< G4Plane3D > G4Planes
CutawayMode GetCutawayMode() const
const G4Planes & GetCutawayPlanes() const