00001
00054 #if !defined(_CIGI_VIEW_DEF_V3_INCLUDED_)
00055 #define _CIGI_VIEW_DEF_V3_INCLUDED_
00056
00057 #include "CigiBaseViewDef.h"
00058
00059
00060
00061 class CIGI_SPEC CigiViewDefV3 : public CigiBaseViewDef
00062 {
00063
00064 public:
00065
00066
00067
00068
00071 CigiViewDefV3();
00072
00073
00076 virtual ~CigiViewDefV3();
00077
00078
00079
00080
00081
00092 virtual int Pack(CigiBasePacket * Base, Cigi_uint8 * Buff, void *Spec) const;
00093
00094
00104 virtual int Unpack(Cigi_uint8 * Buff, bool Swap, void *Spec);
00105
00106
00107
00108
00109
00110
00111
00112
00119 int SetViewID(const Cigi_uint16 ViewIDIn, bool bndchk=true)
00120 {
00121 ViewID = ViewIDIn;
00122 return(CIGI_SUCCESS);
00123 }
00124
00125
00128 Cigi_uint16 GetViewID(void) const { return(ViewID); }
00129
00130
00131
00132
00133
00140 int SetGroupID(const Cigi_uint8 GroupIDIn, bool bndchk=true)
00141 {
00142 GroupID = GroupIDIn;
00143 return(CIGI_SUCCESS);
00144 }
00145
00146
00149 Cigi_uint8 GetGroupID(void) const { return(GroupID); }
00150
00151
00152
00153
00154
00162 int SetFOVNearEn(const bool FOVNearEnIn, bool bndchk=true)
00163 {
00164 FOVNearEn = FOVNearEnIn;
00165 return(CIGI_SUCCESS);
00166 }
00167
00168
00171 bool GetFOVNearEn(void) const { return(FOVNearEn); }
00172
00173
00174
00175
00176
00184 int SetFOVFarEn(const bool FOVFarEnIn, bool bndchk=true)
00185 {
00186 FOVFarEn = FOVFarEnIn;
00187 return(CIGI_SUCCESS);
00188 }
00189
00190
00193 bool GetFOVFarEn(void) const { return(FOVFarEn); }
00194
00195
00196
00197
00198
00206 int SetFOVLeftEn(const bool FOVLeftEnIn, bool bndchk=true)
00207 {
00208 FOVLeftEn = FOVLeftEnIn;
00209 return(CIGI_SUCCESS);
00210 }
00211
00212
00215 bool GetFOVLeftEn(void) const { return(FOVLeftEn); }
00216
00217
00218
00219
00220
00228 int SetFOVRightEn(const bool FOVRightEnIn, bool bndchk=true)
00229 {
00230 FOVRightEn = FOVRightEnIn;
00231 return(CIGI_SUCCESS);
00232 }
00233
00234
00237 bool GetFOVRightEn(void) const { return(FOVRightEn); }
00238
00239
00240
00241
00242
00250 int SetFOVTopEn(const bool FOVTopEnIn, bool bndchk=true)
00251 {
00252 FOVTopEn = FOVTopEnIn;
00253 return(CIGI_SUCCESS);
00254 }
00255
00256
00259 bool GetFOVTopEn(void) const { return(FOVTopEn); }
00260
00261
00262
00263
00264
00272 int SetFOVBottomEn(const bool FOVBottomEnIn, bool bndchk=true)
00273 {
00274 FOVBottomEn = FOVBottomEnIn;
00275 return(CIGI_SUCCESS);
00276 }
00277
00278
00281 bool GetFOVBottomEn(void) const { return(FOVBottomEn); }
00282
00283
00284
00285
00286
00295 int SetProjectionType(const ProjectionTypeGrp ProjectionTypeIn, bool bndchk=true);
00296
00297
00300 ProjectionTypeGrp GetProjectionType(void) const { return(ProjectionType); }
00301
00302
00303
00304
00305
00313 int SetReorder(const bool ReorderIn, bool bndchk=true)
00314 {
00315 Reorder = ReorderIn;
00316 return(CIGI_SUCCESS);
00317 }
00318
00319
00322 bool GetReorder(void) const { return(Reorder); }
00323
00324 };
00325
00326 #endif // #if !defined(_CIGI_VIEW_DEF_V3_INCLUDED_)