0030686: Visualization, SelectMgr_ViewerSelector - sorting issues of transformation...
[occt.git] / src / StepVisual / StepVisual_PresentationStyleSelect.hxx
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 _StepVisual_PresentationStyleSelect_HeaderFile
18 #define _StepVisual_PresentationStyleSelect_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 StepVisual_PointStyle;
28 class StepVisual_CurveStyle;
29 class StepVisual_NullStyleMember;
30 class StepVisual_SurfaceStyleUsage;
31
32
33
34 class StepVisual_PresentationStyleSelect  : public StepData_SelectType
35 {
36 public:
37
38   DEFINE_STANDARD_ALLOC
39
40   
41   //! Returns a PresentationStyleSelect SelectType
42   Standard_EXPORT StepVisual_PresentationStyleSelect();
43   
44   //! Recognizes a PresentationStyleSelect Kind Entity that is :
45   //! 1 -> PointStyle
46   //! 2 -> CurveStyle
47   //! 3 -> SurfaceStyleUsage
48   //! 4 -> SymbolStyle
49   //! 5 -> FillAreaStyle
50   //! 6 -> TextStyle
51   //! 7 -> NullStyle
52   //! 0 else
53   Standard_EXPORT Standard_Integer CaseNum (const Handle(Standard_Transient)& ent) const;
54   
55   //! returns Value as a PointStyle (Null if another type)
56   Standard_EXPORT Handle(StepVisual_PointStyle) PointStyle() const;
57   
58   //! returns Value as a CurveStyle (Null if another type)
59   Standard_EXPORT Handle(StepVisual_CurveStyle) CurveStyle() const;
60
61   //! returns Value as a NullStyleMember (Null if another type)
62   Standard_EXPORT Handle(StepVisual_NullStyleMember) NullStyle() const;
63   
64   //! returns Value as a SurfaceStyleUsage (Null if another type)
65   Standard_EXPORT Handle(StepVisual_SurfaceStyleUsage) SurfaceStyleUsage() const;
66
67
68
69
70 protected:
71
72
73
74
75
76 private:
77
78
79
80
81
82 };
83
84
85
86
87
88
89
90 #endif // _StepVisual_PresentationStyleSelect_HeaderFile