@@ -32,43 +32,36 @@ void C3DMarkerSA::SetMatrix(CMatrix* pMatrix)
3232
3333void C3DMarkerSA::SetPosition (CVector* vecPosition)
3434{
35- DEBUG_TRACE (" VOID C3DMarkerSA::SetPosition(CVector * vecPosition)" );
3635 this ->GetInterface ()->m_mat .vPos = *vecPosition;
3736}
3837
3938CVector* C3DMarkerSA::GetPosition ()
4039{
41- DEBUG_TRACE (" CVector * C3DMarkerSA::GetPosition()" );
4240 return &this ->GetInterface ()->m_mat .vPos ;
4341}
4442
4543DWORD C3DMarkerSA::GetType ()
4644{
47- DEBUG_TRACE (" DWORD C3DMarkerSA::GetType()" );
4845 return this ->GetInterface ()->m_nType ;
4946}
5047
5148void C3DMarkerSA::SetType (DWORD dwType)
5249{
53- DEBUG_TRACE (" VOID C3DMarkerSA::SetType(DWORD dwType)" );
5450 this ->GetInterface ()->m_nType = (unsigned short )(dwType);
5551}
5652
57- BOOL C3DMarkerSA::IsActive ()
53+ bool C3DMarkerSA::IsActive ()
5854{
59- DEBUG_TRACE (" BOOL C3DMarkerSA::IsActive()" );
60- return (BOOL)this ->GetInterface ()->m_bIsUsed ;
55+ return this ->GetInterface ()->m_bIsUsed ;
6156}
6257
6358DWORD C3DMarkerSA::GetIdentifier ()
6459{
65- DEBUG_TRACE (" DWORD C3DMarkerSA::GetIdentifier()" );
6660 return this ->GetInterface ()->m_nIdentifier ;
6761}
6862
6963SharedUtil::SColor C3DMarkerSA::GetColor ()
7064{
71- DEBUG_TRACE (" RGBA C3DMarkerSA::GetColor()" );
7265 // From ABGR
7366 unsigned long ulABGR = this ->GetInterface ()->rwColour ;
7467 SharedUtil::SColor color;
@@ -87,61 +80,51 @@ void C3DMarkerSA::SetColor(const SharedUtil::SColor color)
8780
8881void C3DMarkerSA::SetPulsePeriod (WORD wPulsePeriod)
8982{
90- DEBUG_TRACE (" VOID C3DMarkerSA::SetPulsePeriod(WORD wPulsePeriod)" );
9183 this ->GetInterface ()->m_nPulsePeriod = wPulsePeriod;
9284}
9385
9486void C3DMarkerSA::SetRotateRate (short RotateRate)
9587{
96- DEBUG_TRACE (" VOID C3DMarkerSA::SetRotateRate(short RotateRate)" );
9788 this ->GetInterface ()->m_nRotateRate = RotateRate;
9889}
9990
10091float C3DMarkerSA::GetSize ()
10192{
102- DEBUG_TRACE (" FLOAT C3DMarkerSA::GetSize()" );
10393 return this ->GetInterface ()->m_fSize ;
10494}
10595
10696void C3DMarkerSA::SetSize (float fSize )
10797{
108- DEBUG_TRACE (" VOID C3DMarkerSA::SetSize(FLOAT fSize)" );
10998 this ->GetInterface ()->m_fSize = fSize ;
11099}
111100
112101float C3DMarkerSA::GetBrightness ()
113102{
114- DEBUG_TRACE (" FLOAT C3DMarkerSA::GetBrightness()" );
115103 return this ->GetInterface ()->m_fBrightness ;
116104}
117105
118106void C3DMarkerSA::SetBrightness (float fBrightness )
119107{
120- DEBUG_TRACE (" VOID C3DMarkerSA::SetBrightness(FLOAT fBrightness)" );
121108 this ->GetInterface ()->m_fBrightness = fBrightness ;
122109}
123110
124111void C3DMarkerSA::SetCameraRange (float fCameraRange )
125112{
126- DEBUG_TRACE (" VOID C3DMarkerSA::SetCameraRange(FLOAT fCameraRange)" );
127113 this ->GetInterface ()->m_fCameraRange = fCameraRange ;
128114}
129115
130116void C3DMarkerSA::SetPulseFraction (float fPulseFraction )
131117{
132- DEBUG_TRACE (" VOID C3DMarkerSA::SetPulseFraction(FLOAT fPulseFraction)" );
133118 this ->GetInterface ()->m_fPulseFraction = fPulseFraction ;
134119}
135120
136121float C3DMarkerSA::GetPulseFraction ()
137122{
138- DEBUG_TRACE (" FLOAT C3DMarkerSA::GetPulseFraction()" );
139123 return this ->GetInterface ()->m_fPulseFraction ;
140124}
141125
142126void C3DMarkerSA::Disable ()
143127{
144- DEBUG_TRACE (" VOID C3DMarkerSA::Disable ()" );
145128 this ->GetInterface ()->m_nIdentifier = 0 ;
146129}
147130
@@ -156,12 +139,6 @@ void C3DMarkerSA::DeleteMarkerObject()
156139 mov ecx, dwThis
157140 call dwFunc
158141 }
159-
160- // OutputDebugString ( "Object destroyed!" );
161- }
162- else
163- {
164- // OutputDebugString ( "No object to destroy!" );
165142 }
166143}
167144
0 commit comments