0022627: Change OCCT memory management defaults
[occt.git] / src / PPrsStd / PPrsStd_AISPresentation.cxx
CommitLineData
7fd59977 1// File: PPrsStd_AISPresentation.cxx
2// Created: Thu Jul 8 16:40:40 1999
3// Author: srn
4
5
6#include <PPrsStd_AISPresentation.ixx>
7
8
9//=======================================================================
10//function : PPrsStd_AISPresentation
11//purpose :
12//=======================================================================
13
14PPrsStd_AISPresentation::PPrsStd_AISPresentation()
15{}
16
17
18//=======================================================================
19//function : SetDisplayed
20//purpose :
21//=======================================================================
22
23void PPrsStd_AISPresentation::SetDisplayed (const Standard_Boolean B)
24{
25 myIsDisplayed = B ;
26}
27
28//=======================================================================
29//function : IsDisplayed
30//purpose :
31//=======================================================================
32
33Standard_Boolean PPrsStd_AISPresentation::IsDisplayed() const
34{
35 return myIsDisplayed;
36}
37
38
39//=======================================================================
40//function : SetDriverGUID
41//purpose :
42//=======================================================================
43void PPrsStd_AISPresentation::SetDriverGUID( const Handle(PCollection_HExtendedString)& guid)
44{
45 myDriverGUID = guid;
46}
47
48//=======================================================================
49//function : GetDriverGUID
50//purpose :
51//=======================================================================
52Handle(PCollection_HExtendedString) PPrsStd_AISPresentation::GetDriverGUID( void ) const
53{
54 return myDriverGUID;
55}
56
57//=======================================================================
58//function : Color
59//purpose :
60//=======================================================================
61Standard_Integer PPrsStd_AISPresentation::Color() const
62{
63 return myColor;
64}
65
66//=======================================================================
67//function : SetColor
68//purpose :
69//=======================================================================
70void PPrsStd_AISPresentation::SetColor(const Standard_Integer C)
71{
72 myColor = C;
73}
74
75//=======================================================================
76//function : Transparency
77//purpose :
78//=======================================================================
79Standard_Real PPrsStd_AISPresentation::Transparency() const
80{
81 return myTransparency;
82}
83
84//=======================================================================
85//function : SetTransparency
86//purpose :
87//=======================================================================
88void PPrsStd_AISPresentation::SetTransparency(const Standard_Real T)
89{
90 myTransparency = T;
91}
92
93//=======================================================================
94//function : Material
95//purpose :
96//=======================================================================
97Standard_Integer PPrsStd_AISPresentation::Material() const
98{
99 return myMaterial;
100}
101
102//=======================================================================
103//function : SetMaterial
104//purpose :
105//=======================================================================
106void PPrsStd_AISPresentation::SetMaterial(const Standard_Integer M)
107{
108 myMaterial = M;
109}
110
111//=======================================================================
112//function : Width
113//purpose :
114//=======================================================================
115Standard_Real PPrsStd_AISPresentation::Width() const
116{
117 return myWidth;
118}
119
120//=======================================================================
121//function : SetWidth
122//purpose :
123//=======================================================================
124void PPrsStd_AISPresentation::SetWidth(const Standard_Real W)
125{
126 myWidth = W;
127}
128