Open CASCADE Technology 6.6.0
Public Member Functions | Static Public Member Functions | Protected Member Functions
Graphic3d_Texture2D Class Reference

This abstract class for managing 2D textures

#include <Graphic3d_Texture2D.hxx>

Inheritance diagram for Graphic3d_Texture2D:
Inheritance graph
[legend]

Public Member Functions

Graphic3d_NameOfTexture2D Name () const
 Returns the name of the predefined textures or NOT_2D_UNKNOWN
when the name is given as a filename.

Static Public Member Functions

static Standard_Integer NumberOfTextures ()
 Returns the number of predefined textures.

static TCollection_AsciiString TextureName (const Standard_Integer theRank)
 Returns the name of the predefined texture of rank <aRank>

Protected Member Functions

 Graphic3d_Texture2D (const TCollection_AsciiString &theFileName, const Graphic3d_TypeOfTexture theType)
 Graphic3d_Texture2D (const Graphic3d_NameOfTexture2D theName, const Graphic3d_TypeOfTexture theType)

Constructor & Destructor Documentation

Graphic3d_Texture2D::Graphic3d_Texture2D ( const TCollection_AsciiString theFileName,
const Graphic3d_TypeOfTexture  theType 
) [protected]
Graphic3d_Texture2D::Graphic3d_Texture2D ( const Graphic3d_NameOfTexture2D  theName,
const Graphic3d_TypeOfTexture  theType 
) [protected]

Member Function Documentation

Graphic3d_NameOfTexture2D Graphic3d_Texture2D::Name ( ) const
static Standard_Integer Graphic3d_Texture2D::NumberOfTextures ( ) [static]
static TCollection_AsciiString Graphic3d_Texture2D::TextureName ( const Standard_Integer  theRank) [static]

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