Open CASCADE Technology
6.5.4
|
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. | |
Protected Member Functions | |
Graphic3d_TextureMap (const Handle< Graphic3d_StructureManager > &SM, const Standard_CString Path, const Standard_CString FileName, const Graphic3d_TypeOfTexture Type) |
Graphic3d_TextureMap::Graphic3d_TextureMap | ( | const Handle< Graphic3d_StructureManager > & | SM, |
const Standard_CString | Path, | ||
const Standard_CString | FileName, | ||
const Graphic3d_TypeOfTexture | Type | ||
) | [protected] |