0029915: Porting to VC 2017 : Regressions in Modeling Algorithms on VC 2017
[occt.git] / src / QABugs / QABugs_PresentableObject.hxx
1 // Created on: 2002-04-09
2 // Created by: QA Admin
3 // Copyright (c) 2002-2014 OPEN CASCADE SAS
4 //
5 // This file is part of Open CASCADE Technology software library.
6 //
7 // This library is free software; you can redistribute it and/or modify it under
8 // the terms of the GNU Lesser General Public License version 2.1 as published
9 // by the Free Software Foundation, with special exception defined in the file
10 // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
11 // distribution for complete text of the license and disclaimer of any warranty.
12 //
13 // Alternatively, this file may be used under the terms of Open CASCADE
14 // commercial license or contractual agreement.
15
16 #ifndef _QABugs_PresentableObject_HeaderFile
17 #define _QABugs_PresentableObject_HeaderFile
18
19 #include <Standard.hxx>
20 #include <Standard_Type.hxx>
21
22 #include <AIS_InteractiveObject.hxx>
23 #include <PrsMgr_TypeOfPresentation3d.hxx>
24 #include <SelectMgr_Selection.hxx>
25 #include <Standard_Integer.hxx>
26 #include <PrsMgr_PresentationManager3d.hxx>
27 class Prs3d_Presentation;
28
29
30 class QABugs_PresentableObject;
31 DEFINE_STANDARD_HANDLE(QABugs_PresentableObject, AIS_InteractiveObject)
32
33
34 class QABugs_PresentableObject : public AIS_InteractiveObject
35 {
36
37 public:
38
39   
40   Standard_EXPORT QABugs_PresentableObject(const PrsMgr_TypeOfPresentation3d aTypeOfPresentation3d = PrsMgr_TOP_AllView);
41
42
43
44
45   DEFINE_STANDARD_RTTIEXT(QABugs_PresentableObject,AIS_InteractiveObject)
46
47 protected:
48
49   
50   Standard_EXPORT virtual void ComputeSelection (const Handle(SelectMgr_Selection)& aSelection, const Standard_Integer aMode) Standard_OVERRIDE;
51   
52   Standard_EXPORT virtual void Compute (const Handle(PrsMgr_PresentationManager3d)& aPresentationManager, const Handle(Prs3d_Presentation)& aPresentation, const Standard_Integer aMode = 0) Standard_OVERRIDE;
53
54
55
56 private:
57
58
59
60
61 };
62
63
64
65
66
67
68
69 #endif // _QABugs_PresentableObject_HeaderFile