Clipping

Is it possible to make clipping in X, Y and Z direction?

I dont want a clipping in the plane of the view.

I want a total of 6 plane of clipping.

Sven Jungnickel's picture

Use the methods

V3_View::SetPlaneOn(...)
V3_View::SetPlaneOff(...)

to define your clipping planes in X, Y and Z for a single view. Inverted direction of the normal vector defines the direction in which the models are clipped. See short documentation in V3d_View.cdl file (path '\ros\src\V3d in OCC installtion)

Sven Jungnickel's picture

Sorry, some small spelling errors in the namespace

V3d_View::SetPlaneOn(...)
V3d_View::SetPlaneOff(...)