|
| Graphic3d_CubeMapSeparate (const NCollection_Array1< TCollection_AsciiString > &thePaths) |
| Initializes cubemap to be loaded from file. - array of paths to separate image files (has to have size equal 6). More...
|
|
| Graphic3d_CubeMapSeparate (const NCollection_Array1< Handle< Image_PixMap >> &theImages) |
| Initializes cubemap to be setted directly from PixMaps. - array if PixMaps (has to have size equal 6). More...
|
|
Handle< Image_PixMap > | Value () override |
| Returns current side of cubemap as PixMap. Returns null handle if current side or whole cubemap is invalid. All origin images have to have the same sizes, format and quad shapes to form valid cubemap. More...
|
|
virtual Handle< Image_PixMap > | GetImage () const override |
| Returns NULL. More...
|
|
Standard_Boolean | IsDone () const override |
| Checks if a texture class is valid or not. Returns true if the construction of the class is correct. More...
|
|
| ~Graphic3d_CubeMapSeparate () |
| Empty destructor. More...
|
|
| Graphic3d_CubeMap (const TCollection_AsciiString &theFileName) |
| Constructor defining loading cubemap from file. More...
|
|
| Graphic3d_CubeMap (const Handle< Image_PixMap > &thePixmap=Handle< Image_PixMap >()) |
| Constructor defining direct cubemap initialization from PixMap. More...
|
|
Standard_Boolean | More () const |
| Returns whether the iterator has reached the end (true if it hasn't). More...
|
|
Graphic3d_CubeMapSide | CurrentSide () const |
| Returns current cubemap side (iterator state). More...
|
|
void | Next () |
| Moves iterator to the next cubemap side. Uses OpenGL cubemap sides order +X -> -X -> +Y -> -Y -> +Z -> -Z. More...
|
|
Standard_Boolean | IsTopDown () const |
| Returns whether row's memory layout is top-down. More...
|
|
void | SetZInversion (Standard_Boolean theZIsInverted) |
| Sets Z axis inversion (vertical flipping). More...
|
|
Standard_Boolean | ZIsInverted () const |
| Returns whether Z axis is inverted. More...
|
|
Graphic3d_CubeMap & | Reset () |
| Sets iterator state to +X cubemap side. More...
|
|
| ~Graphic3d_CubeMap () |
| Empty destructor. More...
|
|
void | EnableSmooth () |
| enable texture smoothing More...
|
|
Standard_Boolean | IsSmoothed () const |
| Returns TRUE if the texture is smoothed. More...
|
|
void | DisableSmooth () |
| disable texture smoothing More...
|
|
void | EnableModulate () |
| enable texture modulate mode. the image is modulate with the shading of the surface. More...
|
|
void | DisableModulate () |
| disable texture modulate mode. the image is directly decal on the surface. More...
|
|
Standard_Boolean | IsModulate () const |
| Returns TRUE if the texture is modulate. More...
|
|
void | EnableRepeat () |
| use this methods if you want to enable texture repetition on your objects. More...
|
|
void | DisableRepeat () |
| use this methods if you want to disable texture repetition on your objects. More...
|
|
Standard_Boolean | IsRepeat () const |
| Returns TRUE if the texture repeat is enable. More...
|
|
Graphic3d_LevelOfTextureAnisotropy | AnisoFilter () const |
|
void | SetAnisoFilter (const Graphic3d_LevelOfTextureAnisotropy theLevel) |
|
| ~Graphic3d_TextureRoot () |
| Destructor. More...
|
|
const OSD_Path & | Path () const |
| Returns the full path of the defined texture. It could be empty path if GetImage() is overridden to load image not from file. More...
|
|
Graphic3d_TypeOfTexture | Type () const |
|
const TCollection_AsciiString & | GetId () const |
| This ID will be used to manage resource in graphic driver. More...
|
|
Standard_Size | Revision () const |
| Return image revision. More...
|
|
void | UpdateRevision () |
| Update image revision. Can be used for signaling changes in the texture source (e.g. file update, pixmap update) without re-creating texture source itself (since unique id should be never modified). More...
|
|
const Handle< Graphic3d_TextureParams > & | GetParams () const |
|
Public Member Functions inherited from Standard_Transient |
| Standard_Transient () |
| Empty constructor. More...
|
|
| Standard_Transient (const Standard_Transient &) |
| Copy constructor – does nothing. More...
|
|
Standard_Transient & | operator= (const Standard_Transient &) |
| Assignment operator, needed to avoid copying reference counter. More...
|
|
virtual | ~Standard_Transient () |
| Destructor must be virtual. More...
|
|
virtual void | Delete () const |
| Memory deallocator for transient classes. More...
|
|
virtual const opencascade::handle< Standard_Type > & | DynamicType () const |
| Returns a type descriptor about this object. More...
|
|
Standard_Boolean | IsInstance (const opencascade::handle< Standard_Type > &theType) const |
| Returns a true value if this is an instance of Type. More...
|
|
Standard_Boolean | IsInstance (const Standard_CString theTypeName) const |
| Returns a true value if this is an instance of TypeName. More...
|
|
Standard_Boolean | IsKind (const opencascade::handle< Standard_Type > &theType) const |
| Returns true if this is an instance of Type or an instance of any class that inherits from Type. Note that multiple inheritance is not supported by OCCT RTTI mechanism. More...
|
|
Standard_Boolean | IsKind (const Standard_CString theTypeName) const |
| Returns true if this is an instance of TypeName or an instance of any class that inherits from TypeName. Note that multiple inheritance is not supported by OCCT RTTI mechanism. More...
|
|
Standard_Transient * | This () const |
| Returns non-const pointer to this object (like const_cast). For protection against creating handle to objects allocated in stack or call from constructor, it will raise exception Standard_ProgramError if reference counter is zero. More...
|
|
Standard_Integer | GetRefCount () const |
| Get the reference counter of this object. More...
|
|
void | IncrementRefCounter () const |
| Increments the reference counter of this object. More...
|
|
Standard_Integer | DecrementRefCounter () const |
| Decrements the reference counter of this object; returns the decremented value. More...
|
|