0022972: Eliminate macro definitions that has compiler-provided analogs (WNT and...
[occt.git] / src / DsgPrs / DsgPrs_EllipseRadiusPresentation.hxx
CommitLineData
42cf5bc1 1// Created on: 1998-01-26
2// Created by: Sergey ZARITCHNY
3// Copyright (c) 1998-1999 Matra Datavision
4// Copyright (c) 1999-2014 OPEN CASCADE SAS
5//
6// This file is part of Open CASCADE Technology software library.
7//
8// This library is free software; you can redistribute it and/or modify it under
9// the terms of the GNU Lesser General Public License version 2.1 as published
10// by the Free Software Foundation, with special exception defined in the file
11// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
12// distribution for complete text of the license and disclaimer of any warranty.
13//
14// Alternatively, this file may be used under the terms of Open CASCADE
15// commercial license or contractual agreement.
16
17#ifndef _DsgPrs_EllipseRadiusPresentation_HeaderFile
18#define _DsgPrs_EllipseRadiusPresentation_HeaderFile
19
20#include <Standard.hxx>
21#include <Standard_DefineAlloc.hxx>
22#include <Standard_Handle.hxx>
23
24#include <Prs3d_Drawer.hxx>
25#include <Standard_Real.hxx>
26#include <Standard_Boolean.hxx>
27#include <DsgPrs_ArrowSide.hxx>
28class Prs3d_Presentation;
29class TCollection_ExtendedString;
30class gp_Pnt;
31class gp_Elips;
32class Geom_OffsetCurve;
33
34
35
36class DsgPrs_EllipseRadiusPresentation
37{
38public:
39
40 DEFINE_STANDARD_ALLOC
41
42
43 //! draws a Radius (Major or Minor)
44 //! representation for whole ellipse case
45 Standard_EXPORT static void Add (const Handle(Prs3d_Presentation)& aPresentation, const Handle(Prs3d_Drawer)& aDrawer, const Standard_Real theval, const TCollection_ExtendedString& aText, const gp_Pnt& AttachmentPoint, const gp_Pnt& anEndOfArrow, const gp_Pnt& aCenter, const Standard_Boolean IsMaxRadius, const DsgPrs_ArrowSide ArrowSide);
46
47 //! draws a Radius (Major or Minor) representation
48 //! for arc of an ellipse case
49 Standard_EXPORT static void Add (const Handle(Prs3d_Presentation)& aPresentation, const Handle(Prs3d_Drawer)& aDrawer, const Standard_Real theval, const TCollection_ExtendedString& aText, const gp_Elips& anEllipse, const gp_Pnt& AttachmentPoint, const gp_Pnt& anEndOfArrow, const gp_Pnt& aCenter, const Standard_Real uFirst, const Standard_Boolean IsInDomain, const Standard_Boolean IsMaxRadius, const DsgPrs_ArrowSide ArrowSide);
50
51 //! draws a Radius (Major or Minor) representation
52 //! for arc of an offset curve from ellipse
53 Standard_EXPORT static void Add (const Handle(Prs3d_Presentation)& aPresentation, const Handle(Prs3d_Drawer)& aDrawer, const Standard_Real theval, const TCollection_ExtendedString& aText, const Handle(Geom_OffsetCurve)& aCurve, const gp_Pnt& AttachmentPoint, const gp_Pnt& anEndOfArrow, const gp_Pnt& aCenter, const Standard_Real uFirst, const Standard_Boolean IsInDomain, const Standard_Boolean IsMaxRadius, const DsgPrs_ArrowSide ArrowSide);
54
55
56
57
58protected:
59
60
61
62
63
64private:
65
66
67
68
69
70};
71
72
73
74
75
76
77
78#endif // _DsgPrs_EllipseRadiusPresentation_HeaderFile