summaryrefslogtreecommitdiff
path: root/inc/Prs3d_AngleAspect.hxx
blob: 261f1f765ee850ab75b19ad744382239aa74f83d (plain)
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
// 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_AngleAspect_HeaderFile
#define _Prs3d_AngleAspect_HeaderFile

#ifndef _Standard_HeaderFile
#include <Standard.hxx>
#endif
#ifndef _Standard_DefineHandle_HeaderFile
#include <Standard_DefineHandle.hxx>
#endif
#ifndef _Handle_Prs3d_AngleAspect_HeaderFile
#include <Handle_Prs3d_AngleAspect.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 _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;


//! A framework for defining how an angle will be <br>
//! displayed in a presentation. Aspects of angle display include: <br>
//! -   display of the arrow pointing to the angle <br>
//! -   display of the line making up the shaft of the arrow <br>
//! -   display of the text referring to the angle. <br>
//!   The definition set by this class is then passed to the <br>
//! attribute manager Prs3d_Drawer. <br>
//! Any object which requires a value for angle aspect as <br>
//! an argument may then be given the attribute manager <br>
//! as a substitute argument in the form of a field such as <br>
//! myDrawer for example. <br>
class Prs3d_AngleAspect : public Prs3d_CompositeAspect {

public:

  
  Standard_EXPORT   Prs3d_AngleAspect();
  //! Returns the setting determining how the line making <br>
//! up the shaft of the arrow will be displayed. <br>
  Standard_EXPORT     Handle_Prs3d_LineAspect LineAspect() const;
  //! Sets how the line making up the shaft of an arrow will be displayed. <br>
  Standard_EXPORT     void SetLineAspect(const Handle(Prs3d_LineAspect)& anAspect) ;
  //! Returns the setting determining how text in the <br>
//! presentation of an angle will be displayed. <br>
  Standard_EXPORT     Handle_Prs3d_TextAspect TextAspect() const;
  //! Sets how text in the presentation of an angle will be displayed. <br>
  Standard_EXPORT     void SetTextAspect(const Handle(Prs3d_TextAspect)& anAspect) ;
  //! Returns the setting determining how an arrow head <br>
//! which points to an angle will be displayed. <br>
  Standard_EXPORT     Handle_Prs3d_ArrowAspect ArrowAspect() const;
  //! Sets how an arrow head which points to an angle will be displayed. <br>
  Standard_EXPORT     void SetArrowAspect(const Handle(Prs3d_ArrowAspect)& anAspect) ;
  
  Standard_EXPORT     void Print(Standard_OStream& s) const;




  DEFINE_STANDARD_RTTI(Prs3d_AngleAspect)

protected:




private: 


Handle_Prs3d_LineAspect myLineAspect;
Handle_Prs3d_ArrowAspect myArrowAspect;
Handle_Prs3d_TextAspect myTextAspect;


};





// other Inline functions and methods (like "C++: function call" methods)


#endif