// This file is generated by WOK (CPPExt). // Please do not edit this file; modify original file instead. // The copyright and license terms as defined for the original file apply to // this header file considered to be the "object code" form of the original source. #ifndef _Graphic3d_TextureEnv_HeaderFile #define _Graphic3d_TextureEnv_HeaderFile #ifndef _Standard_HeaderFile #include #endif #ifndef _Standard_DefineHandle_HeaderFile #include #endif #ifndef _Handle_Graphic3d_TextureEnv_HeaderFile #include #endif #ifndef _Graphic3d_NameOfTextureEnv_HeaderFile #include #endif #ifndef _Graphic3d_TextureRoot_HeaderFile #include #endif #ifndef _Handle_Graphic3d_StructureManager_HeaderFile #include #endif #ifndef _Standard_CString_HeaderFile #include #endif #ifndef _Standard_Integer_HeaderFile #include #endif class Standard_OutOfRange; class Graphic3d_StructureManager; //! This class provides environment texture usable only in Visual3d_ContextView
class Graphic3d_TextureEnv : public Graphic3d_TextureRoot { public: //! Creates an environment texture from a file
Standard_EXPORT Graphic3d_TextureEnv(const Handle(Graphic3d_StructureManager)& SM,const Standard_CString aFileName); //! Creates an environment texture from a predefined texture name set.
Standard_EXPORT Graphic3d_TextureEnv(const Handle(Graphic3d_StructureManager)& SM,const Graphic3d_NameOfTextureEnv aName); //! Returns the name of the predefined textures or NOT_ENV_UNKNOWN
//! when the name is given as a filename.
Standard_EXPORT Graphic3d_NameOfTextureEnv Name() const; //! Returns the number of predefined textures.
Standard_EXPORT static Standard_Integer NumberOfTextures() ; //! Returns the name of the predefined texture of rank
Standard_EXPORT static Standard_CString TextureName(const Standard_Integer aRank) ; DEFINE_STANDARD_RTTI(Graphic3d_TextureEnv) protected: private: Graphic3d_NameOfTextureEnv myName; }; // other Inline functions and methods (like "C++: function call" methods) #endif