00001
00052 #if !defined(_CIGI_LOS_XRESP_V3_2_INCLUDED_)
00053 #define _CIGI_LOS_XRESP_V3_2_INCLUDED_
00054
00055 #include "CigiBaseLosResp.h"
00056
00057
00058
00059 class CIGI_SPEC CigiLosXRespV3_2 : public CigiBaseLosResp
00060 {
00061
00062 public:
00063
00064
00065
00066
00069 CigiLosXRespV3_2();
00070
00071
00074 virtual ~CigiLosXRespV3_2();
00075
00076
00077
00078
00079
00090 virtual int Pack(CigiBasePacket * Base, Cigi_uint8 * Buff, void *Spec) const;
00091
00092
00102 virtual int Unpack(Cigi_uint8 * Buff, bool Swap, void *Spec);
00103
00104
00116 virtual int GetCnvt(CigiVersionID &CnvtVersion,
00117 CigiCnvtInfoType::Type &CnvtInfo);
00118
00119
00120
00121
00122
00123
00124
00125
00133 int SetEntityIDValid(const bool EntityIDValidIn, bool bndchk=true)
00134 {
00135 EntityIDValid = EntityIDValidIn;
00136
00137 if(EntityIDValidIn)
00138 {
00139 ValidV1or2 = false;
00140 IntersectionCoordSys = Entity;
00141 }
00142 else
00143 {
00144 ValidV1or2 = true;
00145 IntersectionCoordSys = Geodetic;
00146 }
00147
00148 return(CIGI_SUCCESS);
00149 }
00150
00151
00154 bool GetEntityIDValid(void) const { return(EntityIDValid); }
00155
00156
00157
00158
00159
00167 int SetRangeValid(const bool RangeValidIn, bool bndchk=true)
00168 {
00169 RangeValid = RangeValidIn;
00170 return(CIGI_SUCCESS);
00171 }
00172
00173
00176 bool GetRangeValid(void) const { return(RangeValid); }
00177
00178
00179
00180
00181
00189 int SetHostFrame(const Cigi_uint8 HostFrameIn, bool bndchk=true)
00190 {
00191 HostFrame = HostFrameIn;
00192 return(CIGI_SUCCESS);
00193 }
00194
00195
00198 Cigi_uint8 GetHostFrame(void) const { return(HostFrame); }
00199
00200
00201
00202
00203
00210 int SetRespCount(const Cigi_uint8 RespCountIn, bool bndchk=true)
00211 {
00212 RespCount = RespCountIn;
00213 return(CIGI_SUCCESS);
00214 }
00215
00216
00219 Cigi_uint8 GetRespCount(void) const { return(RespCount); }
00220
00221
00222
00223
00224
00231 int SetEntityID(const Cigi_uint16 EntityIDIn, bool bndchk=true)
00232 {
00233 EntityID = EntityIDIn;
00234 return(CIGI_SUCCESS);
00235 }
00236
00237
00240 Cigi_uint16 GetEntityID(void) const { return(EntityID); }
00241
00242
00243
00244
00245
00253 int SetXoff(const double XoffIn, bool bndchk=true)
00254 {
00255 LatOrXoff = XoffIn;
00256 return(CIGI_SUCCESS);
00257 }
00258
00259
00262 double GetXoff(void) const { return(LatOrXoff); }
00263
00264
00265
00266
00267
00275 int SetYoff(const double YoffIn, bool bndchk=true)
00276 {
00277 LonOrYoff = YoffIn;
00278 return(CIGI_SUCCESS);
00279 }
00280
00281
00284 double GetYoff(void) const { return(LonOrYoff); }
00285
00286
00287
00288
00289
00297 int SetZoff(const double ZoffIn, bool bndchk=true)
00298 {
00299 AltOrZoff = ZoffIn;
00300 return(CIGI_SUCCESS);
00301 }
00302
00303
00306 double GetZoff(void) const { return(AltOrZoff); }
00307
00308
00309
00310
00311
00319 int SetRed(const Cigi_uint8 RedIn, bool bndchk=true)
00320 {
00321 Red = RedIn;
00322 return(CIGI_SUCCESS);
00323 }
00324
00325
00328 Cigi_uint8 GetRed(void) const { return(Red); }
00329
00330
00331
00332
00333
00341 int SetGreen(const Cigi_uint8 GreenIn, bool bndchk=true)
00342 {
00343 Green = GreenIn;
00344 return(CIGI_SUCCESS);
00345 }
00346
00347
00350 Cigi_uint8 GetGreen(void) const { return(Green); }
00351
00352
00353
00354
00355
00363 int SetBlue(const Cigi_uint8 BlueIn, bool bndchk=true)
00364 {
00365 Blue = BlueIn;
00366 return(CIGI_SUCCESS);
00367 }
00368
00369
00372 Cigi_uint8 GetBlue(void) const { return(Blue); }
00373
00374
00375
00376
00377
00385 int SetAlpha(const Cigi_uint8 AlphaIn, bool bndchk=true)
00386 {
00387 Alpha = AlphaIn;
00388 return(CIGI_SUCCESS);
00389 }
00390
00391
00394 Cigi_uint8 GetAlpha(void) const { return(Alpha); }
00395
00396
00397
00398
00399
00406 int SetMaterial(const Cigi_uint32 MaterialIn, bool bndchk=true)
00407 {
00408 Material = MaterialIn;
00409 return(CIGI_SUCCESS);
00410 }
00411
00412
00415 Cigi_uint32 GetMaterial(void) const { return(Material); }
00416
00417
00418
00419
00420
00428 int SetNormalAz(const float NormalAzIn, bool bndchk=true);
00429
00430
00433 float GetNormalAz(void) const { return(NormalAz); }
00434
00435
00436
00437
00438
00446 int SetNormalEl(const float NormalElIn, bool bndchk=true);
00447
00448
00451 float GetNormalEl(void) const { return(NormalEl); }
00452
00453
00454
00455 };
00456
00457 #endif // #if !defined(_CIGI_LOS_XRESP_V3_2_INCLUDED_)