/usr/include/oce/Graphic3d_Texture1Dsegment.hxx is in liboce-visualization-dev 0.15-4.
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 | // 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_Texture1Dsegment_HeaderFile
#define _Graphic3d_Texture1Dsegment_HeaderFile
#ifndef _Standard_HeaderFile
#include <Standard.hxx>
#endif
#ifndef _Standard_DefineHandle_HeaderFile
#include <Standard_DefineHandle.hxx>
#endif
#ifndef _Handle_Graphic3d_Texture1Dsegment_HeaderFile
#include <Handle_Graphic3d_Texture1Dsegment.hxx>
#endif
#ifndef _Standard_ShortReal_HeaderFile
#include <Standard_ShortReal.hxx>
#endif
#ifndef _Graphic3d_Texture1D_HeaderFile
#include <Graphic3d_Texture1D.hxx>
#endif
#ifndef _Graphic3d_NameOfTexture1D_HeaderFile
#include <Graphic3d_NameOfTexture1D.hxx>
#endif
class TCollection_AsciiString;
//! This class provides the implementation <br>
//! of a 1D texture applyable along a segment. <br>
//! You might use the SetSegment() method <br>
//! to set the way the texture is "streched" on facets. <br>
class Graphic3d_Texture1Dsegment : public Graphic3d_Texture1D {
public:
//! Creates a texture from a file <br>
Standard_EXPORT Graphic3d_Texture1Dsegment(const TCollection_AsciiString& theFileName);
//! Creates a texture from a predefined texture name set. <br>
Standard_EXPORT Graphic3d_Texture1Dsegment(const Graphic3d_NameOfTexture1D theNOT);
//! Sets the texture application bounds. Defines the way <br>
//! the texture is stretched across facets. <br>
//! Default values are <0.0, 0.0, 0.0> , <0.0, 0.0, 1.0> <br>
Standard_EXPORT void SetSegment(const Standard_ShortReal theX1,const Standard_ShortReal theY1,const Standard_ShortReal theZ1,const Standard_ShortReal theX2,const Standard_ShortReal theY2,const Standard_ShortReal theZ2) ;
//! Returns the values of the current segment X1, Y1, Z1 , X2, Y2, Z2. <br>
Standard_EXPORT void Segment(Standard_ShortReal& theX1,Standard_ShortReal& theY1,Standard_ShortReal& theZ1,Standard_ShortReal& theX2,Standard_ShortReal& theY2,Standard_ShortReal& theZ2) const;
DEFINE_STANDARD_RTTI(Graphic3d_Texture1Dsegment)
protected:
private:
Standard_ShortReal myX1;
Standard_ShortReal myY1;
Standard_ShortReal myZ1;
Standard_ShortReal myX2;
Standard_ShortReal myY2;
Standard_ShortReal myZ2;
};
// other Inline functions and methods (like "C++: function call" methods)
#endif
|