/usr/include/oce/Graphic3d_AspectLine3d.hxx is in liboce-visualization-dev 0.18.2-2build1.
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 | // 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_AspectLine3d_HeaderFile
#define _Graphic3d_AspectLine3d_HeaderFile
#include <Standard.hxx>
#include <Standard_DefineHandle.hxx>
#include <Handle_Graphic3d_AspectLine3d.hxx>
#include <Graphic3d_ShaderProgram.hxx>
#include <Aspect_AspectLine.hxx>
#include <Aspect_TypeOfLine.hxx>
#include <Standard_Real.hxx>
class Quantity_Color;
//! Creates and updates a group of attributes
//! for 3d line primitives. This group contains the
//! colour, the type of line, and its thickness.
class Graphic3d_AspectLine3d : public Aspect_AspectLine
{
public:
//! Creates a context table for line primitives
//! defined with the following default values:
//!
//! Colour : NOC_YELLOW
//! Line type : TOL_SOLID
//! Width : 1.0
Standard_EXPORT Graphic3d_AspectLine3d();
//! Creates a context table for line primitives
//! defined with the specified values.
//! Warning: <AWidth> is the "linewidth scale factor".
//! The nominal line width is 1 pixel. The width of
//! the line is determined by applying the linewidth scale
//! factor to this nominal line width.
//! The supported linewidths vary by 1-pixel units.
Standard_EXPORT Graphic3d_AspectLine3d(const Quantity_Color& AColor, const Aspect_TypeOfLine AType, const Standard_Real AWidth);
//! Sets up OpenGL/GLSL shader program.
Standard_EXPORT void SetShaderProgram (const Handle(Graphic3d_ShaderProgram)& theProgram) ;
Standard_EXPORT const Handle(Graphic3d_ShaderProgram)& ShaderProgram() const;
DEFINE_STANDARD_RTTI(Graphic3d_AspectLine3d)
protected:
private:
Handle(Graphic3d_ShaderProgram) MyShaderProgram;
};
#endif // _Graphic3d_AspectLine3d_HeaderFile
|