#include <GEOMImpl_HealingDriver.hxx>
Public Member Functions | |
Standard_EXPORT | GEOMImpl_HealingDriver () |
Standard_EXPORT | ~GEOMImpl_HealingDriver () |
virtual Standard_EXPORT Standard_Integer | Execute (LOGBOOK &log) const |
virtual Standard_EXPORT void | Validate (LOGBOOK &) const |
Standard_EXPORT Standard_Boolean | MustExecute (const LOGBOOK &) const |
virtual Standard_EXPORT bool | GetCreationInformation (std::string &theOperationName, std::vector< GEOM_Param > ¶ms) |
Returns a name of creation operation and names and values of creation parameters. More... | |
OCCT_DEFINE_STANDARD_RTTIEXT(GEOMImpl_HealingDriver, GEOM_BaseDriver) private Standard_Boolean | SuppressFaces (GEOMImpl_IHealing *, const TopoDS_Shape &, TopoDS_Shape &) const |
void | SuppressFacesRec (const TopTools_SequenceOfShape &theShapesFaces, const TopoDS_Shape &theOriginalShape, TopoDS_Shape &theOutShape) const |
Standard_Boolean | CloseContour (GEOMImpl_IHealing *, const TopoDS_Shape &, TopoDS_Shape &) const |
Standard_Boolean | RemoveIntWires (GEOMImpl_IHealing *, const TopoDS_Shape &, TopoDS_Shape &) const |
Standard_Boolean | RemoveHoles (GEOMImpl_IHealing *, const TopoDS_Shape &, TopoDS_Shape &) const |
Standard_Boolean | Sew (GEOMImpl_IHealing *, const TopoDS_Shape &, TopoDS_Shape &, Standard_Boolean) const |
Standard_Boolean | RemoveInternalFaces (GEOMImpl_IHealing *, const TopoDS_Shape &, TopoDS_Shape &) const |
Standard_Boolean | AddPointOnEdge (GEOMImpl_IHealing *, const TopoDS_Shape &, TopoDS_Shape &) const |
Standard_Boolean | ChangeOrientation (GEOMImpl_IHealing *, const TopoDS_Shape &, TopoDS_Shape &) const |
void | LimitTolerance (GEOMImpl_IHealing *, const TopoDS_Shape &, TopoDS_Shape &) const |
void | SaveStatistics (const ShHealOper_Tool &healer, bool add=false) const |
Pass a record of what is done to the operation. More... | |
Public Member Functions inherited from GEOM_BaseDriver | |
Standard_EXPORT int | GetDocID () const |
Standard_EXPORT GEOM_Param & | AddParam (std::vector< GEOM_Param > ¶ms, const char *name) |
Returns a name of creation operation and names and values of creation parameters. More... | |
template<class T > | |
Standard_EXPORT GEOM_Param & | AddParam (std::vector< GEOM_Param > ¶ms, const char *name, const T &value, const char *dfltValue=0) |
Static Public Member Functions | |
static Standard_EXPORT const Standard_GUID & | GetID () |
static Standard_EXPORT Standard_Boolean | AreEdgesC1 (const TopoDS_Edge &E1, const TopoDS_Edge &E2) |
static Standard_EXPORT void | FuseCollinearEdges (const TopoDS_Shape &, const Handle(TColStd_HSequenceOfTransient)&, TopoDS_Shape &) |
GEOMImpl_HealingDriver::GEOMImpl_HealingDriver | ( | ) |
|
inline |
Standard_Boolean GEOMImpl_HealingDriver::AddPointOnEdge | ( | GEOMImpl_IHealing * | theHI, |
const TopoDS_Shape & | theOriginalShape, | ||
TopoDS_Shape & | theOutShape | ||
) | const |
|
static |
Standard_Boolean GEOMImpl_HealingDriver::ChangeOrientation | ( | GEOMImpl_IHealing * | theHI, |
const TopoDS_Shape & | theOriginalShape, | ||
TopoDS_Shape & | theOutShape | ||
) | const |
Standard_Boolean GEOMImpl_HealingDriver::CloseContour | ( | GEOMImpl_IHealing * | theHI, |
const TopoDS_Shape & | theOriginalShape, | ||
TopoDS_Shape & | theOutShape | ||
) | const |
|
virtual |
References AddPointOnEdge(), CHANGE_ORIENTATION, ChangeOrientation(), CLOSE_CONTOUR, CloseContour(), DIVIDE_EDGE, DIVIDE_EDGE_BY_POINT, FILL_HOLES, FUSE_COLLINEAR_EDGES, FuseCollinearEdges(), Handle(), LIMIT_TOLERANCE, LimitTolerance(), raiseNotDoneExeption(), REMOVE_INT_WIRES, REMOVE_INTERNAL_FACES, RemoveHoles(), RemoveInternalFaces(), RemoveIntWires(), Sew(), SEWING, SEWING_NON_MANIFOLD, SHAPE_PROCESS, ShHealOper_ErrorExecution, SUPPRESS_FACES, and SuppressFaces().
|
static |
References aFirstEdge, anEdge, AreEdgesC1(), GEOMUtils::CheckShape(), Handle(), and GEOMImpl_ShapeDriver::MakeEdgeFromWire().
|
virtual |
Implements GEOM_BaseDriver.
References GEOM_BaseDriver::AddParam(), CHANGE_ORIENTATION, CLOSE_CONTOUR, DIVIDE_EDGE, DIVIDE_EDGE_BY_POINT, FILL_HOLES, FUSE_COLLINEAR_EDGES, GEOMImpl_IHealing::GetDevideEdgeValue(), GEOMImpl_IHealing::GetIndex(), GEOMImpl_IHealing::GetIsByParameter(), GEOMImpl_IHealing::GetIsCommonVertex(), GEOMImpl_IHealing::GetTolerance(), GEOMImpl_IHealing::GetType(), Handle(), LIMIT_TOLERANCE, REMOVE_INT_WIRES, REMOVE_INTERNAL_FACES, SEWING, SEWING_NON_MANIFOLD, SHAPE_PROCESS, and SUPPRESS_FACES.
|
static |
void GEOMImpl_HealingDriver::LimitTolerance | ( | GEOMImpl_IHealing * | theHI, |
const TopoDS_Shape & | theOriginalShape, | ||
TopoDS_Shape & | theOutShape | ||
) | const |
|
inline |
Standard_Boolean GEOMImpl_HealingDriver::RemoveHoles | ( | GEOMImpl_IHealing * | theHI, |
const TopoDS_Shape & | theOriginalShape, | ||
TopoDS_Shape & | theOutShape | ||
) | const |
Standard_Boolean GEOMImpl_HealingDriver::RemoveInternalFaces | ( | GEOMImpl_IHealing * | theHI, |
const TopoDS_Shape & | theOriginalShape, | ||
TopoDS_Shape & | theOutShape | ||
) | const |
Standard_Boolean GEOMImpl_HealingDriver::RemoveIntWires | ( | GEOMImpl_IHealing * | theHI, |
const TopoDS_Shape & | theOriginalShape, | ||
TopoDS_Shape & | theOutShape | ||
) | const |
void GEOMImpl_HealingDriver::SaveStatistics | ( | const ShHealOper_Tool & | healer, |
bool | add = false |
||
) | const |
Standard_Boolean GEOMImpl_HealingDriver::Sew | ( | GEOMImpl_IHealing * | theHI, |
const TopoDS_Shape & | theOriginalShape, | ||
TopoDS_Shape & | theOutShape, | ||
Standard_Boolean | isAllowNonManifold | ||
) | const |
Standard_Boolean GEOMImpl_HealingDriver::SuppressFaces | ( | GEOMImpl_IHealing * | theHI, |
const TopoDS_Shape & | theOriginalShape, | ||
TopoDS_Shape & | theOutShape | ||
) | const |
References ShHealOper_ModifStats::AddModif(), aResult, ShHealOper_Tool::GetErrorStatus(), ShHealOper_Tool::GetResultShape(), ShHealOper_Tool::GetStatistics(), GEOMImpl_GlueDriver::GlueFaces(), Handle(), ShHealOper_RemoveFace::Perform(), raiseNotDoneExeption(), SaveStatistics(), and SuppressFacesRec().
void GEOMImpl_HealingDriver::SuppressFacesRec | ( | const TopTools_SequenceOfShape & | theShapesFaces, |
const TopoDS_Shape & | theOriginalShape, | ||
TopoDS_Shape & | theOutShape | ||
) | const |
|
inlinevirtual |