0028832: MMgt_TShared can be replaced by Standard_Transient
[occt.git] / src / StepVisual / StepVisual_AnnotationFillAreaOccurrence.cxx
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#include <Standard_Type.hxx>
17#include <StepVisual_AnnotationFillAreaOccurrence.hxx>
18
19IMPLEMENT_STANDARD_RTTIEXT(StepVisual_AnnotationFillAreaOccurrence, StepVisual_AnnotationOccurrence)
20
21//=======================================================================
22//function : StepVisual_AnnotationFillAreaOccurrence
23//purpose :
24//=======================================================================
25StepVisual_AnnotationFillAreaOccurrence::StepVisual_AnnotationFillAreaOccurrence () {}
26
27//=======================================================================
28//function : Init
29//purpose :
30//=======================================================================
31void StepVisual_AnnotationFillAreaOccurrence::Init(const Handle(TCollection_HAsciiString)& theName,
32 const Handle(StepVisual_HArray1OfPresentationStyleAssignment)& theStyles,
25e59720 33 const Handle(Standard_Transient)& theItem,
1209c1b9 34 const Handle(StepGeom_GeometricRepresentationItem)& theFillStyleTarget)
35{
36 StepVisual_AnnotationOccurrence::Init(theName, theStyles, theItem);
37 myFillStyleTarget = theFillStyleTarget;
38}