Open CASCADE Technology 6.6.0
Public Member Functions | Protected Member Functions
Graphic3d_TextureMap Class Reference

This is an abstract class for managing texture applyable on polygons.

#include <Graphic3d_TextureMap.hxx>

Inheritance diagram for Graphic3d_TextureMap:
Inheritance graph
[legend]

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)

Constructor & Destructor Documentation

Graphic3d_TextureMap::Graphic3d_TextureMap ( const TCollection_AsciiString theFileName,
const Graphic3d_TypeOfTexture  theType 
) [protected]

Member Function Documentation

Graphic3d_LevelOfTextureAnisotropy Graphic3d_TextureMap::AnisoFilter ( ) const
Returns:
level of anisontropy texture filter.
Default value is Graphic3d_LOTA_OFF.
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)
Parameters:
theLevellevel of anisontropy texture filter.

The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines