0030675: Visualization - remove redundant proxy classes in hierarchy of PrsMgr_Presen...
[occt.git] / src / StepShape / StepShape_ReversibleTopologyItem.hxx
CommitLineData
42cf5bc1 1// Created on: 1995-12-01
2// Created by: EXPRESS->CDL V0.2 Translator
3// Copyright (c) 1995-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 _StepShape_ReversibleTopologyItem_HeaderFile
18#define _StepShape_ReversibleTopologyItem_HeaderFile
19
20#include <Standard.hxx>
21#include <Standard_DefineAlloc.hxx>
22#include <Standard_Handle.hxx>
23
24#include <StepData_SelectType.hxx>
25#include <Standard_Integer.hxx>
26class Standard_Transient;
27class StepShape_Edge;
28class StepShape_Path;
29class StepShape_Face;
30class StepShape_FaceBound;
31class StepShape_ClosedShell;
32class StepShape_OpenShell;
33
34
35
36class StepShape_ReversibleTopologyItem : public StepData_SelectType
37{
38public:
39
40 DEFINE_STANDARD_ALLOC
41
42
43 //! Returns a ReversibleTopologyItem SelectType
44 Standard_EXPORT StepShape_ReversibleTopologyItem();
45
46 //! Recognizes a ReversibleTopologyItem Kind Entity that is :
47 //! 1 -> Edge
48 //! 2 -> Path
49 //! 3 -> Face
50 //! 4 -> FaceBound
51 //! 5 -> ClosedShell
52 //! 6 -> OpenShell
53 //! 0 else
54 Standard_EXPORT Standard_Integer CaseNum (const Handle(Standard_Transient)& ent) const;
55
56 //! returns Value as a Edge (Null if another type)
57 Standard_EXPORT Handle(StepShape_Edge) Edge() const;
58
59 //! returns Value as a Path (Null if another type)
60 Standard_EXPORT Handle(StepShape_Path) Path() const;
61
62 //! returns Value as a Face (Null if another type)
63 Standard_EXPORT Handle(StepShape_Face) Face() const;
64
65 //! returns Value as a FaceBound (Null if another type)
66 Standard_EXPORT Handle(StepShape_FaceBound) FaceBound() const;
67
68 //! returns Value as a ClosedShell (Null if another type)
69 Standard_EXPORT Handle(StepShape_ClosedShell) ClosedShell() const;
70
71 //! returns Value as a OpenShell (Null if another type)
72 Standard_EXPORT Handle(StepShape_OpenShell) OpenShell() const;
73
74
75
76
77protected:
78
79
80
81
82
83private:
84
85
86
87
88
89};
90
91
92
93
94
95
96
97#endif // _StepShape_ReversibleTopologyItem_HeaderFile