Open CASCADE Technology
6.9.0
|
This class describes texture parameters. More...
#include <Graphic3d_TextureParams.hxx>
Public Member Functions | |
Graphic3d_TextureParams () | |
Default constructor. More... | |
void | Destroy () const |
~Graphic3d_TextureParams () | |
Standard_Boolean | IsModulate () const |
void | SetModulate (const Standard_Boolean theToModulate) |
Standard_Boolean | IsRepeat () const |
void | SetRepeat (const Standard_Boolean theToRepeat) |
Graphic3d_TypeOfTextureFilter | Filter () const |
void | SetFilter (const Graphic3d_TypeOfTextureFilter theFilter) |
Graphic3d_LevelOfTextureAnisotropy | AnisoFilter () const |
void | SetAnisoFilter (const Graphic3d_LevelOfTextureAnisotropy theLevel) |
Standard_ShortReal | Rotation () const |
void | SetRotation (const Standard_ShortReal theAngleDegrees) |
const Graphic3d_Vec2 & | Scale () const |
void | SetScale (const Graphic3d_Vec2 theScale) |
const Graphic3d_Vec2 & | Translation () const |
void | SetTranslation (const Graphic3d_Vec2 theVec) |
Graphic3d_TypeOfTextureMode | GenMode () const |
const Graphic3d_Vec4 & | GenPlaneS () const |
const Graphic3d_Vec4 & | GenPlaneT () const |
void | SetGenMode (const Graphic3d_TypeOfTextureMode theMode, const Graphic3d_Vec4 thePlaneS, const Graphic3d_Vec4 thePlaneT) |
Setup texture coordinates generation mode. More... | |
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 Handle_Standard_Type & | DynamicType () const |
Returns a type information object about this object. More... | |
Standard_Boolean | IsInstance (const 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 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... | |
virtual Handle_Standard_Transient | This () const |
Returns a Handle which references this object. Must never be called to objects created in stack. More... | |
Standard_Integer | GetRefCount () const |
Get the reference counter of this object. More... | |
This class describes texture parameters.
Graphic3d_TextureParams::Graphic3d_TextureParams | ( | ) |
Default constructor.
|
inline |
Graphic3d_LevelOfTextureAnisotropy Graphic3d_TextureParams::AnisoFilter | ( | ) | const |
void Graphic3d_TextureParams::Destroy | ( | ) | const |
Graphic3d_TypeOfTextureFilter Graphic3d_TextureParams::Filter | ( | ) | const |
Graphic3d_TypeOfTextureMode Graphic3d_TextureParams::GenMode | ( | ) | const |
const Graphic3d_Vec4& Graphic3d_TextureParams::GenPlaneS | ( | ) | const |
const Graphic3d_Vec4& Graphic3d_TextureParams::GenPlaneT | ( | ) | const |
Standard_Boolean Graphic3d_TextureParams::IsModulate | ( | ) | const |
Standard_Boolean Graphic3d_TextureParams::IsRepeat | ( | ) | const |
Standard_ShortReal Graphic3d_TextureParams::Rotation | ( | ) | const |
const Graphic3d_Vec2& Graphic3d_TextureParams::Scale | ( | ) | const |
void Graphic3d_TextureParams::SetAnisoFilter | ( | const Graphic3d_LevelOfTextureAnisotropy | theLevel | ) |
theLevel | level of anisontropy texture filter. |
void Graphic3d_TextureParams::SetFilter | ( | const Graphic3d_TypeOfTextureFilter | theFilter | ) |
theFilter | texture interpolation filter. |
void Graphic3d_TextureParams::SetGenMode | ( | const Graphic3d_TypeOfTextureMode | theMode, |
const Graphic3d_Vec4 | thePlaneS, | ||
const Graphic3d_Vec4 | thePlaneT | ||
) |
Setup texture coordinates generation mode.
void Graphic3d_TextureParams::SetModulate | ( | const Standard_Boolean | theToModulate | ) |
theToModulate | turn modulation on/off. |
void Graphic3d_TextureParams::SetRepeat | ( | const Standard_Boolean | theToRepeat | ) |
theToRepeat | turn texture repeat mode ON or OFF (clamping). |
void Graphic3d_TextureParams::SetRotation | ( | const Standard_ShortReal | theAngleDegrees | ) |
theAngleDegrees | rotation angle. |
void Graphic3d_TextureParams::SetScale | ( | const Graphic3d_Vec2 | theScale | ) |
theScale | scale factor. |
void Graphic3d_TextureParams::SetTranslation | ( | const Graphic3d_Vec2 | theVec | ) |
theVec | translation vector. |
const Graphic3d_Vec2& Graphic3d_TextureParams::Translation | ( | ) | const |