0031459: Visualization, AIS_TextLabel - add missing getters
[occt.git] / src / AIS / AIS_EqualRadiusRelation.hxx
CommitLineData
42cf5bc1 1// Created on: 1998-01-17
2// Created by: Julia GERASIMOVA
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 _AIS_EqualRadiusRelation_HeaderFile
18#define _AIS_EqualRadiusRelation_HeaderFile
19
42cf5bc1 20#include <AIS_Relation.hxx>
42cf5bc1 21
7dd7c146 22class Geom_Plane;
42cf5bc1 23
42cf5bc1 24DEFINE_STANDARD_HANDLE(AIS_EqualRadiusRelation, AIS_Relation)
25
42cf5bc1 26class AIS_EqualRadiusRelation : public AIS_Relation
27{
7dd7c146 28 DEFINE_STANDARD_RTTIEXT(AIS_EqualRadiusRelation, AIS_Relation)
42cf5bc1 29public:
30
42cf5bc1 31 //! Creates equal relation of two arc's radiuses.
32 //! If one of edges is not in the given plane,
33 //! the presentation method projects it onto the plane.
34 Standard_EXPORT AIS_EqualRadiusRelation(const TopoDS_Edge& aFirstEdge, const TopoDS_Edge& aSecondEdge, const Handle(Geom_Plane)& aPlane);
42cf5bc1 35
42cf5bc1 36private:
37
42cf5bc1 38 Standard_EXPORT void Compute (const Handle(PrsMgr_PresentationManager3d)& aPresentationManager, const Handle(Prs3d_Presentation)& aPresentation, const Standard_Integer aMode = 0) Standard_OVERRIDE;
39
79104795 40 Standard_EXPORT void ComputeSelection (const Handle(SelectMgr_Selection)& aSelection, const Standard_Integer aMode) Standard_OVERRIDE;
42cf5bc1 41
42 Standard_EXPORT void ComputeRadiusPosition();
43
44 gp_Pnt myFirstCenter;
45 gp_Pnt mySecondCenter;
46 gp_Pnt myFirstPoint;
47 gp_Pnt mySecondPoint;
48
42cf5bc1 49};
50
42cf5bc1 51#endif // _AIS_EqualRadiusRelation_HeaderFile