// This file is generated by WOK (CPPExt). // Please do not edit this file; modify original file instead. // The copyright and license terms as defined for the original file apply to // this header file considered to be the "object code" form of the original source. #ifndef _StepToTopoDS_NMTool_HeaderFile #define _StepToTopoDS_NMTool_HeaderFile #ifndef _Standard_HeaderFile #include #endif #ifndef _Standard_Macro_HeaderFile #include #endif #ifndef _StepToTopoDS_DataMapOfRI_HeaderFile #include #endif #ifndef _StepToTopoDS_DataMapOfRINames_HeaderFile #include #endif #ifndef _TopTools_ListOfShape_HeaderFile #include #endif #ifndef _Standard_Boolean_HeaderFile #include #endif #ifndef _Handle_StepRepr_RepresentationItem_HeaderFile #include #endif class StepToTopoDS_DataMapOfRI; class StepToTopoDS_DataMapOfRINames; class StepRepr_RepresentationItem; class TCollection_AsciiString; class TopoDS_Shape; //! Provides data to process non-manifold topology when
//! reading from STEP.
class StepToTopoDS_NMTool { public: void* operator new(size_t,void* anAddress) { return anAddress; } void* operator new(size_t size) { return Standard::Allocate(size); } void operator delete(void *anAddress) { if (anAddress) Standard::Free((Standard_Address&)anAddress); } Standard_EXPORT StepToTopoDS_NMTool(); Standard_EXPORT StepToTopoDS_NMTool(const StepToTopoDS_DataMapOfRI& MapOfRI,const StepToTopoDS_DataMapOfRINames& MapOfRINames); Standard_EXPORT void Init(const StepToTopoDS_DataMapOfRI& MapOfRI,const StepToTopoDS_DataMapOfRINames& MapOfRINames) ; Standard_EXPORT void SetActive(const Standard_Boolean isActive) ; Standard_EXPORT Standard_Boolean IsActive() ; Standard_EXPORT void CleanUp() ; Standard_EXPORT Standard_Boolean IsBound(const Handle(StepRepr_RepresentationItem)& RI) ; Standard_EXPORT Standard_Boolean IsBound(const TCollection_AsciiString& RIName) ; Standard_EXPORT void Bind(const Handle(StepRepr_RepresentationItem)& RI,const TopoDS_Shape& S) ; Standard_EXPORT void Bind(const TCollection_AsciiString& RIName,const TopoDS_Shape& S) ; Standard_EXPORT const TopoDS_Shape& Find(const Handle(StepRepr_RepresentationItem)& RI) ; Standard_EXPORT const TopoDS_Shape& Find(const TCollection_AsciiString& RIName) ; Standard_EXPORT void RegisterNMEdge(const TopoDS_Shape& Edge) ; Standard_EXPORT Standard_Boolean IsSuspectedAsClosing(const TopoDS_Shape& BaseShell,const TopoDS_Shape& SuspectedShell) ; Standard_EXPORT Standard_Boolean IsPureNMShell(const TopoDS_Shape& Shell) ; Standard_EXPORT void SetIDEASCase(const Standard_Boolean IDEASCase) ; Standard_EXPORT Standard_Boolean IsIDEASCase() ; protected: private: Standard_EXPORT Standard_Boolean isEdgeRegisteredAsNM(const TopoDS_Shape& Edge) ; Standard_EXPORT Standard_Boolean isAdjacentShell(const TopoDS_Shape& ShellA,const TopoDS_Shape& ShellB) ; StepToTopoDS_DataMapOfRI myRIMap; StepToTopoDS_DataMapOfRINames myRINamesMap; TopTools_ListOfShape myNMEdges; Standard_Boolean myIDEASCase; Standard_Boolean myActiveFlag; }; // other Inline functions and methods (like "C++: function call" methods) #endif