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 _StepAP214_AutoDesignGroupedItem_HeaderFile |
18 | #define _StepAP214_AutoDesignGroupedItem_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> |
26 | class Standard_Transient; |
27 | class StepShape_AdvancedBrepShapeRepresentation; |
28 | class StepShape_CsgShapeRepresentation; |
29 | class StepShape_FacetedBrepShapeRepresentation; |
30 | class StepShape_GeometricallyBoundedSurfaceShapeRepresentation; |
31 | class StepShape_GeometricallyBoundedWireframeShapeRepresentation; |
32 | class StepShape_ManifoldSurfaceShapeRepresentation; |
33 | class StepRepr_Representation; |
34 | class StepRepr_RepresentationItem; |
35 | class StepRepr_ShapeAspect; |
36 | class StepShape_ShapeRepresentation; |
37 | class StepVisual_TemplateInstance; |
38 | |
39 | |
40 | |
41 | class StepAP214_AutoDesignGroupedItem : public StepData_SelectType |
42 | { |
43 | public: |
44 | |
45 | DEFINE_STANDARD_ALLOC |
46 | |
47 | |
48 | //! Returns a AutoDesignGroupedItem SelectType |
49 | Standard_EXPORT StepAP214_AutoDesignGroupedItem(); |
50 | |
51 | //! Recognizes a AutoDesignGroupedItem Kind Entity that is : |
52 | //! 1 -> AdvancedBrepShapeRepresentation |
53 | //! 2 -> CsgShapeRepresentation |
54 | //! 3 -> FacetedBrepShapeRepresentation |
55 | //! 4 -> GeometricallyBoundedSurfaceShapeRepresentation |
56 | //! 5 -> GeometricallyBoundedWireframeShapeRepresentation |
57 | //! 6 -> ManifoldSurfaceShapeRepresentation |
58 | //! 7 -> Representation |
59 | //! 8 -> RepresentationItem |
60 | //! 9 -> ShapeAspect |
61 | //! 10 -> ShapeRepresentation |
62 | //! 11 -> TemplateInstance |
63 | //! 0 else |
64 | Standard_EXPORT Standard_Integer CaseNum (const Handle(Standard_Transient)& ent) const; |
65 | |
66 | //! returns Value as a AdvancedBrepShapeRepresentation (Null if another type) |
67 | Standard_EXPORT Handle(StepShape_AdvancedBrepShapeRepresentation) AdvancedBrepShapeRepresentation() const; |
68 | |
69 | //! returns Value as a CsgShapeRepresentation (Null if another type) |
70 | Standard_EXPORT Handle(StepShape_CsgShapeRepresentation) CsgShapeRepresentation() const; |
71 | |
72 | //! returns Value as a FacetedBrepShapeRepresentation (Null if another type) |
73 | Standard_EXPORT Handle(StepShape_FacetedBrepShapeRepresentation) FacetedBrepShapeRepresentation() const; |
74 | |
75 | //! returns Value as a GeometricallyBoundedSurfaceShapeRepresentation (Null if another type) |
76 | Standard_EXPORT Handle(StepShape_GeometricallyBoundedSurfaceShapeRepresentation) GeometricallyBoundedSurfaceShapeRepresentation() const; |
77 | |
78 | //! returns Value as a GeometricallyBoundedWireframeShapeRepresentation (Null if another type) |
79 | Standard_EXPORT Handle(StepShape_GeometricallyBoundedWireframeShapeRepresentation) GeometricallyBoundedWireframeShapeRepresentation() const; |
80 | |
81 | //! returns Value as a ManifoldSurfaceShapeRepresentation (Null if another type) |
82 | Standard_EXPORT Handle(StepShape_ManifoldSurfaceShapeRepresentation) ManifoldSurfaceShapeRepresentation() const; |
83 | |
84 | //! returns Value as a Representation (Null if another type) |
85 | Standard_EXPORT Handle(StepRepr_Representation) Representation() const; |
86 | |
87 | //! returns Value as a RepresentationItem (Null if another type) |
88 | Standard_EXPORT Handle(StepRepr_RepresentationItem) RepresentationItem() const; |
89 | |
90 | //! returns Value as a ShapeAspect (Null if another type) |
91 | Standard_EXPORT Handle(StepRepr_ShapeAspect) ShapeAspect() const; |
92 | |
93 | //! returns Value as a ShapeRepresentation (Null if another type) |
94 | Standard_EXPORT Handle(StepShape_ShapeRepresentation) ShapeRepresentation() const; |
95 | |
96 | //! returns Value as a TemplateInstance (Null if another type) |
97 | Standard_EXPORT Handle(StepVisual_TemplateInstance) TemplateInstance() const; |
98 | |
99 | |
100 | |
101 | |
102 | protected: |
103 | |
104 | |
105 | |
106 | |
107 | |
108 | private: |
109 | |
110 | |
111 | |
112 | |
113 | |
114 | }; |
115 | |
116 | |
117 | |
118 | |
119 | |
120 | |
121 | |
122 | #endif // _StepAP214_AutoDesignGroupedItem_HeaderFile |