Open CASCADE Technology 6.6.0
|
This is an abstract class for managing texture applyable on polygons.
#include <Graphic3d_TextureMap.hxx>
Public Member Functions | |
void | EnableSmooth () |
enable texture smoothing | |
Standard_Boolean | IsSmoothed () const |
Returns TRUE if the texture is smoothed. | |
void | DisableSmooth () |
disable texture smoothing | |
void | EnableModulate () |
enable texture modulate mode. the image is modulate with the shading of the surface. | |
void | DisableModulate () |
disable texture modulate mode. the image is directly decal on the surface. | |
Standard_Boolean | IsModulate () const |
Returns TRUE if the texture is modulate. | |
void | EnableRepeat () |
use this methods if you want to enable texture repetition on your objects. | |
void | DisableRepeat () |
use this methods if you want to disable texture repetition on your objects. | |
Standard_Boolean | IsRepeat () const |
Returns TRUE if the texture repeat is enable. | |
Graphic3d_LevelOfTextureAnisotropy | AnisoFilter () const |
void | SetAnisoFilter (const Graphic3d_LevelOfTextureAnisotropy theLevel) |
Protected Member Functions | |
Graphic3d_TextureMap (const TCollection_AsciiString &theFileName, const Graphic3d_TypeOfTexture theType) |
Graphic3d_TextureMap::Graphic3d_TextureMap | ( | const TCollection_AsciiString & | theFileName, |
const Graphic3d_TypeOfTexture | theType | ||
) | [protected] |
Graphic3d_LevelOfTextureAnisotropy Graphic3d_TextureMap::AnisoFilter | ( | ) | const |
void Graphic3d_TextureMap::DisableModulate | ( | ) |
void Graphic3d_TextureMap::DisableRepeat | ( | ) |
void Graphic3d_TextureMap::DisableSmooth | ( | ) |
void Graphic3d_TextureMap::EnableModulate | ( | ) |
void Graphic3d_TextureMap::EnableRepeat | ( | ) |
void Graphic3d_TextureMap::EnableSmooth | ( | ) |
Standard_Boolean Graphic3d_TextureMap::IsModulate | ( | ) | const |
Standard_Boolean Graphic3d_TextureMap::IsRepeat | ( | ) | const |
Standard_Boolean Graphic3d_TextureMap::IsSmoothed | ( | ) | const |
void Graphic3d_TextureMap::SetAnisoFilter | ( | const Graphic3d_LevelOfTextureAnisotropy | theLevel | ) |
theLevel | level of anisontropy texture filter. |