Integration of OCCT 6.5.0 from SVN
[occt.git] / src / StepVisual / StepVisual_ContextDependentInvisibility.cxx
CommitLineData
7fd59977 1#include <StepVisual_ContextDependentInvisibility.ixx>
2
3
4StepVisual_ContextDependentInvisibility::StepVisual_ContextDependentInvisibility () {}
5
6void StepVisual_ContextDependentInvisibility::Init(
7 const Handle(StepVisual_HArray1OfInvisibleItem)& aInvisibleItems)
8{
9
10 StepVisual_Invisibility::Init(aInvisibleItems);
11}
12
13void StepVisual_ContextDependentInvisibility::Init(
14 const Handle(StepVisual_HArray1OfInvisibleItem)& aInvisibleItems,
15 const StepVisual_InvisibilityContext& aPresentationContext)
16{
17 // --- classe own fields ---
18 presentationContext = aPresentationContext;
19 // --- classe inherited fields ---
20 StepVisual_Invisibility::Init(aInvisibleItems);
21}
22
23
24void StepVisual_ContextDependentInvisibility::SetPresentationContext(const StepVisual_InvisibilityContext& aPresentationContext)
25{
26 presentationContext = aPresentationContext;
27}
28
29StepVisual_InvisibilityContext StepVisual_ContextDependentInvisibility::PresentationContext() const
30{
31 return presentationContext;
32}