// 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 #endif #ifndef _Standard_DefineHandle_HeaderFile #include #endif #ifndef _Handle_Graphic3d_Texture1Dsegment_HeaderFile #include #endif #ifndef _Standard_ShortReal_HeaderFile #include #endif #ifndef _Graphic3d_Texture1D_HeaderFile #include #endif #ifndef _Handle_Graphic3d_StructureManager_HeaderFile #include #endif #ifndef _Standard_CString_HeaderFile #include #endif #ifndef _Graphic3d_NameOfTexture1D_HeaderFile #include #endif class Graphic3d_StructureManager; //! This class provides the implementation
//! of a 1D texture applyable along a segment.
//! You might use the SetSegment() method
//! to set the way the texture is "streched" on facets.
class Graphic3d_Texture1Dsegment : public Graphic3d_Texture1D { public: //! Creates a texture from a file
Standard_EXPORT Graphic3d_Texture1Dsegment(const Handle(Graphic3d_StructureManager)& VM,const Standard_CString FileName); //! Creates a texture from a predefined texture name set.
Standard_EXPORT Graphic3d_Texture1Dsegment(const Handle(Graphic3d_StructureManager)& VM,const Graphic3d_NameOfTexture1D NOT); //! Sets the texture application bounds. Defines the way
//! the texture is stretched across facets.
//! Default values are <0.0, 0.0, 0.0> , <0.0, 0.0, 1.0>
Standard_EXPORT void SetSegment(const Standard_ShortReal X1,const Standard_ShortReal Y1,const Standard_ShortReal Z1,const Standard_ShortReal X2,const Standard_ShortReal Y2,const Standard_ShortReal Z2) ; //! Returns the values of the current segment X1, Y1, Z1 , X2, Y2, Z2.
Standard_EXPORT void Segment(Standard_ShortReal& X1,Standard_ShortReal& Y1,Standard_ShortReal& Z1,Standard_ShortReal& X2,Standard_ShortReal& Y2,Standard_ShortReal& Z2) 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