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 DVRVolume! 00047 ** ** 00048 ***************************************************************************** 00049 \*****************************************************************************/ 00050 00051 #include <OSGConfig.h> 00052 00053 OSG_BEGIN_NAMESPACE 00054 00055 00057 inline 00058 OSG::FieldContainerType &DVRVolumeBase::getClassType(void) 00059 { 00060 return _type; 00061 } 00062 00064 inline 00065 OSG::UInt32 DVRVolumeBase::getClassTypeId(void) 00066 { 00067 return _type.getId(); 00068 } 00069 00071 inline 00072 DVRVolumePtr DVRVolumeBase::create(void) 00073 { 00074 DVRVolumePtr fc; 00075 00076 if(getClassType().getPrototype() != OSG::NullFC) 00077 { 00078 fc = DVRVolumePtr::dcast( 00079 getClassType().getPrototype()-> shallowCopy()); 00080 } 00081 00082 return fc; 00083 } 00084 00086 inline 00087 DVRVolumePtr DVRVolumeBase::createEmpty(void) 00088 { 00089 DVRVolumePtr returnValue; 00090 00091 newPtr(returnValue); 00092 00093 return returnValue; 00094 } 00095 00096 00097 /*------------------------------ get -----------------------------------*/ 00098 00100 inline 00101 SFDVRAppearancePtr *DVRVolumeBase::getSFAppearance(void) 00102 { 00103 return &_sfAppearance; 00104 } 00105 00107 inline 00108 SFDVRGeometryPtr *DVRVolumeBase::getSFGeometry(void) 00109 { 00110 return &_sfGeometry; 00111 } 00112 00114 inline 00115 SFDVRShaderPtr *DVRVolumeBase::getSFShader(void) 00116 { 00117 return &_sfShader; 00118 } 00119 00121 inline 00122 SFString *DVRVolumeBase::getSFFileName(void) 00123 { 00124 return &_sfFileName; 00125 } 00126 00128 inline 00129 SFReal32 *DVRVolumeBase::getSFSampling(void) 00130 { 00131 return &_sfSampling; 00132 } 00133 00135 inline 00136 SFReal32 *DVRVolumeBase::getSFSamplingInteractive(void) 00137 { 00138 return &_sfSamplingInteractive; 00139 } 00140 00142 inline 00143 SFReal32 *DVRVolumeBase::getSFBaseAlpha(void) 00144 { 00145 return &_sfBaseAlpha; 00146 } 00147 00149 inline 00150 SFBool *DVRVolumeBase::getSFDoTextures(void) 00151 { 00152 return &_sfDoTextures; 00153 } 00154 00156 inline 00157 SFUInt32 *DVRVolumeBase::getSFBrickOverlap(void) 00158 { 00159 return &_sfBrickOverlap; 00160 } 00161 00163 inline 00164 SFQBit *DVRVolumeBase::getSFTextures2D(void) 00165 { 00166 return &_sfTextures2D; 00167 } 00168 00170 inline 00171 SFUInt16 *DVRVolumeBase::getSFBrickStaticMemoryMB(void) 00172 { 00173 return &_sfBrickStaticMemoryMB; 00174 } 00175 00177 inline 00178 SFMaterialPtr *DVRVolumeBase::getSFRenderMaterial(void) 00179 { 00180 return &_sfRenderMaterial; 00181 } 00182 00184 inline 00185 SFUInt16 *DVRVolumeBase::getSFBrickingMode(void) 00186 { 00187 return &_sfBrickingMode; 00188 } 00189 00191 inline 00192 SFVec3f *DVRVolumeBase::getSFBrickStaticSubdivision(void) 00193 { 00194 return &_sfBrickStaticSubdivision; 00195 } 00196 00198 inline 00199 SFVec3f *DVRVolumeBase::getSFBrickMaxSize(void) 00200 { 00201 return &_sfBrickMaxSize; 00202 } 00203 00205 inline 00206 SFBool *DVRVolumeBase::getSFShowBricks(void) 00207 { 00208 return &_sfShowBricks; 00209 } 00210 00212 inline 00213 SFUInt32 *DVRVolumeBase::getSFDrawStyle(void) 00214 { 00215 return &_sfDrawStyle; 00216 } 00217 00219 inline 00220 MFString *DVRVolumeBase::getMFDrawStyleNames(void) 00221 { 00222 return &_mfDrawStyleNames; 00223 } 00224 00226 inline 00227 SFChunkMaterialPtr *DVRVolumeBase::getSFTextureStorage(void) 00228 { 00229 return &_sfTextureStorage; 00230 } 00231 00232 00234 inline 00235 DVRAppearancePtr &DVRVolumeBase::getAppearance(void) 00236 { 00237 return _sfAppearance.getValue(); 00238 } 00239 00241 inline 00242 const DVRAppearancePtr &DVRVolumeBase::getAppearance(void) const 00243 { 00244 return _sfAppearance.getValue(); 00245 } 00246 00248 inline 00249 void DVRVolumeBase::setAppearance(const DVRAppearancePtr &value) 00250 { 00251 _sfAppearance.setValue(value); 00252 } 00253 00255 inline 00256 DVRGeometryPtr &DVRVolumeBase::getGeometry(void) 00257 { 00258 return _sfGeometry.getValue(); 00259 } 00260 00262 inline 00263 const DVRGeometryPtr &DVRVolumeBase::getGeometry(void) const 00264 { 00265 return _sfGeometry.getValue(); 00266 } 00267 00269 inline 00270 void DVRVolumeBase::setGeometry(const DVRGeometryPtr &value) 00271 { 00272 _sfGeometry.setValue(value); 00273 } 00274 00276 inline 00277 DVRShaderPtr &DVRVolumeBase::getShader(void) 00278 { 00279 return _sfShader.getValue(); 00280 } 00281 00283 inline 00284 const DVRShaderPtr &DVRVolumeBase::getShader(void) const 00285 { 00286 return _sfShader.getValue(); 00287 } 00288 00290 inline 00291 void DVRVolumeBase::setShader(const DVRShaderPtr &value) 00292 { 00293 _sfShader.setValue(value); 00294 } 00295 00297 inline 00298 std::string &DVRVolumeBase::getFileName(void) 00299 { 00300 return _sfFileName.getValue(); 00301 } 00302 00304 inline 00305 const std::string &DVRVolumeBase::getFileName(void) const 00306 { 00307 return _sfFileName.getValue(); 00308 } 00309 00311 inline 00312 void DVRVolumeBase::setFileName(const std::string &value) 00313 { 00314 _sfFileName.setValue(value); 00315 } 00316 00318 inline 00319 Real32 &DVRVolumeBase::getSampling(void) 00320 { 00321 return _sfSampling.getValue(); 00322 } 00323 00325 inline 00326 const Real32 &DVRVolumeBase::getSampling(void) const 00327 { 00328 return _sfSampling.getValue(); 00329 } 00330 00332 inline 00333 void DVRVolumeBase::setSampling(const Real32 &value) 00334 { 00335 _sfSampling.setValue(value); 00336 } 00337 00339 inline 00340 Real32 &DVRVolumeBase::getSamplingInteractive(void) 00341 { 00342 return _sfSamplingInteractive.getValue(); 00343 } 00344 00346 inline 00347 const Real32 &DVRVolumeBase::getSamplingInteractive(void) const 00348 { 00349 return _sfSamplingInteractive.getValue(); 00350 } 00351 00353 inline 00354 void DVRVolumeBase::setSamplingInteractive(const Real32 &value) 00355 { 00356 _sfSamplingInteractive.setValue(value); 00357 } 00358 00360 inline 00361 Real32 &DVRVolumeBase::getBaseAlpha(void) 00362 { 00363 return _sfBaseAlpha.getValue(); 00364 } 00365 00367 inline 00368 const Real32 &DVRVolumeBase::getBaseAlpha(void) const 00369 { 00370 return _sfBaseAlpha.getValue(); 00371 } 00372 00374 inline 00375 void DVRVolumeBase::setBaseAlpha(const Real32 &value) 00376 { 00377 _sfBaseAlpha.setValue(value); 00378 } 00379 00381 inline 00382 bool &DVRVolumeBase::getDoTextures(void) 00383 { 00384 return _sfDoTextures.getValue(); 00385 } 00386 00388 inline 00389 const bool &DVRVolumeBase::getDoTextures(void) const 00390 { 00391 return _sfDoTextures.getValue(); 00392 } 00393 00395 inline 00396 void DVRVolumeBase::setDoTextures(const bool &value) 00397 { 00398 _sfDoTextures.setValue(value); 00399 } 00400 00402 inline 00403 UInt32 &DVRVolumeBase::getBrickOverlap(void) 00404 { 00405 return _sfBrickOverlap.getValue(); 00406 } 00407 00409 inline 00410 const UInt32 &DVRVolumeBase::getBrickOverlap(void) const 00411 { 00412 return _sfBrickOverlap.getValue(); 00413 } 00414 00416 inline 00417 void DVRVolumeBase::setBrickOverlap(const UInt32 &value) 00418 { 00419 _sfBrickOverlap.setValue(value); 00420 } 00421 00423 inline 00424 QBit &DVRVolumeBase::getTextures2D(void) 00425 { 00426 return _sfTextures2D.getValue(); 00427 } 00428 00430 inline 00431 const QBit &DVRVolumeBase::getTextures2D(void) const 00432 { 00433 return _sfTextures2D.getValue(); 00434 } 00435 00437 inline 00438 void DVRVolumeBase::setTextures2D(const QBit &value) 00439 { 00440 _sfTextures2D.setValue(value); 00441 } 00442 00444 inline 00445 UInt16 &DVRVolumeBase::getBrickStaticMemoryMB(void) 00446 { 00447 return _sfBrickStaticMemoryMB.getValue(); 00448 } 00449 00451 inline 00452 const UInt16 &DVRVolumeBase::getBrickStaticMemoryMB(void) const 00453 { 00454 return _sfBrickStaticMemoryMB.getValue(); 00455 } 00456 00458 inline 00459 void DVRVolumeBase::setBrickStaticMemoryMB(const UInt16 &value) 00460 { 00461 _sfBrickStaticMemoryMB.setValue(value); 00462 } 00463 00465 inline 00466 MaterialPtr &DVRVolumeBase::getRenderMaterial(void) 00467 { 00468 return _sfRenderMaterial.getValue(); 00469 } 00470 00472 inline 00473 const MaterialPtr &DVRVolumeBase::getRenderMaterial(void) const 00474 { 00475 return _sfRenderMaterial.getValue(); 00476 } 00477 00479 inline 00480 void DVRVolumeBase::setRenderMaterial(const MaterialPtr &value) 00481 { 00482 _sfRenderMaterial.setValue(value); 00483 } 00484 00486 inline 00487 UInt16 &DVRVolumeBase::getBrickingMode(void) 00488 { 00489 return _sfBrickingMode.getValue(); 00490 } 00491 00493 inline 00494 const UInt16 &DVRVolumeBase::getBrickingMode(void) const 00495 { 00496 return _sfBrickingMode.getValue(); 00497 } 00498 00500 inline 00501 void DVRVolumeBase::setBrickingMode(const UInt16 &value) 00502 { 00503 _sfBrickingMode.setValue(value); 00504 } 00505 00507 inline 00508 Vec3f &DVRVolumeBase::getBrickStaticSubdivision(void) 00509 { 00510 return _sfBrickStaticSubdivision.getValue(); 00511 } 00512 00514 inline 00515 const Vec3f &DVRVolumeBase::getBrickStaticSubdivision(void) const 00516 { 00517 return _sfBrickStaticSubdivision.getValue(); 00518 } 00519 00521 inline 00522 void DVRVolumeBase::setBrickStaticSubdivision(const Vec3f &value) 00523 { 00524 _sfBrickStaticSubdivision.setValue(value); 00525 } 00526 00528 inline 00529 Vec3f &DVRVolumeBase::getBrickMaxSize(void) 00530 { 00531 return _sfBrickMaxSize.getValue(); 00532 } 00533 00535 inline 00536 const Vec3f &DVRVolumeBase::getBrickMaxSize(void) const 00537 { 00538 return _sfBrickMaxSize.getValue(); 00539 } 00540 00542 inline 00543 void DVRVolumeBase::setBrickMaxSize(const Vec3f &value) 00544 { 00545 _sfBrickMaxSize.setValue(value); 00546 } 00547 00549 inline 00550 bool &DVRVolumeBase::getShowBricks(void) 00551 { 00552 return _sfShowBricks.getValue(); 00553 } 00554 00556 inline 00557 const bool &DVRVolumeBase::getShowBricks(void) const 00558 { 00559 return _sfShowBricks.getValue(); 00560 } 00561 00563 inline 00564 void DVRVolumeBase::setShowBricks(const bool &value) 00565 { 00566 _sfShowBricks.setValue(value); 00567 } 00568 00570 inline 00571 UInt32 &DVRVolumeBase::getDrawStyle(void) 00572 { 00573 return _sfDrawStyle.getValue(); 00574 } 00575 00577 inline 00578 const UInt32 &DVRVolumeBase::getDrawStyle(void) const 00579 { 00580 return _sfDrawStyle.getValue(); 00581 } 00582 00584 inline 00585 void DVRVolumeBase::setDrawStyle(const UInt32 &value) 00586 { 00587 _sfDrawStyle.setValue(value); 00588 } 00589 00591 inline 00592 ChunkMaterialPtr &DVRVolumeBase::getTextureStorage(void) 00593 { 00594 return _sfTextureStorage.getValue(); 00595 } 00596 00598 inline 00599 const ChunkMaterialPtr &DVRVolumeBase::getTextureStorage(void) const 00600 { 00601 return _sfTextureStorage.getValue(); 00602 } 00603 00605 inline 00606 void DVRVolumeBase::setTextureStorage(const ChunkMaterialPtr &value) 00607 { 00608 _sfTextureStorage.setValue(value); 00609 } 00610 00611 00613 inline 00614 std::string &DVRVolumeBase::getDrawStyleNames(const UInt32 index) 00615 { 00616 return _mfDrawStyleNames[index]; 00617 } 00618 00620 inline 00621 MFString &DVRVolumeBase::getDrawStyleNames(void) 00622 { 00623 return _mfDrawStyleNames; 00624 } 00625 00627 inline 00628 const MFString &DVRVolumeBase::getDrawStyleNames(void) const 00629 { 00630 return _mfDrawStyleNames; 00631 } 00632 00633 OSG_END_NAMESPACE 00634 00635 #define OSGDVRVOLUMEBASE_INLINE_CVSID "@(#)$Id: FCBaseTemplate_inl.h,v 1.20 2002/12/04 14:22:22 dirk Exp $" 00636
1.5.5