/usr/include/oce/Prs3d_LengthAspect.hxx is in liboce-visualization-dev 0.9.1-3.
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 | // 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_LengthAspect_HeaderFile
#define _Prs3d_LengthAspect_HeaderFile
#ifndef _Standard_HeaderFile
#include <Standard.hxx>
#endif
#ifndef _Standard_DefineHandle_HeaderFile
#include <Standard_DefineHandle.hxx>
#endif
#ifndef _Handle_Prs3d_LengthAspect_HeaderFile
#include <Handle_Prs3d_LengthAspect.hxx>
#endif
#ifndef _Handle_Prs3d_LineAspect_HeaderFile
#include <Handle_Prs3d_LineAspect.hxx>
#endif
#ifndef _Handle_Prs3d_ArrowAspect_HeaderFile
#include <Handle_Prs3d_ArrowAspect.hxx>
#endif
#ifndef _Handle_Prs3d_TextAspect_HeaderFile
#include <Handle_Prs3d_TextAspect.hxx>
#endif
#ifndef _Standard_Boolean_HeaderFile
#include <Standard_Boolean.hxx>
#endif
#ifndef _Prs3d_CompositeAspect_HeaderFile
#include <Prs3d_CompositeAspect.hxx>
#endif
#ifndef _Standard_OStream_HeaderFile
#include <Standard_OStream.hxx>
#endif
class Prs3d_LineAspect;
class Prs3d_ArrowAspect;
class Prs3d_TextAspect;
//! defines the attributes when drawing a Length Presentation. <br>
class Prs3d_LengthAspect : public Prs3d_CompositeAspect {
public:
//! Constructs an empty framework to define the display of lengths. <br>
Standard_EXPORT Prs3d_LengthAspect();
//! Returns the settings for the display of lines used in presentation of lengths. <br>
Standard_EXPORT Handle_Prs3d_LineAspect LineAspect() const;
//! Sets the display attributes of lines used in presentation of lengths. <br>
Standard_EXPORT void SetLineAspect(const Handle(Prs3d_LineAspect)& anAspect) ;
//! Returns the settings for displaying a right-pointing arrow. <br>
Standard_EXPORT Handle_Prs3d_ArrowAspect Arrow1Aspect() const;
//! Sets the display attributes of the first arrow used in presentation of lengths. <br>
Standard_EXPORT void SetArrow1Aspect(const Handle(Prs3d_ArrowAspect)& anAspect) ;
//! Returns the settings for displaying a left-pointing arrow. <br>
Standard_EXPORT Handle_Prs3d_ArrowAspect Arrow2Aspect() const;
//! Sets the display attributes of the second arrow used in presentation of lengths. <br>
Standard_EXPORT void SetArrow2Aspect(const Handle(Prs3d_ArrowAspect)& anAspect) ;
//! Returns the settings for the display of text used in presentation of lengths. <br>
Standard_EXPORT Handle_Prs3d_TextAspect TextAspect() const;
//! Sets the display attributes of text used in presentation of lengths. <br>
Standard_EXPORT void SetTextAspect(const Handle(Prs3d_TextAspect)& anAspect) ;
//! Sets the DrawFirstArrow attributes to active. <br>
Standard_EXPORT void SetDrawFirstArrow(const Standard_Boolean draw) ;
//! Returns true if the first arrow can be drawn. <br>
Standard_EXPORT Standard_Boolean DrawFirstArrow() const;
//! Sets the DrawSecondArrow attributes to active. <br>
Standard_EXPORT void SetDrawSecondArrow(const Standard_Boolean draw) ;
//! Returns true if the second arrow can be drawn. <br>
Standard_EXPORT Standard_Boolean DrawSecondArrow() const;
Standard_EXPORT void Print(Standard_OStream& s) const;
DEFINE_STANDARD_RTTI(Prs3d_LengthAspect)
protected:
private:
Handle_Prs3d_LineAspect myLineAspect;
Handle_Prs3d_ArrowAspect myArrow1Aspect;
Handle_Prs3d_ArrowAspect myArrow2Aspect;
Handle_Prs3d_TextAspect myTextAspect;
Standard_Boolean myDrawFirstArrow;
Standard_Boolean myDrawSecondArrow;
};
// other Inline functions and methods (like "C++: function call" methods)
#endif
|