// 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_TextureMap_HeaderFile #define _Graphic3d_TextureMap_HeaderFile #ifndef _Standard_HeaderFile #include #endif #ifndef _Standard_DefineHandle_HeaderFile #include #endif #ifndef _Handle_Graphic3d_TextureMap_HeaderFile #include #endif #ifndef _Graphic3d_TextureRoot_HeaderFile #include #endif #ifndef _Handle_Graphic3d_StructureManager_HeaderFile #include #endif #ifndef _Standard_CString_HeaderFile #include #endif #ifndef _Graphic3d_TypeOfTexture_HeaderFile #include #endif #ifndef _Standard_Boolean_HeaderFile #include #endif class Graphic3d_StructureManager; //! This is an abstract class for managing texture applyable on polygons.
class Graphic3d_TextureMap : public Graphic3d_TextureRoot { public: //! enable texture smoothing
Standard_EXPORT void EnableSmooth() ; //! Returns TRUE if the texture is smoothed.
Standard_EXPORT Standard_Boolean IsSmoothed() const; //! disable texture smoothing
Standard_EXPORT void DisableSmooth() ; //! enable texture modulate mode.
//! the image is modulate with the shading of the surface.
Standard_EXPORT void EnableModulate() ; //! disable texture modulate mode.
//! the image is directly decal on the surface.
Standard_EXPORT void DisableModulate() ; //! Returns TRUE if the texture is modulate.
Standard_EXPORT Standard_Boolean IsModulate() const; //! use this methods if you want to enable
//! texture repetition on your objects.
Standard_EXPORT void EnableRepeat() ; //! use this methods if you want to disable
//! texture repetition on your objects.
Standard_EXPORT void DisableRepeat() ; //! Returns TRUE if the texture repeat is enable.
Standard_EXPORT Standard_Boolean IsRepeat() const; DEFINE_STANDARD_RTTI(Graphic3d_TextureMap) protected: Standard_EXPORT Graphic3d_TextureMap(const Handle(Graphic3d_StructureManager)& SM,const Standard_CString Path,const Standard_CString FileName,const Graphic3d_TypeOfTexture Type); private: }; // other Inline functions and methods (like "C++: function call" methods) #endif