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

This is an abstract class for managing 1D textures.

#include <Graphic3d_Texture1D.hxx>

Inheritance diagram for Graphic3d_Texture1D:
Inheritance graph
[legend]

Public Member Functions

Graphic3d_NameOfTexture1D Name () const
 Returns the name of the predefined textures or NOT_1D_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 aRank)
 Returns the name of the predefined texture of rank <aRank>

Protected Member Functions

 Graphic3d_Texture1D (const TCollection_AsciiString &theFileName, const Graphic3d_TypeOfTexture theType)
 Graphic3d_Texture1D (const Graphic3d_NameOfTexture1D theName, const Graphic3d_TypeOfTexture theType)

Constructor & Destructor Documentation

Graphic3d_Texture1D::Graphic3d_Texture1D ( const TCollection_AsciiString theFileName,
const Graphic3d_TypeOfTexture  theType 
) [protected]
Graphic3d_Texture1D::Graphic3d_Texture1D ( const Graphic3d_NameOfTexture1D  theName,
const Graphic3d_TypeOfTexture  theType 
) [protected]

Member Function Documentation

Graphic3d_NameOfTexture1D Graphic3d_Texture1D::Name ( ) const
static Standard_Integer Graphic3d_Texture1D::NumberOfTextures ( ) [static]
static TCollection_AsciiString Graphic3d_Texture1D::TextureName ( const Standard_Integer  aRank) [static]

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