0030675: Visualization - remove redundant proxy classes in hierarchy of PrsMgr_Presen...
[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>
42cf5bc1 25#include <DsgPrs_ArrowSide.hxx>
7dd7c146 26#include <Prs3d_Presentation.hxx>
27
42cf5bc1 28class TCollection_ExtendedString;
29class gp_Pnt;
30class gp_Elips;
31class Geom_OffsetCurve;
32
42cf5bc1 33class DsgPrs_EllipseRadiusPresentation
34{
35public:
36
37 DEFINE_STANDARD_ALLOC
38
39
40 //! draws a Radius (Major or Minor)
41 //! representation for whole ellipse case
42 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);
43
44 //! draws a Radius (Major or Minor) representation
45 //! for arc of an ellipse case
46 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);
47
48 //! draws a Radius (Major or Minor) representation
49 //! for arc of an offset curve from ellipse
50 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);
51
52
53
54
55protected:
56
57
58
59
60
61private:
62
63
64
65
66
67};
68
69
70
71
72
73
74
75#endif // _DsgPrs_EllipseRadiusPresentation_HeaderFile