Open CASCADE Technology
6.5.4
|
This class allows the definition and update
of clipping planes in the space model.
#include <Visual3d_ClipPlane.hxx>
Public Member Functions | |
Visual3d_ClipPlane (const Standard_Real ACoefA, const Standard_Real ACoefB, const Standard_Real ACoefC, const Standard_Real ACoefD) | |
Creates a clipping plane from the equation : <ACoefA>*X + <ACoefB>*Y + <ACoefC>*Z + <ACoefD> = 0.0 | |
void | SetPlane (const Standard_Real ACoefA, const Standard_Real ACoefB, const Standard_Real ACoefC, const Standard_Real ACoefD) |
Modifies the plane equation. | |
void | Plane (Standard_Real &ACoefA, Standard_Real &ACoefB, Standard_Real &ACoefC, Standard_Real &ACoefD) const |
Returns the values of the clipping plane <me>. | |
Static Public Member Functions | |
static Standard_Integer | Limit () |
Maximum number of activatable clipping planes. |
Visual3d_ClipPlane::Visual3d_ClipPlane | ( | const Standard_Real | ACoefA, |
const Standard_Real | ACoefB, | ||
const Standard_Real | ACoefC, | ||
const Standard_Real | ACoefD | ||
) |
static Standard_Integer Visual3d_ClipPlane::Limit | ( | ) | [static] |
void Visual3d_ClipPlane::Plane | ( | Standard_Real & | ACoefA, |
Standard_Real & | ACoefB, | ||
Standard_Real & | ACoefC, | ||
Standard_Real & | ACoefD | ||
) | const |
void Visual3d_ClipPlane::SetPlane | ( | const Standard_Real | ACoefA, |
const Standard_Real | ACoefB, | ||
const Standard_Real | ACoefC, | ||
const Standard_Real | ACoefD | ||
) |