summaryrefslogtreecommitdiff
path: root/src/StepVisual/StepVisual_Invisibility.cxx
blob: 79de65771643b9beaa6ead49e9e4db7ff498b651 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#include <StepVisual_Invisibility.ixx>


StepVisual_Invisibility::StepVisual_Invisibility ()  {}

void StepVisual_Invisibility::Init(
	const Handle(StepVisual_HArray1OfInvisibleItem)& aInvisibleItems)
{
	// --- classe own fields ---
	invisibleItems = aInvisibleItems;
}


void StepVisual_Invisibility::SetInvisibleItems(const Handle(StepVisual_HArray1OfInvisibleItem)& aInvisibleItems)
{
	invisibleItems = aInvisibleItems;
}

Handle(StepVisual_HArray1OfInvisibleItem) StepVisual_Invisibility::InvisibleItems() const
{
	return invisibleItems;
}

StepVisual_InvisibleItem StepVisual_Invisibility::InvisibleItemsValue(const Standard_Integer num) const
{
	return invisibleItems->Value(num);
}

Standard_Integer StepVisual_Invisibility::NbInvisibleItems () const
{
	return invisibleItems->Length();
}