/usr/include/oce/DrawTrSurf_Drawable.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 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 | // 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 _DrawTrSurf_Drawable_HeaderFile
#define _DrawTrSurf_Drawable_HeaderFile
#include <Standard.hxx>
#include <Standard_DefineHandle.hxx>
#include <Handle_DrawTrSurf_Drawable.hxx>
#include <Standard_Integer.hxx>
#include <Standard_Real.hxx>
#include <Draw_Drawable3D.hxx>
#include <GeomAbs_IsoType.hxx>
class Adaptor2d_Curve2d;
class Draw_Display;
class Adaptor3d_Curve;
class Adaptor3d_IsoCurve;
//! this class adds to the Drawable3D methods to
//! display Curves and Curves on Surface.
//!
//! The discretisation, number of points on a Curve,
//! is stored in this class.
class DrawTrSurf_Drawable : public Draw_Drawable3D
{
public:
//! Draw a polygon of the curve on the Display
Standard_EXPORT void DrawCurve2dOn (Adaptor2d_Curve2d& C, Draw_Display& D) const;
//! Draw a polygon of the curve on the Display
Standard_EXPORT void DrawCurveOn (Adaptor3d_Curve& C, Draw_Display& D) const;
//! Load C with the specified iso and Draw a polygon
//! of the curve on the Display
Standard_EXPORT void DrawIsoCurveOn (Adaptor3d_IsoCurve& C, const GeomAbs_IsoType T, const Standard_Real P, const Standard_Real F, const Standard_Real L, Draw_Display& D) const;
//! this is defined only to tell C++ not to complain
//! about inheriting a pure virtual method.
Standard_EXPORT virtual void DrawOn (Draw_Display& dis) const = 0;
void SetDiscretisation (const Standard_Integer Discret) ;
Standard_Integer GetDiscretisation() const;
void SetDeflection (const Standard_Real Deflection) ;
Standard_Real GetDeflection() const;
void SetDrawMode (const Standard_Integer DrawMode) ;
Standard_Integer GetDrawMode() const;
DEFINE_STANDARD_RTTI(DrawTrSurf_Drawable)
protected:
//! set the number of points on a curve at creation.
Standard_EXPORT DrawTrSurf_Drawable(const Standard_Integer discret, const Standard_Real deflection = 0.01, const Standard_Integer DrawMode = 0);
private:
Standard_Integer myDrawMode;
Standard_Integer myDiscret;
Standard_Real myDeflection;
};
#include <DrawTrSurf_Drawable.lxx>
#endif // _DrawTrSurf_Drawable_HeaderFile
|