Integration of OCCT 6.5.0 from SVN
[occt.git] / src / StepVisual / StepVisual_PointStyle.cxx
CommitLineData
7fd59977 1#include <StepVisual_PointStyle.ixx>
2
3
4StepVisual_PointStyle::StepVisual_PointStyle () {}
5
6void StepVisual_PointStyle::Init(
7 const Handle(TCollection_HAsciiString)& aName,
8 const StepVisual_MarkerSelect& aMarker,
9 const StepBasic_SizeSelect& aMarkerSize,
10 const Handle(StepVisual_Colour)& aMarkerColour)
11{
12 // --- classe own fields ---
13 name = aName;
14 marker = aMarker;
15 markerSize = aMarkerSize;
16 markerColour = aMarkerColour;
17}
18
19
20void StepVisual_PointStyle::SetName(const Handle(TCollection_HAsciiString)& aName)
21{
22 name = aName;
23}
24
25Handle(TCollection_HAsciiString) StepVisual_PointStyle::Name() const
26{
27 return name;
28}
29
30void StepVisual_PointStyle::SetMarker(const StepVisual_MarkerSelect& aMarker)
31{
32 marker = aMarker;
33}
34
35StepVisual_MarkerSelect StepVisual_PointStyle::Marker() const
36{
37 return marker;
38}
39
40void StepVisual_PointStyle::SetMarkerSize(const StepBasic_SizeSelect& aMarkerSize)
41{
42 markerSize = aMarkerSize;
43}
44
45StepBasic_SizeSelect StepVisual_PointStyle::MarkerSize() const
46{
47 return markerSize;
48}
49
50void StepVisual_PointStyle::SetMarkerColour(const Handle(StepVisual_Colour)& aMarkerColour)
51{
52 markerColour = aMarkerColour;
53}
54
55Handle(StepVisual_Colour) StepVisual_PointStyle::MarkerColour() const
56{
57 return markerColour;
58}