1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-14 13:30:48 +03:00

0029525: PMI dimension names

Implemented semantic PMI names translation from STEP to XCAF in OCCT:
- [Get/Set]SemanticName functions added to XCAFDimTolObjects_*Object classes
- X[Get/Set]GDTSemanticName draw commands added
- test case added
This commit is contained in:
snn
2018-02-26 15:16:18 +03:00
committed by bugmaster
parent 10a55e0d05
commit eacdb38f2e
17 changed files with 1106 additions and 831 deletions

View File

@@ -44,7 +44,13 @@ public:
Standard_EXPORT XCAFDimTolObjects_DatumObject();
Standard_EXPORT XCAFDimTolObjects_DatumObject(const Handle(XCAFDimTolObjects_DatumObject)& theObj);
//! Returns semantic name
Standard_EXPORT Handle(TCollection_HAsciiString) GetSemanticName() const;
//! Sets semantic name
Standard_EXPORT void SetSemanticName(const Handle(TCollection_HAsciiString)& theName);
//! Returns datum name.
Standard_EXPORT Handle(TCollection_HAsciiString) GetName() const;
@@ -219,8 +225,8 @@ private:
Standard_Boolean myHasPnt;
Standard_Boolean myHasPntText;
TopoDS_Shape myPresentation;
Handle(TCollection_HAsciiString) mySemanticName;
Handle(TCollection_HAsciiString) myPresentationName;
};
#endif // _XCAFDimTolObjects_DatumObject_HeaderFile