|
Public Member Functions |
Standard_EXPORT void | Destroy () const |
| ~Graphic3d_TextureRoot () |
Standard_EXPORT Standard_Boolean | IsDone () const |
| Checks if a texture class is valide or not
returns true if the construction of the class is correct
.
|
Standard_EXPORT const OSD_Path & | Path () const |
| Returns the full path of the defined texture.
.
|
Standard_EXPORT Graphic3d_TypeOfTexture | Type () const |
| Returns the texture type.
.
|
Standard_EXPORT void | LoadTexture (const Handle(AlienImage_AlienImage)&anImage) |
| Updates the current texture from a requested alien image.
.
|
Standard_EXPORT Standard_Integer | TextureId () const |
| returns the Texture ID which references the
texture to use for drawing. Used by the
graphic driver.
|
Standard_EXPORT Handle_AlienImage_AlienImage | Image () const |
| Returns the created image texture.
.
|
Standard_EXPORT Handle_TColStd_HArray1OfReal | GetTexUpperBounds () const |
Standard_EXPORT const | Handle (Standard_Type)&DynamicType() const |
Protected Member Functions |
Standard_EXPORT | Graphic3d_TextureRoot (const Handle(Graphic3d_StructureManager)&SM, const Standard_CString Path, const Standard_CString FileName, const Graphic3d_TypeOfTexture Type) |
| Creates a texture from a file
Warning: Note that if <filename> is NULL the texture must be realized
using LoadTexture(image) method.
.
|
Standard_EXPORT void | Update () const |
Protected Attributes |
Graphic3d_CInitTexture | MyCInitTexture |
Private Member Functions |
Standard_EXPORT Handle_AlienImage_AlienImage | LoadTexture () const |
Private Attributes |
Handle_Graphic3d_GraphicDriver | MyGraphicDriver |
Standard_Integer | MyTexId |
OSD_Path | MyPath |
Graphic3d_TypeOfTexture | MyType |
Handle_AlienImage_AlienImage | MyImage |
Handle_TColStd_HArray1OfReal | MyTexUpperBounds |