Open CASCADE Technology 6.6.0
Public Member Functions | Static Public Member Functions
Graphic3d_TextureEnv Class Reference

This class provides environment texture usable only in Visual3d_ContextView

#include <Graphic3d_TextureEnv.hxx>

Inheritance diagram for Graphic3d_TextureEnv:
Inheritance graph
[legend]

Public Member Functions

 Graphic3d_TextureEnv (const TCollection_AsciiString &theFileName)
 Creates an environment texture from a file.

 Graphic3d_TextureEnv (const Graphic3d_NameOfTextureEnv theName)
 Creates an environment texture from a predefined texture name set.

Graphic3d_NameOfTextureEnv Name () const
 Returns the name of the predefined textures or NOT_ENV_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>


Constructor & Destructor Documentation

Graphic3d_TextureEnv::Graphic3d_TextureEnv ( const TCollection_AsciiString theFileName)
Graphic3d_TextureEnv::Graphic3d_TextureEnv ( const Graphic3d_NameOfTextureEnv  theName)

Member Function Documentation

Graphic3d_NameOfTextureEnv Graphic3d_TextureEnv::Name ( ) const
static Standard_Integer Graphic3d_TextureEnv::NumberOfTextures ( ) [static]
static TCollection_AsciiString Graphic3d_TextureEnv::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