/usr/include/oce/Prs3d_PlaneAspect.hxx is in liboce-visualization-dev 0.17.2-2.
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 | // 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 _Prs3d_PlaneAspect_HeaderFile
#define _Prs3d_PlaneAspect_HeaderFile
#include <Standard.hxx>
#include <Standard_DefineHandle.hxx>
#include <Handle_Prs3d_PlaneAspect.hxx>
#include <Handle_Prs3d_LineAspect.hxx>
#include <Quantity_Length.hxx>
#include <Quantity_PlaneAngle.hxx>
#include <Standard_Boolean.hxx>
#include <Prs3d_BasicAspect.hxx>
class Prs3d_LineAspect;
//! A framework to define the display of planes.
class Prs3d_PlaneAspect : public Prs3d_BasicAspect
{
public:
//! Constructs an empty framework for the display of planes.
Standard_EXPORT Prs3d_PlaneAspect();
//! Returns the attributes of displayed edges involved in the presentation of planes.
Standard_EXPORT Handle(Prs3d_LineAspect) EdgesAspect() const;
//! Returns the attributes of displayed isoparameters involved in the presentation of planes.
Standard_EXPORT Handle(Prs3d_LineAspect) IsoAspect() const;
//! Returns the settings for displaying an arrow.
Standard_EXPORT Handle(Prs3d_LineAspect) ArrowAspect() const;
Standard_EXPORT void SetArrowsLength (const Quantity_Length L) ;
//! Returns the length of the arrow shaft used in the display of arrows.
Standard_EXPORT Quantity_Length ArrowsLength() const;
//! Sets the angle of the arrowhead used in the display of planes.
Standard_EXPORT void SetArrowsSize (const Quantity_Length L) ;
//! Returns the size of arrows used in the display of planes.
Standard_EXPORT Quantity_Length ArrowsSize() const;
//! Sets the angle of the arrowhead used in the display
//! of arrows involved in the presentation of planes.
Standard_EXPORT void SetArrowsAngle (const Quantity_PlaneAngle ang) ;
//! Returns the angle of the arrowhead used in the
//! display of arrows involved in the presentation of planes.
Standard_EXPORT Quantity_PlaneAngle ArrowsAngle() const;
//! Sets the display attributes defined in DisplayCenterArrow to active.
Standard_EXPORT void SetDisplayCenterArrow (const Standard_Boolean draw) ;
//! Returns true if the display of center arrows is allowed.
Standard_EXPORT Standard_Boolean DisplayCenterArrow() const;
//! Sets the display attributes defined in DisplayEdgesArrows to active.
Standard_EXPORT void SetDisplayEdgesArrows (const Standard_Boolean draw) ;
//! Returns true if the display of edge arrows is allowed.
Standard_EXPORT Standard_Boolean DisplayEdgesArrows() const;
Standard_EXPORT void SetDisplayEdges (const Standard_Boolean draw) ;
Standard_EXPORT Standard_Boolean DisplayEdges() const;
//! Sets the display attributes defined in DisplayIso to active.
Standard_EXPORT void SetDisplayIso (const Standard_Boolean draw) ;
//! Returns true if the display of isoparameters is allowed.
Standard_EXPORT Standard_Boolean DisplayIso() const;
Standard_EXPORT void SetPlaneLength (const Quantity_Length LX, const Quantity_Length LY) ;
//! Returns the length of the x axis used in the display of planes.
Standard_EXPORT Quantity_Length PlaneXLength() const;
//! Returns the length of the y axis used in the display of planes.
Standard_EXPORT Quantity_Length PlaneYLength() const;
//! Sets the distance L between isoparameters used in the display of planes.
Standard_EXPORT void SetIsoDistance (const Quantity_Length L) ;
//! Returns the distance between isoparameters used in the display of planes.
Standard_EXPORT Quantity_Length IsoDistance() const;
DEFINE_STANDARD_RTTI(Prs3d_PlaneAspect)
protected:
private:
Handle(Prs3d_LineAspect) myEdgesAspect;
Handle(Prs3d_LineAspect) myIsoAspect;
Handle(Prs3d_LineAspect) myArrowAspect;
Quantity_Length myArrowsLength;
Quantity_Length myArrowsSize;
Quantity_PlaneAngle myArrowsAngle;
Standard_Boolean myDrawCenterArrow;
Standard_Boolean myDrawEdgesArrows;
Standard_Boolean myDrawEdges;
Standard_Boolean myDrawIso;
Quantity_Length myPlaneXLength;
Quantity_Length myPlaneYLength;
Quantity_Length myIsoDistance;
};
#endif // _Prs3d_PlaneAspect_HeaderFile
|