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 SkyBackground! 00047 ** ** 00048 ***************************************************************************** 00049 \*****************************************************************************/ 00050 00051 #include <OSGConfig.h> 00052 00053 OSG_BEGIN_NAMESPACE 00054 00055 00057 inline 00058 OSG::FieldContainerType &SkyBackgroundBase::getClassType(void) 00059 { 00060 return _type; 00061 } 00062 00064 inline 00065 OSG::UInt32 SkyBackgroundBase::getClassTypeId(void) 00066 { 00067 return _type.getId(); 00068 } 00069 00071 inline 00072 SkyBackgroundPtr SkyBackgroundBase::create(void) 00073 { 00074 SkyBackgroundPtr fc; 00075 00076 if(getClassType().getPrototype() != OSG::NullFC) 00077 { 00078 fc = SkyBackgroundPtr::dcast( 00079 getClassType().getPrototype()-> shallowCopy()); 00080 } 00081 00082 return fc; 00083 } 00084 00086 inline 00087 SkyBackgroundPtr SkyBackgroundBase::createEmpty(void) 00088 { 00089 SkyBackgroundPtr returnValue; 00090 00091 newPtr(returnValue); 00092 00093 return returnValue; 00094 } 00095 00096 00097 /*------------------------------ get -----------------------------------*/ 00098 00100 inline 00101 MFColor4f *SkyBackgroundBase::getMFSkyColor(void) 00102 { 00103 return &_mfSkyColor; 00104 } 00105 00107 inline 00108 MFReal32 *SkyBackgroundBase::getMFSkyAngle(void) 00109 { 00110 return &_mfSkyAngle; 00111 } 00112 00114 inline 00115 MFColor4f *SkyBackgroundBase::getMFGroundColor(void) 00116 { 00117 return &_mfGroundColor; 00118 } 00119 00121 inline 00122 MFReal32 *SkyBackgroundBase::getMFGroundAngle(void) 00123 { 00124 return &_mfGroundAngle; 00125 } 00126 00128 inline 00129 SFUInt32 *SkyBackgroundBase::getSFSphereRes(void) 00130 { 00131 return &_sfSphereRes; 00132 } 00133 00135 inline 00136 SFTextureChunkPtr *SkyBackgroundBase::getSFBackTexture(void) 00137 { 00138 return &_sfBackTexture; 00139 } 00140 00142 inline 00143 SFTextureChunkPtr *SkyBackgroundBase::getSFBottomTexture(void) 00144 { 00145 return &_sfBottomTexture; 00146 } 00147 00149 inline 00150 SFTextureChunkPtr *SkyBackgroundBase::getSFFrontTexture(void) 00151 { 00152 return &_sfFrontTexture; 00153 } 00154 00156 inline 00157 SFTextureChunkPtr *SkyBackgroundBase::getSFLeftTexture(void) 00158 { 00159 return &_sfLeftTexture; 00160 } 00161 00163 inline 00164 SFTextureChunkPtr *SkyBackgroundBase::getSFRightTexture(void) 00165 { 00166 return &_sfRightTexture; 00167 } 00168 00170 inline 00171 SFTextureChunkPtr *SkyBackgroundBase::getSFTopTexture(void) 00172 { 00173 return &_sfTopTexture; 00174 } 00175 00177 inline 00178 SFBool *SkyBackgroundBase::getSFBoxInside(void) 00179 { 00180 return &_sfBoxInside; 00181 } 00182 00184 inline 00185 MFVec3f *SkyBackgroundBase::getMFTopTexCoord(void) 00186 { 00187 return &_mfTopTexCoord; 00188 } 00189 00191 inline 00192 MFVec3f *SkyBackgroundBase::getMFBottomTexCoord(void) 00193 { 00194 return &_mfBottomTexCoord; 00195 } 00196 00198 inline 00199 MFVec3f *SkyBackgroundBase::getMFRightTexCoord(void) 00200 { 00201 return &_mfRightTexCoord; 00202 } 00203 00205 inline 00206 MFVec3f *SkyBackgroundBase::getMFLeftTexCoord(void) 00207 { 00208 return &_mfLeftTexCoord; 00209 } 00210 00212 inline 00213 MFVec3f *SkyBackgroundBase::getMFFrontTexCoord(void) 00214 { 00215 return &_mfFrontTexCoord; 00216 } 00217 00219 inline 00220 MFVec3f *SkyBackgroundBase::getMFBackTexCoord(void) 00221 { 00222 return &_mfBackTexCoord; 00223 } 00224 00226 inline 00227 SFNodePtr *SkyBackgroundBase::getSFBeacon(void) 00228 { 00229 return &_sfBeacon; 00230 } 00231 00233 inline 00234 SFInt32 *SkyBackgroundBase::getSFClearStencilBit(void) 00235 { 00236 return &_sfClearStencilBit; 00237 } 00238 00239 00241 inline 00242 UInt32 &SkyBackgroundBase::getSphereRes(void) 00243 { 00244 return _sfSphereRes.getValue(); 00245 } 00246 00248 inline 00249 const UInt32 &SkyBackgroundBase::getSphereRes(void) const 00250 { 00251 return _sfSphereRes.getValue(); 00252 } 00253 00255 inline 00256 void SkyBackgroundBase::setSphereRes(const UInt32 &value) 00257 { 00258 _sfSphereRes.setValue(value); 00259 } 00260 00262 inline 00263 TextureChunkPtr &SkyBackgroundBase::getBackTexture(void) 00264 { 00265 return _sfBackTexture.getValue(); 00266 } 00267 00269 inline 00270 const TextureChunkPtr &SkyBackgroundBase::getBackTexture(void) const 00271 { 00272 return _sfBackTexture.getValue(); 00273 } 00274 00276 inline 00277 void SkyBackgroundBase::setBackTexture(const TextureChunkPtr &value) 00278 { 00279 _sfBackTexture.setValue(value); 00280 } 00281 00283 inline 00284 TextureChunkPtr &SkyBackgroundBase::getBottomTexture(void) 00285 { 00286 return _sfBottomTexture.getValue(); 00287 } 00288 00290 inline 00291 const TextureChunkPtr &SkyBackgroundBase::getBottomTexture(void) const 00292 { 00293 return _sfBottomTexture.getValue(); 00294 } 00295 00297 inline 00298 void SkyBackgroundBase::setBottomTexture(const TextureChunkPtr &value) 00299 { 00300 _sfBottomTexture.setValue(value); 00301 } 00302 00304 inline 00305 TextureChunkPtr &SkyBackgroundBase::getFrontTexture(void) 00306 { 00307 return _sfFrontTexture.getValue(); 00308 } 00309 00311 inline 00312 const TextureChunkPtr &SkyBackgroundBase::getFrontTexture(void) const 00313 { 00314 return _sfFrontTexture.getValue(); 00315 } 00316 00318 inline 00319 void SkyBackgroundBase::setFrontTexture(const TextureChunkPtr &value) 00320 { 00321 _sfFrontTexture.setValue(value); 00322 } 00323 00325 inline 00326 TextureChunkPtr &SkyBackgroundBase::getLeftTexture(void) 00327 { 00328 return _sfLeftTexture.getValue(); 00329 } 00330 00332 inline 00333 const TextureChunkPtr &SkyBackgroundBase::getLeftTexture(void) const 00334 { 00335 return _sfLeftTexture.getValue(); 00336 } 00337 00339 inline 00340 void SkyBackgroundBase::setLeftTexture(const TextureChunkPtr &value) 00341 { 00342 _sfLeftTexture.setValue(value); 00343 } 00344 00346 inline 00347 TextureChunkPtr &SkyBackgroundBase::getRightTexture(void) 00348 { 00349 return _sfRightTexture.getValue(); 00350 } 00351 00353 inline 00354 const TextureChunkPtr &SkyBackgroundBase::getRightTexture(void) const 00355 { 00356 return _sfRightTexture.getValue(); 00357 } 00358 00360 inline 00361 void SkyBackgroundBase::setRightTexture(const TextureChunkPtr &value) 00362 { 00363 _sfRightTexture.setValue(value); 00364 } 00365 00367 inline 00368 TextureChunkPtr &SkyBackgroundBase::getTopTexture(void) 00369 { 00370 return _sfTopTexture.getValue(); 00371 } 00372 00374 inline 00375 const TextureChunkPtr &SkyBackgroundBase::getTopTexture(void) const 00376 { 00377 return _sfTopTexture.getValue(); 00378 } 00379 00381 inline 00382 void SkyBackgroundBase::setTopTexture(const TextureChunkPtr &value) 00383 { 00384 _sfTopTexture.setValue(value); 00385 } 00386 00388 inline 00389 bool &SkyBackgroundBase::getBoxInside(void) 00390 { 00391 return _sfBoxInside.getValue(); 00392 } 00393 00395 inline 00396 const bool &SkyBackgroundBase::getBoxInside(void) const 00397 { 00398 return _sfBoxInside.getValue(); 00399 } 00400 00402 inline 00403 void SkyBackgroundBase::setBoxInside(const bool &value) 00404 { 00405 _sfBoxInside.setValue(value); 00406 } 00407 00409 inline 00410 NodePtr &SkyBackgroundBase::getBeacon(void) 00411 { 00412 return _sfBeacon.getValue(); 00413 } 00414 00416 inline 00417 const NodePtr &SkyBackgroundBase::getBeacon(void) const 00418 { 00419 return _sfBeacon.getValue(); 00420 } 00421 00423 inline 00424 void SkyBackgroundBase::setBeacon(const NodePtr &value) 00425 { 00426 _sfBeacon.setValue(value); 00427 } 00428 00430 inline 00431 Int32 &SkyBackgroundBase::getClearStencilBit(void) 00432 { 00433 return _sfClearStencilBit.getValue(); 00434 } 00435 00437 inline 00438 const Int32 &SkyBackgroundBase::getClearStencilBit(void) const 00439 { 00440 return _sfClearStencilBit.getValue(); 00441 } 00442 00444 inline 00445 void SkyBackgroundBase::setClearStencilBit(const Int32 &value) 00446 { 00447 _sfClearStencilBit.setValue(value); 00448 } 00449 00450 00452 inline 00453 Color4f &SkyBackgroundBase::getSkyColor(const UInt32 index) 00454 { 00455 return _mfSkyColor[index]; 00456 } 00457 00459 inline 00460 MFColor4f &SkyBackgroundBase::getSkyColor(void) 00461 { 00462 return _mfSkyColor; 00463 } 00464 00466 inline 00467 const MFColor4f &SkyBackgroundBase::getSkyColor(void) const 00468 { 00469 return _mfSkyColor; 00470 } 00471 00473 inline 00474 Real32 &SkyBackgroundBase::getSkyAngle(const UInt32 index) 00475 { 00476 return _mfSkyAngle[index]; 00477 } 00478 00480 inline 00481 MFReal32 &SkyBackgroundBase::getSkyAngle(void) 00482 { 00483 return _mfSkyAngle; 00484 } 00485 00487 inline 00488 const MFReal32 &SkyBackgroundBase::getSkyAngle(void) const 00489 { 00490 return _mfSkyAngle; 00491 } 00492 00494 inline 00495 Color4f &SkyBackgroundBase::getGroundColor(const UInt32 index) 00496 { 00497 return _mfGroundColor[index]; 00498 } 00499 00501 inline 00502 MFColor4f &SkyBackgroundBase::getGroundColor(void) 00503 { 00504 return _mfGroundColor; 00505 } 00506 00508 inline 00509 const MFColor4f &SkyBackgroundBase::getGroundColor(void) const 00510 { 00511 return _mfGroundColor; 00512 } 00513 00515 inline 00516 Real32 &SkyBackgroundBase::getGroundAngle(const UInt32 index) 00517 { 00518 return _mfGroundAngle[index]; 00519 } 00520 00522 inline 00523 MFReal32 &SkyBackgroundBase::getGroundAngle(void) 00524 { 00525 return _mfGroundAngle; 00526 } 00527 00529 inline 00530 const MFReal32 &SkyBackgroundBase::getGroundAngle(void) const 00531 { 00532 return _mfGroundAngle; 00533 } 00534 00536 inline 00537 Vec3f &SkyBackgroundBase::getTopTexCoord(const UInt32 index) 00538 { 00539 return _mfTopTexCoord[index]; 00540 } 00541 00543 inline 00544 MFVec3f &SkyBackgroundBase::getTopTexCoord(void) 00545 { 00546 return _mfTopTexCoord; 00547 } 00548 00550 inline 00551 const MFVec3f &SkyBackgroundBase::getTopTexCoord(void) const 00552 { 00553 return _mfTopTexCoord; 00554 } 00555 00557 inline 00558 Vec3f &SkyBackgroundBase::getBottomTexCoord(const UInt32 index) 00559 { 00560 return _mfBottomTexCoord[index]; 00561 } 00562 00564 inline 00565 MFVec3f &SkyBackgroundBase::getBottomTexCoord(void) 00566 { 00567 return _mfBottomTexCoord; 00568 } 00569 00571 inline 00572 const MFVec3f &SkyBackgroundBase::getBottomTexCoord(void) const 00573 { 00574 return _mfBottomTexCoord; 00575 } 00576 00578 inline 00579 Vec3f &SkyBackgroundBase::getRightTexCoord(const UInt32 index) 00580 { 00581 return _mfRightTexCoord[index]; 00582 } 00583 00585 inline 00586 MFVec3f &SkyBackgroundBase::getRightTexCoord(void) 00587 { 00588 return _mfRightTexCoord; 00589 } 00590 00592 inline 00593 const MFVec3f &SkyBackgroundBase::getRightTexCoord(void) const 00594 { 00595 return _mfRightTexCoord; 00596 } 00597 00599 inline 00600 Vec3f &SkyBackgroundBase::getLeftTexCoord(const UInt32 index) 00601 { 00602 return _mfLeftTexCoord[index]; 00603 } 00604 00606 inline 00607 MFVec3f &SkyBackgroundBase::getLeftTexCoord(void) 00608 { 00609 return _mfLeftTexCoord; 00610 } 00611 00613 inline 00614 const MFVec3f &SkyBackgroundBase::getLeftTexCoord(void) const 00615 { 00616 return _mfLeftTexCoord; 00617 } 00618 00620 inline 00621 Vec3f &SkyBackgroundBase::getFrontTexCoord(const UInt32 index) 00622 { 00623 return _mfFrontTexCoord[index]; 00624 } 00625 00627 inline 00628 MFVec3f &SkyBackgroundBase::getFrontTexCoord(void) 00629 { 00630 return _mfFrontTexCoord; 00631 } 00632 00634 inline 00635 const MFVec3f &SkyBackgroundBase::getFrontTexCoord(void) const 00636 { 00637 return _mfFrontTexCoord; 00638 } 00639 00641 inline 00642 Vec3f &SkyBackgroundBase::getBackTexCoord(const UInt32 index) 00643 { 00644 return _mfBackTexCoord[index]; 00645 } 00646 00648 inline 00649 MFVec3f &SkyBackgroundBase::getBackTexCoord(void) 00650 { 00651 return _mfBackTexCoord; 00652 } 00653 00655 inline 00656 const MFVec3f &SkyBackgroundBase::getBackTexCoord(void) const 00657 { 00658 return _mfBackTexCoord; 00659 } 00660 00661 OSG_END_NAMESPACE 00662 00663 #define OSGSKYBACKGROUNDBASE_INLINE_CVSID "@(#)$Id: FCBaseTemplate_inl.h,v 1.20 2002/12/04 14:22:22 dirk Exp $" 00664
1.5.5