Open CASCADE Technology  6.5.4
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
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.

Protected Member Functions

 Graphic3d_TextureMap (const Handle< Graphic3d_StructureManager > &SM, const Standard_CString Path, const Standard_CString FileName, const Graphic3d_TypeOfTexture Type)

Constructor & Destructor Documentation


Member Function Documentation


The documentation for this class was generated from the following file: