/usr/include/oce/Graphic3d_TextureParams.hxx is in liboce-visualization-dev 0.17.1-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 | // This file is generated by WOK (CPPExt).
// Please do not edit this file; modify original file instead.
// The copyright and license terms as defined for the original file apply to
// this header file considered to be the "object code" form of the original source.
#ifndef _Graphic3d_TextureParams_HeaderFile
#define _Graphic3d_TextureParams_HeaderFile
#include <Standard.hxx>
#include <Standard_DefineHandle.hxx>
#include <Handle_Graphic3d_TextureParams.hxx>
#include <Standard_Boolean.hxx>
#include <Graphic3d_TypeOfTextureFilter.hxx>
#include <Graphic3d_LevelOfTextureAnisotropy.hxx>
#include <Standard_ShortReal.hxx>
#include <Graphic3d_Vec2.hxx>
#include <Graphic3d_TypeOfTextureMode.hxx>
#include <Graphic3d_Vec4.hxx>
#include <Standard_Transient.hxx>
//! This class describes texture parameters.
class Graphic3d_TextureParams : public Standard_Transient
{
public:
//! Default constructor.
Standard_EXPORT Graphic3d_TextureParams();
Standard_EXPORT void Destroy() const;
~Graphic3d_TextureParams()
{
Destroy();
}
//! @return TRUE if the texture is modulate.
//! Default value is FALSE.
Standard_EXPORT Standard_Boolean IsModulate() const;
//! @param theToModulate turn modulation on/off.
Standard_EXPORT void SetModulate (const Standard_Boolean theToModulate) ;
//! @return TRUE if the texture repeat is enabled.
//! Default value is FALSE.
Standard_EXPORT Standard_Boolean IsRepeat() const;
//! @param theToRepeat turn texture repeat mode ON or OFF (clamping).
Standard_EXPORT void SetRepeat (const Standard_Boolean theToRepeat) ;
//! @return texture interpolation filter.
//! Default value is Graphic3d_TOTF_NEAREST.
Standard_EXPORT Graphic3d_TypeOfTextureFilter Filter() const;
//! @param theFilter texture interpolation filter.
Standard_EXPORT void SetFilter (const Graphic3d_TypeOfTextureFilter theFilter) ;
//! @return level of anisontropy texture filter.
//! Default value is Graphic3d_LOTA_OFF.
Standard_EXPORT Graphic3d_LevelOfTextureAnisotropy AnisoFilter() const;
//! @param theLevel level of anisontropy texture filter.
Standard_EXPORT void SetAnisoFilter (const Graphic3d_LevelOfTextureAnisotropy theLevel) ;
//! @return rotation angle in degrees
//! Default value is 0.
Standard_EXPORT Standard_ShortReal Rotation() const;
//! @param theAngleDegrees rotation angle.
Standard_EXPORT void SetRotation (const Standard_ShortReal theAngleDegrees) ;
//! @return scale factor
//! Default value is no scaling (1.0; 1.0).
Standard_EXPORT const Graphic3d_Vec2& Scale() const;
//! @param theScale scale factor.
Standard_EXPORT void SetScale (const Graphic3d_Vec2 theScale) ;
//! @return translation vector
//! Default value is no translation (0.0; 0.0).
Standard_EXPORT const Graphic3d_Vec2& Translation() const;
//! @param theVec translation vector.
Standard_EXPORT void SetTranslation (const Graphic3d_Vec2 theVec) ;
//! @return texture coordinates generation mode.
//! Default value is Graphic3d_TOTM_MANUAL.
Standard_EXPORT Graphic3d_TypeOfTextureMode GenMode() const;
//! @return texture coordinates generation plane S.
Standard_EXPORT const Graphic3d_Vec4& GenPlaneS() const;
//! @return texture coordinates generation plane T.
Standard_EXPORT const Graphic3d_Vec4& GenPlaneT() const;
//! Setup texture coordinates generation mode.
Standard_EXPORT void SetGenMode (const Graphic3d_TypeOfTextureMode theMode, const Graphic3d_Vec4 thePlaneS, const Graphic3d_Vec4 thePlaneT) ;
DEFINE_STANDARD_RTTI(Graphic3d_TextureParams)
protected:
private:
Standard_Boolean myToModulate;
Standard_Boolean myToRepeat;
Graphic3d_TypeOfTextureFilter myFilter;
Graphic3d_LevelOfTextureAnisotropy myAnisoLevel;
Standard_ShortReal myRotAngle;
Graphic3d_Vec2 myScale;
Graphic3d_Vec2 myTranslation;
Graphic3d_TypeOfTextureMode myGenMode;
Graphic3d_Vec4 myGenPlaneS;
Graphic3d_Vec4 myGenPlaneT;
};
#endif // _Graphic3d_TextureParams_HeaderFile
|