1 // File: VrmlData_ImageTexture.hxx
2 // Created: 25.05.06 16:08:10
3 // Author: Alexander GRIGORIEV
4 // Copyright: Open Cascade 2006
7 #ifndef VrmlData_ImageTexture_HeaderFile
8 #define VrmlData_ImageTexture_HeaderFile
10 #include <VrmlData_Texture.hxx>
13 * Implementation of the ImageTexture node
15 class VrmlData_ImageTexture : public VrmlData_Texture
18 // ---------- PUBLIC METHODS ----------
23 inline VrmlData_ImageTexture ()
29 Standard_EXPORT VrmlData_ImageTexture
30 (const VrmlData_Scene& theScene,
32 const char * theURL = 0L,
33 const Standard_Boolean theRepS = Standard_False,
34 const Standard_Boolean theRepT = Standard_False);
37 * Query the associated URL.
39 inline const NCollection_List<TCollection_AsciiString>&
44 * Create a copy of this node.
45 * If the parameter is null, a new copied node is created. Otherwise new node
46 * is not created, but rather the given one is modified.
48 Standard_EXPORT virtual Handle(VrmlData_Node)
49 Clone (const Handle(VrmlData_Node)& theOther)const;
52 * Read the Node from input stream.
54 Standard_EXPORT virtual VrmlData_ErrorStatus
55 Read (VrmlData_InBuffer& theBuffer);
58 // ---------- PROTECTED METHODS ----------
63 // ---------- PRIVATE FIELDS ----------
65 NCollection_List<TCollection_AsciiString> myURL;
68 // Declaration of CASCADE RTTI
69 DEFINE_STANDARD_RTTI (VrmlData_ImageTexture)
72 // Definition of HANDLE object using Standard_DefineHandle.hxx
73 DEFINE_STANDARD_HANDLE (VrmlData_ImageTexture, VrmlData_Texture)