0028315: Data Exchange - Import/Export GD&Ts without semantic
[occt.git] / src / StepVisual / StepVisual_AnnotationFillAreaOccurrence.hxx
CommitLineData
1209c1b9 1// Created on: 2016-12-28
2// Created by: Irina KRYLOVA
3// Copyright (c) 2016 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 _StepVisual_AnnotationFillAreaOccurrence_HeaderFile
17#define _StepVisual_AnnotationFillAreaOccurrence_HeaderFile
18
19#include <Standard.hxx>
20#include <Standard_Type.hxx>
21
22#include <StepVisual_AnnotationOccurrence.hxx>
23
24class StepVisual_AnnotationFillAreaOccurrence;
25DEFINE_STANDARD_HANDLE(StepVisual_AnnotationFillAreaOccurrence, StepVisual_AnnotationOccurrence)
26
27class StepVisual_AnnotationFillAreaOccurrence : public StepVisual_AnnotationOccurrence
28{
29public:
30
31 //! Returns a AnnotationFillAreaOccurrence
32 Standard_EXPORT StepVisual_AnnotationFillAreaOccurrence();
33
34 //! Initialize all fields (own and inherited)
35 Standard_EXPORT void Init (const Handle(TCollection_HAsciiString)& theName,
36 const Handle(StepVisual_HArray1OfPresentationStyleAssignment)& theStyles,
37 const Handle(MMgt_TShared)& theItem,
38 const Handle(StepGeom_GeometricRepresentationItem)& theFillStyleTarget);
39
40 //! Returns field fill_style_target
41 Standard_EXPORT Handle(StepGeom_GeometricRepresentationItem) FillStyleTarget() const
42 {
43 return myFillStyleTarget;
44 }
45
46 //! Set field fill_style_target
47 Standard_EXPORT void SetFillStyleTarget (const Handle(StepGeom_GeometricRepresentationItem)& theTarget)
48 {
49 myFillStyleTarget = theTarget;
50 }
51
52 DEFINE_STANDARD_RTTIEXT(StepVisual_AnnotationFillAreaOccurrence, StepVisual_AnnotationOccurrence)
53
54private:
55 Handle(StepGeom_GeometricRepresentationItem) myFillStyleTarget;
56};
57#endif // _StepVisual_AnnotationFillAreaOccurrence_HeaderFile