7fd59977 |
1 | // ISession_Curve.h: interface for the ISession_Curve class. |
2 | // |
3 | ////////////////////////////////////////////////////////////////////// |
4 | |
5 | #if !defined(AFX_ISESSION_CURVE_H__F981CB93_A3CC_11D1_8DA3_0800369C8A03__INCLUDED_) |
6 | #define AFX_ISESSION_CURVE_H__F981CB93_A3CC_11D1_8DA3_0800369C8A03__INCLUDED_ |
7 | |
8 | #if _MSC_VER >= 1000 |
9 | #pragma once |
10 | #endif // _MSC_VER >= 1000 |
11 | #include <Standard_Macro.hxx> |
12 | #include <Standard_DefineHandle.hxx> |
13 | #include "AIS_InteractiveObject.hxx" |
9e3ca93a |
14 | class ISession_Curve; |
7fd59977 |
15 | DEFINE_STANDARD_HANDLE(ISession_Curve,AIS_InteractiveObject) |
16 | |
17 | class ISession_Curve : public AIS_InteractiveObject |
18 | { |
19 | public: |
5c1f974e |
20 | ISession_Curve(Handle(Geom_Curve)& aCurve); |
21 | virtual ~ISession_Curve(); |
22 | |
92efcf78 |
23 | DEFINE_STANDARD_RTTIEXT(ISession_Curve,AIS_InteractiveObject) |
5c1f974e |
24 | |
7fd59977 |
25 | private: |
26 | |
5c1f974e |
27 | Standard_EXPORT virtual void Compute(const Handle(PrsMgr_PresentationManager3d)& aPresentationManager,const Handle(Prs3d_Presentation)& aPresentation,const Standard_Integer aMode = 0) ; |
28 | Standard_EXPORT virtual void Compute(const Handle(Prs3d_Projector)& aProjector,const Handle(Prs3d_Presentation)& aPresentation) ; |
29 | void ComputeSelection(const Handle(SelectMgr_Selection)& aSelection,const Standard_Integer aMode) ; |
7fd59977 |
30 | |
5c1f974e |
31 | Handle(Geom_Curve) myCurve; |
7fd59977 |
32 | }; |
33 | |
34 | #endif // !defined(AFX_ISESSION_CURVE_H__F981CB93_A3CC_11D1_8DA3_0800369C8A03__INCLUDED_) |