File indexing completed on 2026-09-15 09:17:38
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016 #ifndef VrmlData_Texture_HeaderFile
0017 #define VrmlData_Texture_HeaderFile
0018
0019 #include <VrmlData_Node.hxx>
0020
0021
0022
0023
0024 class VrmlData_Texture : public VrmlData_Node
0025 {
0026 public:
0027
0028
0029
0030
0031
0032 inline VrmlData_Texture()
0033 : myRepeatS(false),
0034 myRepeatT(false)
0035 {
0036 }
0037
0038
0039
0040
0041 inline VrmlData_Texture(const VrmlData_Scene& theScene,
0042 const char* theName,
0043 const bool theRepeatS = false,
0044 const bool theRepeatT = false)
0045 : VrmlData_Node(theScene, theName),
0046 myRepeatS(theRepeatS),
0047 myRepeatT(theRepeatT)
0048 {
0049 }
0050
0051
0052
0053
0054 inline bool RepeatS() const { return myRepeatS; }
0055
0056
0057
0058
0059 inline bool RepeatT() const { return myRepeatT; }
0060
0061
0062
0063
0064 inline void SetRepeatS(const bool theFlag) { myRepeatS = theFlag; }
0065
0066
0067
0068
0069 inline void SetRepeatT(const bool theFlag) { myRepeatT = theFlag; }
0070
0071 private:
0072
0073
0074 bool myRepeatS;
0075 bool myRepeatT;
0076
0077 public:
0078
0079 DEFINE_STANDARD_RTTI_INLINE(VrmlData_Texture, VrmlData_Node)
0080 };
0081
0082
0083 #endif