#include <ShapeFix_Root.hxx>
Inheritance diagram for ShapeFix_Root:
Public Member Functions | |
Standard_EXPORT | ShapeFix_Root () |
Empty Constructor (no context is created) . | |
virtual Standard_EXPORT void | Set (const Handle(ShapeFix_Root)&Root) |
Copy all fields from another Root object . | |
virtual Standard_EXPORT void | SetContext (const Handle(ShapeBuild_ReShape)&context) |
Sets context . | |
Handle_ShapeBuild_ReShape | Context () const |
Returns context . | |
virtual Standard_EXPORT void | SetMsgRegistrator (const Handle(ShapeExtend_BasicMsgRegistrator)&msgreg) |
Sets message registrator . | |
Handle_ShapeExtend_BasicMsgRegistrator | MsgRegistrator () const |
Returns message registrator . | |
virtual Standard_EXPORT void | SetPrecision (const Standard_Real preci) |
Sets basic precision value . | |
Standard_Real | Precision () const |
Returns basic precision value . | |
virtual Standard_EXPORT void | SetMinTolerance (const Standard_Real mintol) |
Sets minimal allowed tolerance . | |
Standard_Real | MinTolerance () const |
Returns minimal allowed tolerance . | |
virtual Standard_EXPORT void | SetMaxTolerance (const Standard_Real maxtol) |
Sets maximal allowed tolerance . | |
Standard_Real | MaxTolerance () const |
Returns maximal allowed tolerance . | |
Standard_Real | LimitTolerance (const Standard_Real toler) const |
Returns tolerance limited by [myMinTol,myMaxTol] . | |
Standard_EXPORT void | SendMsg (const TopoDS_Shape &shape, const Message_Msg &message, const Message_Gravity gravity=Message_Info) const |
Sends a message to be attached to the shape. Calls corresponding message of message registrator. . | |
void | SendMsg (const Message_Msg &message, const Message_Gravity gravity=Message_Info) const |
Sends a message to be attached to myShape. Calls previous method. . | |
void | SendWarning (const TopoDS_Shape &shape, const Message_Msg &message) const |
Sends a warning to be attached to the shape. Calls SendMsg with gravity set to Message_Warning. . | |
void | SendWarning (const Message_Msg &message) const |
Calls previous method for myShape. . | |
void | SendFail (const TopoDS_Shape &shape, const Message_Msg &message) const |
Sends a fail to be attached to the shape. Calls SendMsg with gravity set to Message_Fail. . | |
void | SendFail (const Message_Msg &message) const |
Calls previous method for myShape. . | |
Standard_EXPORT const | Handle (Standard_Type)&DynamicType() const |
Static Protected Member Functions | |
static Standard_Boolean | NeedFix (const Standard_Integer flag, const Standard_Boolean def=Standard_True) |
Auxiliary method for work with three-position (on/off/default) flags (modes) in ShapeFix. . | |
Protected Attributes | |
TopoDS_Shape | myShape |
Private Attributes | |
Handle_ShapeBuild_ReShape | myContext |
Handle_ShapeExtend_BasicMsgRegistrator | myMsgReg |
Standard_Real | myPrecision |
Standard_Real | myMinTol |
Standard_Real | myMaxTol |
|
|
|
|
|
Reimplemented in ShapeFix_ComposeShell, ShapeFix_Face, ShapeFix_FixSmallFace, ShapeFix_Shape, ShapeFix_Shell, ShapeFix_Solid, ShapeFix_SplitCommonVertex, ShapeFix_Wire, and ShapeFix_Wireframe. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Reimplemented in ShapeFix_Face, ShapeFix_Shape, ShapeFix_Shell, and ShapeFix_Solid. |
|
Reimplemented in ShapeFix_Face, ShapeFix_Shape, ShapeFix_Shell, and ShapeFix_Solid. |
|
Reimplemented in ShapeFix_Face, ShapeFix_Shape, ShapeFix_Shell, and ShapeFix_Solid. |
|
Reimplemented in ShapeFix_Face, ShapeFix_Shape, ShapeFix_Shell, ShapeFix_Solid, and ShapeFix_Wire. |
|
|
|
|
|
|
|
|
|
|
|
Reimplemented in ShapeFix_FixSmallFace, ShapeFix_SplitCommonVertex, and ShapeFix_Wireframe. |