File indexing completed on 2026-07-26 09:17:32
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014 #ifndef _RWObj_ObjMaterialMap_HeaderFiler
0015 #define _RWObj_ObjMaterialMap_HeaderFiler
0016
0017 #include <NCollection_DataMap.hxx>
0018 #include <RWMesh_MaterialMap.hxx>
0019
0020
0021 class RWObj_ObjMaterialMap : public RWMesh_MaterialMap
0022 {
0023 DEFINE_STANDARD_RTTIEXT(RWObj_ObjMaterialMap, RWMesh_MaterialMap)
0024 public:
0025
0026 Standard_EXPORT RWObj_ObjMaterialMap(const TCollection_AsciiString& theFile);
0027
0028
0029 Standard_EXPORT virtual ~RWObj_ObjMaterialMap();
0030
0031
0032 Standard_EXPORT virtual TCollection_AsciiString AddMaterial(const XCAFPrs_Style& theStyle)
0033 Standard_OVERRIDE;
0034
0035
0036 Standard_EXPORT virtual void DefineMaterial(const XCAFPrs_Style& theStyle,
0037 const TCollection_AsciiString& theKey,
0038 const TCollection_AsciiString& theName)
0039 Standard_OVERRIDE;
0040
0041 private:
0042 FILE* myFile;
0043 NCollection_DataMap<Handle(Image_Texture), TCollection_AsciiString> myImageMap;
0044 };
0045
0046 #endif