00001 /*---------------------------------------------------------------------------*\ 00002 * OpenSG * 00003 * * 00004 * * 00005 * Copyright (C) 2000-2002 by the OpenSG Forum * 00006 * * 00007 * contact: dirk@opensg.org, gerrit.voss@vossg.org, jbehr@zgdv.de * 00008 * * 00009 \*---------------------------------------------------------------------------*/ 00010 /*---------------------------------------------------------------------------*\ 00011 * License * 00012 * * 00013 * This library is free software; you can redistribute it and/or modify it * 00014 * under the terms of the GNU Library General Public License as published * 00015 * by the Free Software Foundation, version 2. * 00016 * * 00017 * This library is distributed in the hope that it will be useful, but * 00018 * WITHOUT ANY WARRANTY; without even the implied warranty of * 00019 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * 00020 * Library General Public License for more details. * 00021 * * 00022 * You should have received a copy of the GNU Library General Public * 00023 * License along with this library; if not, write to the Free Software * 00024 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * 00025 * * 00026 \*---------------------------------------------------------------------------*/ 00027 /*---------------------------------------------------------------------------*\ 00028 * Changes * 00029 * * 00030 * * 00031 * * 00032 * * 00033 * * 00034 * * 00035 \*---------------------------------------------------------------------------*/ 00036 00037 /*****************************************************************************\ 00038 ***************************************************************************** 00039 ** ** 00040 ** This file is automatically generated. ** 00041 ** ** 00042 ** Any changes made to this file WILL be lost when it is ** 00043 ** regenerated, which can become necessary at any time. ** 00044 ** ** 00045 ** Do not change this file, changes should be done in the derived ** 00046 ** class DVRLookupTable! 00047 ** ** 00048 ***************************************************************************** 00049 \*****************************************************************************/ 00050 00051 #include <OSGConfig.h> 00052 00053 OSG_BEGIN_NAMESPACE 00054 00055 00057 inline 00058 OSG::FieldContainerType &DVRLookupTableBase::getClassType(void) 00059 { 00060 return _type; 00061 } 00062 00064 inline 00065 OSG::UInt32 DVRLookupTableBase::getClassTypeId(void) 00066 { 00067 return _type.getId(); 00068 } 00069 00071 inline 00072 DVRLookupTablePtr DVRLookupTableBase::create(void) 00073 { 00074 DVRLookupTablePtr fc; 00075 00076 if(getClassType().getPrototype() != OSG::NullFC) 00077 { 00078 fc = DVRLookupTablePtr::dcast( 00079 getClassType().getPrototype()-> shallowCopy()); 00080 } 00081 00082 return fc; 00083 } 00084 00086 inline 00087 DVRLookupTablePtr DVRLookupTableBase::createEmpty(void) 00088 { 00089 DVRLookupTablePtr returnValue; 00090 00091 newPtr(returnValue); 00092 00093 return returnValue; 00094 } 00095 00096 00097 /*------------------------------ get -----------------------------------*/ 00098 00100 inline 00101 SFUInt8 *DVRLookupTableBase::getSFDimension(void) 00102 { 00103 return &_sfDimension; 00104 } 00105 00107 inline 00108 MFUInt32 *DVRLookupTableBase::getMFSize(void) 00109 { 00110 return &_mfSize; 00111 } 00112 00114 inline 00115 SFUInt8 *DVRLookupTableBase::getSFChannel(void) 00116 { 00117 return &_sfChannel; 00118 } 00119 00121 inline 00122 MFUInt8 *DVRLookupTableBase::getMFData(void) 00123 { 00124 return &_mfData; 00125 } 00126 00128 inline 00129 MFReal32 *DVRLookupTableBase::getMFDataR(void) 00130 { 00131 return &_mfDataR; 00132 } 00133 00135 inline 00136 MFReal32 *DVRLookupTableBase::getMFDataG(void) 00137 { 00138 return &_mfDataG; 00139 } 00140 00142 inline 00143 MFReal32 *DVRLookupTableBase::getMFDataB(void) 00144 { 00145 return &_mfDataB; 00146 } 00147 00149 inline 00150 MFReal32 *DVRLookupTableBase::getMFDataA(void) 00151 { 00152 return &_mfDataA; 00153 } 00154 00156 inline 00157 SFBool *DVRLookupTableBase::getSFTouched(void) 00158 { 00159 return &_sfTouched; 00160 } 00161 00162 00164 inline 00165 UInt8 &DVRLookupTableBase::getDimension(void) 00166 { 00167 return _sfDimension.getValue(); 00168 } 00169 00171 inline 00172 const UInt8 &DVRLookupTableBase::getDimension(void) const 00173 { 00174 return _sfDimension.getValue(); 00175 } 00176 00178 inline 00179 void DVRLookupTableBase::setDimension(const UInt8 &value) 00180 { 00181 _sfDimension.setValue(value); 00182 } 00183 00185 inline 00186 UInt8 &DVRLookupTableBase::getChannel(void) 00187 { 00188 return _sfChannel.getValue(); 00189 } 00190 00192 inline 00193 const UInt8 &DVRLookupTableBase::getChannel(void) const 00194 { 00195 return _sfChannel.getValue(); 00196 } 00197 00199 inline 00200 void DVRLookupTableBase::setChannel(const UInt8 &value) 00201 { 00202 _sfChannel.setValue(value); 00203 } 00204 00206 inline 00207 bool &DVRLookupTableBase::getTouched(void) 00208 { 00209 return _sfTouched.getValue(); 00210 } 00211 00213 inline 00214 const bool &DVRLookupTableBase::getTouched(void) const 00215 { 00216 return _sfTouched.getValue(); 00217 } 00218 00220 inline 00221 void DVRLookupTableBase::setTouched(const bool &value) 00222 { 00223 _sfTouched.setValue(value); 00224 } 00225 00226 00228 inline 00229 UInt32 &DVRLookupTableBase::getSize(const UInt32 index) 00230 { 00231 return _mfSize[index]; 00232 } 00233 00235 inline 00236 MFUInt32 &DVRLookupTableBase::getSize(void) 00237 { 00238 return _mfSize; 00239 } 00240 00242 inline 00243 const MFUInt32 &DVRLookupTableBase::getSize(void) const 00244 { 00245 return _mfSize; 00246 } 00247 00249 inline 00250 UInt8 &DVRLookupTableBase::getData(const UInt32 index) 00251 { 00252 return _mfData[index]; 00253 } 00254 00256 inline 00257 MFUInt8 &DVRLookupTableBase::getData(void) 00258 { 00259 return _mfData; 00260 } 00261 00263 inline 00264 const MFUInt8 &DVRLookupTableBase::getData(void) const 00265 { 00266 return _mfData; 00267 } 00268 00270 inline 00271 Real32 &DVRLookupTableBase::getDataR(const UInt32 index) 00272 { 00273 return _mfDataR[index]; 00274 } 00275 00277 inline 00278 MFReal32 &DVRLookupTableBase::getDataR(void) 00279 { 00280 return _mfDataR; 00281 } 00282 00284 inline 00285 const MFReal32 &DVRLookupTableBase::getDataR(void) const 00286 { 00287 return _mfDataR; 00288 } 00289 00291 inline 00292 Real32 &DVRLookupTableBase::getDataG(const UInt32 index) 00293 { 00294 return _mfDataG[index]; 00295 } 00296 00298 inline 00299 MFReal32 &DVRLookupTableBase::getDataG(void) 00300 { 00301 return _mfDataG; 00302 } 00303 00305 inline 00306 const MFReal32 &DVRLookupTableBase::getDataG(void) const 00307 { 00308 return _mfDataG; 00309 } 00310 00312 inline 00313 Real32 &DVRLookupTableBase::getDataB(const UInt32 index) 00314 { 00315 return _mfDataB[index]; 00316 } 00317 00319 inline 00320 MFReal32 &DVRLookupTableBase::getDataB(void) 00321 { 00322 return _mfDataB; 00323 } 00324 00326 inline 00327 const MFReal32 &DVRLookupTableBase::getDataB(void) const 00328 { 00329 return _mfDataB; 00330 } 00331 00333 inline 00334 Real32 &DVRLookupTableBase::getDataA(const UInt32 index) 00335 { 00336 return _mfDataA[index]; 00337 } 00338 00340 inline 00341 MFReal32 &DVRLookupTableBase::getDataA(void) 00342 { 00343 return _mfDataA; 00344 } 00345 00347 inline 00348 const MFReal32 &DVRLookupTableBase::getDataA(void) const 00349 { 00350 return _mfDataA; 00351 } 00352 00353 OSG_END_NAMESPACE 00354 00355 #define OSGDVRLOOKUPTABLEBASE_INLINE_CVSID "@(#)$Id: FCBaseTemplate_inl.h,v 1.20 2002/12/04 14:22:22 dirk Exp $" 00356
1.5.5