summaryrefslogtreecommitdiff
path: root/src/StepVisual/StepVisual_PointStyle.cxx
blob: fc4914e546150ab3e5b35e02669d8600be364b66 (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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
#include <StepVisual_PointStyle.ixx>


StepVisual_PointStyle::StepVisual_PointStyle ()  {}

void StepVisual_PointStyle::Init(
	const Handle(TCollection_HAsciiString)& aName,
	const StepVisual_MarkerSelect& aMarker,
	const StepBasic_SizeSelect& aMarkerSize,
	const Handle(StepVisual_Colour)& aMarkerColour)
{
	// --- classe own fields ---
	name = aName;
	marker = aMarker;
	markerSize = aMarkerSize;
	markerColour = aMarkerColour;
}


void StepVisual_PointStyle::SetName(const Handle(TCollection_HAsciiString)& aName)
{
	name = aName;
}

Handle(TCollection_HAsciiString) StepVisual_PointStyle::Name() const
{
	return name;
}

void StepVisual_PointStyle::SetMarker(const StepVisual_MarkerSelect& aMarker)
{
	marker = aMarker;
}

StepVisual_MarkerSelect StepVisual_PointStyle::Marker() const
{
	return marker;
}

void StepVisual_PointStyle::SetMarkerSize(const StepBasic_SizeSelect& aMarkerSize)
{
	markerSize = aMarkerSize;
}

StepBasic_SizeSelect StepVisual_PointStyle::MarkerSize() const
{
	return markerSize;
}

void StepVisual_PointStyle::SetMarkerColour(const Handle(StepVisual_Colour)& aMarkerColour)
{
	markerColour = aMarkerColour;
}

Handle(StepVisual_Colour) StepVisual_PointStyle::MarkerColour() const
{
	return markerColour;
}