+
+ Standard_EXPORT Handle(GEOM_Object) RestoreShape (std::istringstream& theStream);
+
+ Standard_EXPORT int LoadTexture(const TCollection_AsciiString& theTextureFile);
+
+ Standard_EXPORT int AddTexture(int theWidth, int theHeight,
+#if OCC_VERSION_LARGE > 0x06040000 // Porting to OCCT6.5.1
+ const Handle(TColStd_HArray1OfByte)& theTexture);
+#else
+ const Handle(TDataStd_HArray1OfByte)& theTexture);
+#endif
+
+#if OCC_VERSION_LARGE > 0x06040000 // Porting to OCCT6.5.1
+ Standard_EXPORT Handle(TColStd_HArray1OfByte) GetTexture(int theTextureId,
+#else
+ Standard_EXPORT Handle(TDataStd_HArray1OfByte) GetTexture(int theTextureId,
+#endif
+ int& theWidth, int& theHeight);
+
+ Standard_EXPORT std::list<int> GetAllTextures();
+
+ Standard_EXPORT bool ExportXAO(Handle(GEOM_Object) shape,
+ std::list<Handle(GEOM_Object)> groupList,
+ std::list<Handle(GEOM_Field)> fieldList,
+ const char* author,
+ const char* fileName);
+
+ Standard_EXPORT bool ImportXAO(const char* fileName,
+ Handle(GEOM_Object)& shape,
+ Handle(TColStd_HSequenceOfTransient)& subShapes,
+ Handle(TColStd_HSequenceOfTransient)& groups,
+ Handle(TColStd_HSequenceOfTransient)& fields);