#include <V3d_Plane.hxx>
Public Member Functions | |
Standard_EXPORT | V3d_Plane (const Handle(V3d_Viewer)&VM, const Quantity_Parameter A=0.0, const Quantity_Parameter B=0.0, const Quantity_Parameter C=1.0, const Quantity_Parameter D=0.0) |
Creates a clipping plane using the equation : *X + *Y + <c>*Z + <d> = 0.0 //! Warning! raises BadValue from Viewer if the norm of the plane is NULL. . | |
Standard_EXPORT void | SetPlane (const Quantity_Parameter A, const Quantity_Parameter B, const Quantity_Parameter C, const Quantity_Parameter D) |
Modifies the plane equation. //! Warning! raises BadValue from Viewer if the norm of the plane is NULL. If the norm of the plane is NULL. . | |
virtual Standard_EXPORT void | Display (const Handle(V3d_View)&aView, const Quantity_Color &aColor=Quantity_NOC_GRAY) |
Display the plane representation in the choosen view. . | |
Standard_EXPORT void | Erase () |
Erase the plane representation. . | |
Standard_EXPORT void | Plane (Quantity_Parameter &A, Quantity_Parameter &B, Quantity_Parameter &C, Quantity_Parameter &D) const |
Returns the parameters of the plane . . | |
Standard_EXPORT Standard_Boolean | IsDisplayed () const |
Returns TRUE when the plane representation is displayed . | |
Standard_EXPORT const | Handle (Standard_Type)&DynamicType() const |
Protected Attributes | |
Handle_Graphic3d_Structure | MyGraphicStructure |
Private Member Functions | |
Standard_EXPORT Handle_Visual3d_ClipPlane | Plane () const |
Returns the associated plane from Visual3d. . | |
Standard_EXPORT void | Update () |
Updates the the plane representation. . | |
Private Attributes | |
Handle_Visual3d_ClipPlane | MyPlane |
Friends | |
Standard_EXPORT void | V3d_View::SetPlaneOn () |
Activate all the clipping planes defined in this view. //! If No More Plane can be activated in MyView . . | |
Standard_EXPORT void | V3d_View::SetPlaneOn (const Handle(V3d_Plane)&MyPlane) |
Activates the clipping plane in this view. //! If No More Plane can be activated in MyView . . | |
Standard_EXPORT void | V3d_View::SetPlaneOff () |
Deactivate all clipping planes defined in this view. . | |
Standard_EXPORT void | V3d_View::SetPlaneOff (const Handle(V3d_Plane)&MyPlane) |
Desactivates the clipping plane defined in this view. . |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|