Visual cutting / slicing

Hello Folks,

I'm looking for a way to slice a model by a defined cut plane; but only for the purpose of visualization. Is there a way without copying the geometry to a temporary model and performing the boolean cut operation on it's solids?

Cheers,

Dennis

Fotis Sioutis's picture

Have a look at :

1)Instanciating a V3d_Plane
2)V3d_View::SetPlaneOn(aPlane) activates the clipping plane;

also you can have a visual feedback of your plane by calling :

V3d_Plane::Display(aView);

Of course all of this if you use the OCC provided visualization package

PS : This is nothing more than the clipping capabillity provided by OpenGL

Fotis