// 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 _DNaming_HeaderFile #define _DNaming_HeaderFile #ifndef _Standard_HeaderFile #include #endif #ifndef _Standard_Macro_HeaderFile #include #endif #ifndef _Handle_TDataStd_Real_HeaderFile #include #endif #ifndef _Handle_TFunction_Function_HeaderFile #include #endif #ifndef _Standard_Integer_HeaderFile #include #endif #ifndef _Handle_TDataStd_Integer_HeaderFile #include #endif #ifndef _Handle_TDataStd_Name_HeaderFile #include #endif #ifndef _Standard_Boolean_HeaderFile #include #endif #ifndef _Handle_TNaming_NamedShape_HeaderFile #include #endif #ifndef _Handle_TDataStd_UAttribute_HeaderFile #include #endif #ifndef _TopAbs_ShapeEnum_HeaderFile #include #endif #ifndef _Standard_CString_HeaderFile #include #endif #ifndef _Handle_TDF_Data_HeaderFile #include #endif class TDataStd_Real; class TFunction_Function; class TDataStd_Integer; class TDataStd_Name; class TNaming_NamedShape; class gp_Ax1; class TDataStd_UAttribute; class TopoDS_Shape; class BRepBuilderAPI_MakeShape; class TNaming_Builder; class TopTools_DataMapOfShapeShape; class TDF_Label; class BRepAlgoAPI_BooleanOperation; class TDF_Data; class TopTools_ListOfShape; class TCollection_AsciiString; class Draw_Interpretor; class DNaming_BoxDriver; class DNaming_CylinderDriver; class DNaming_SphereDriver; class DNaming_SelectionDriver; class DNaming_BooleanOperationDriver; class DNaming_FilletDriver; class DNaming_TransformationDriver; class DNaming_PrismDriver; class DNaming_RevolutionDriver; class DNaming_PointDriver; class DNaming_Line3DDriver; class DNaming_DataMapOfShapeOfName; class DNaming_DataMapNodeOfDataMapOfShapeOfName; class DNaming_DataMapIteratorOfDataMapOfShapeOfName; class DNaming { 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 static Handle_TDataStd_Real GetReal(const Handle(TFunction_Function)& theFunction,const Standard_Integer thePosition) ; Standard_EXPORT static Handle_TDataStd_Integer GetInteger(const Handle(TFunction_Function)& theFunction,const Standard_Integer thePosition) ; Standard_EXPORT static Handle_TDataStd_Name GetString(const Handle(TFunction_Function)& theFunction,const Standard_Integer thePosition) ; Standard_EXPORT static Standard_Boolean ComputeAxis(const Handle(TNaming_NamedShape)& theNS,gp_Ax1& theAx1) ; Standard_EXPORT static Handle_TNaming_NamedShape GetFunctionResult(const Handle(TFunction_Function)& theFunction) ; Standard_EXPORT static Handle_TDataStd_UAttribute GetObjectArg(const Handle(TFunction_Function)& theFunction,const Standard_Integer thePosition) ; Standard_EXPORT static void SetObjectArg(const Handle(TFunction_Function)& theFunction,const Standard_Integer thePosition,const Handle(TDataStd_UAttribute)& theNewValue) ; Standard_EXPORT static Handle_TNaming_NamedShape GetObjectValue(const Handle(TDataStd_UAttribute)& theObject) ; Standard_EXPORT static Handle_TFunction_Function GetLastFunction(const Handle(TDataStd_UAttribute)& theObject) ; Standard_EXPORT static Handle_TFunction_Function GetFirstFunction(const Handle(TDataStd_UAttribute)& theObject) ; Standard_EXPORT static Handle_TFunction_Function GetPrevFunction(const Handle(TFunction_Function)& theFunction) ; Standard_EXPORT static Handle_TDataStd_UAttribute GetObjectFromFunction(const Handle(TFunction_Function)& theFunction) ; Standard_EXPORT static Standard_Boolean IsAttachment(const Handle(TDataStd_UAttribute)& theObject) ; Standard_EXPORT static Handle_TNaming_NamedShape GetAttachmentsContext(const Handle(TDataStd_UAttribute)& theObject) ; Standard_EXPORT static Standard_Boolean ComputeSweepDir(const TopoDS_Shape& theShape,gp_Ax1& theAxis) ; Standard_EXPORT static void LoadAndOrientModifiedShapes(BRepBuilderAPI_MakeShape& MakeShape,const TopoDS_Shape& ShapeIn,const TopAbs_ShapeEnum GeneratedFrom,TNaming_Builder& Buider,const TopTools_DataMapOfShapeShape& SubShapesOfResult) ; Standard_EXPORT static void LoadAndOrientGeneratedShapes(BRepBuilderAPI_MakeShape& MakeShape,const TopoDS_Shape& ShapeIn,const TopAbs_ShapeEnum GeneratedFrom,TNaming_Builder& Buider,const TopTools_DataMapOfShapeShape& SubShapesOfResult) ; Standard_EXPORT static void LoadDeletedShapes(BRepBuilderAPI_MakeShape& MakeShape,const TopoDS_Shape& ShapeIn,const TopAbs_ShapeEnum KindOfDeletedShape,TNaming_Builder& Buider) ; Standard_EXPORT static void LoadResult(const TDF_Label& theLabel,BRepAlgoAPI_BooleanOperation& MS) ; Standard_EXPORT static TopoDS_Shape CurrentShape(const Standard_CString ShapeEntry,const Handle(TDF_Data)& Data) ; Standard_EXPORT static void GetShape(const Standard_CString ShapeEntry,const Handle(TDF_Data)& Data,TopTools_ListOfShape& Shapes) ; Standard_EXPORT static TCollection_AsciiString GetEntry(const TopoDS_Shape& Shape,const Handle(TDF_Data)& Data,Standard_Integer& Status) ; //! Loads the Shape to DF
Standard_EXPORT static void LoadImportedShape(const TDF_Label& theResultLabel,const TopoDS_Shape& theShape) ; //! Reloads sub-shapes of the Shape to DF
Standard_EXPORT static void LoadPrime(const TDF_Label& theResultLabel,const TopoDS_Shape& theShape) ; Standard_EXPORT static void AllCommands(Draw_Interpretor& DI) ; //! commands relatives to NamedShape
Standard_EXPORT static void BasicCommands(Draw_Interpretor& DI) ; Standard_EXPORT static void ToolsCommands(Draw_Interpretor& DI) ; //! commands relatives to Naming
Standard_EXPORT static void SelectionCommands(Draw_Interpretor& DI) ; //! commands for testing Naming
Standard_EXPORT static void ModelingCommands(Draw_Interpretor& DI) ; protected: private: friend class DNaming_BoxDriver; friend class DNaming_CylinderDriver; friend class DNaming_SphereDriver; friend class DNaming_SelectionDriver; friend class DNaming_BooleanOperationDriver; friend class DNaming_FilletDriver; friend class DNaming_TransformationDriver; friend class DNaming_PrismDriver; friend class DNaming_RevolutionDriver; friend class DNaming_PointDriver; friend class DNaming_Line3DDriver; friend class DNaming_DataMapOfShapeOfName; friend class DNaming_DataMapNodeOfDataMapOfShapeOfName; friend class DNaming_DataMapIteratorOfDataMapOfShapeOfName; }; // other Inline functions and methods (like "C++: function call" methods) #endif