/usr/include/oce/Draw_Display.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 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 _Draw_Display_HeaderFile
#define _Draw_Display_HeaderFile
#include <Standard.hxx>
#include <Standard_DefineAlloc.hxx>
#include <Standard_Macro.hxx>
#include <Standard_Integer.hxx>
#include <Standard_Real.hxx>
#include <Standard_Boolean.hxx>
#include <Draw_MarkerShape.hxx>
#include <Standard_CString.hxx>
class Draw_Color;
class gp_Pnt;
class gp_Pnt2d;
class gp_Circ;
class gp_Circ2d;
//! Use to draw in a 3d or a 2d view.
//!
//! * The 3d methods draw in the 3d system, in a 2d
//! view the drawing is projected on X,Y.
//!
//! * The 2d methods draw in the projection plane.
//!
//! * To draw in screen coordinates the length must be
//! divided by the zoom.
class Draw_Display
{
public:
DEFINE_STANDARD_ALLOC
Standard_EXPORT Draw_Display();
//! Following drawings will use this color.
Standard_EXPORT void SetColor (const Draw_Color& col) const;
//! Set the drawing mode, 3 = copy, 6 = xor
Standard_EXPORT void SetMode (const Standard_Integer M) const;
Standard_EXPORT void Flush() const;
Standard_EXPORT void MoveTo (const gp_Pnt& pt) ;
Standard_EXPORT void DrawTo (const gp_Pnt& pt) ;
Standard_EXPORT void MoveTo (const gp_Pnt2d& pt) ;
Standard_EXPORT void DrawTo (const gp_Pnt2d& pt) ;
Standard_EXPORT void Draw (const gp_Pnt& p1, const gp_Pnt& p2) ;
Standard_EXPORT void Draw (const gp_Pnt2d& p1, const gp_Pnt2d& p2) ;
//! Draw a circle <C> from angle <A1> to <A2>
//! (Radians). if ModifyWithZoom = 0, then
//! rayon of circle is convert to Integer.
Standard_EXPORT void Draw (const gp_Circ& C, const Standard_Real A1, const Standard_Real A2, const Standard_Boolean ModifyWithZoom = Standard_True) ;
//! Draw a 2D circle <C> from angle <A1> to <A2>
//! (Radians). if ModifyWithZoom = 0, then
//! rayon of circle is convert to Integer.
Standard_EXPORT void Draw (const gp_Circ2d& C, const Standard_Real A1, const Standard_Real A2, const Standard_Boolean ModifyWithZoom = Standard_True) ;
Standard_EXPORT void DrawMarker (const gp_Pnt& pt, const Draw_MarkerShape S, const Standard_Integer Size = 5) ;
Standard_EXPORT void DrawMarker (const gp_Pnt2d& pt, const Draw_MarkerShape S, const Standard_Integer Size = 5) ;
Standard_EXPORT void DrawMarker (const gp_Pnt& pt, const Draw_MarkerShape S, const Standard_Real Size) ;
Standard_EXPORT void DrawMarker (const gp_Pnt2d& pt, const Draw_MarkerShape S, const Standard_Real Size) ;
Standard_EXPORT void DrawString (const gp_Pnt& pt, const Standard_CString S) ;
Standard_EXPORT void DrawString (const gp_Pnt2d& pt, const Standard_CString S) ;
Standard_EXPORT void DrawString (const gp_Pnt& pt, const Standard_CString S, const Standard_Real moveX, const Standard_Real moveY) ;
Standard_EXPORT void DrawString (const gp_Pnt2d& pt, const Standard_CString S, const Standard_Real moveX, const Standard_Real moveY) ;
//! Returns the 2D projection of a 3D point.
Standard_EXPORT gp_Pnt2d Project (const gp_Pnt& pt) const;
//! Returns the 2D projection of a 3D point.
Standard_EXPORT void Project (const gp_Pnt& pt, gp_Pnt2d& pt2d) const;
//! Returns the current Zoom value.
Standard_EXPORT Standard_Real Zoom() const;
//! Returns the identifier of the view where the
//! display is drawing.
Standard_EXPORT Standard_Integer ViewId() const;
//! Returs True if the last drawing operations
//! generated a pick hit. When HasPicked is True the
//! Drawing should be resumed.
//!
//! This function is used to shorten the drawing when
//! picking and to save the picked sub-parts.
Standard_EXPORT Standard_Boolean HasPicked() const;
protected:
private:
};
#endif // _Draw_Display_HeaderFile
|