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 GraphicStatisticsForeground! 00047 ** ** 00048 ***************************************************************************** 00049 \*****************************************************************************/ 00050 00051 #include <OSGConfig.h> 00052 00053 OSG_BEGIN_NAMESPACE 00054 00055 00057 inline 00058 OSG::FieldContainerType &GraphicStatisticsForegroundBase::getClassType(void) 00059 { 00060 return _type; 00061 } 00062 00064 inline 00065 OSG::UInt32 GraphicStatisticsForegroundBase::getClassTypeId(void) 00066 { 00067 return _type.getId(); 00068 } 00069 00071 inline 00072 GraphicStatisticsForegroundPtr GraphicStatisticsForegroundBase::create(void) 00073 { 00074 GraphicStatisticsForegroundPtr fc; 00075 00076 if(getClassType().getPrototype() != OSG::NullFC) 00077 { 00078 fc = GraphicStatisticsForegroundPtr::dcast( 00079 getClassType().getPrototype()-> shallowCopy()); 00080 } 00081 00082 return fc; 00083 } 00084 00086 inline 00087 GraphicStatisticsForegroundPtr GraphicStatisticsForegroundBase::createEmpty(void) 00088 { 00089 GraphicStatisticsForegroundPtr returnValue; 00090 00091 newPtr(returnValue); 00092 00093 return returnValue; 00094 } 00095 00096 00097 /*------------------------------ get -----------------------------------*/ 00098 00100 inline 00101 MFUInt32 *GraphicStatisticsForegroundBase::getMFDisplayType(void) 00102 { 00103 return &_mfDisplayType; 00104 } 00105 00107 inline 00108 MFVec2f *GraphicStatisticsForegroundBase::getMFSize(void) 00109 { 00110 return &_mfSize; 00111 } 00112 00114 inline 00115 MFVec2f *GraphicStatisticsForegroundBase::getMFPos(void) 00116 { 00117 return &_mfPos; 00118 } 00119 00121 inline 00122 MFColor4f *GraphicStatisticsForegroundBase::getMFColorMax(void) 00123 { 00124 return &_mfColorMax; 00125 } 00126 00128 inline 00129 MFColor4f *GraphicStatisticsForegroundBase::getMFColorMin(void) 00130 { 00131 return &_mfColorMin; 00132 } 00133 00135 inline 00136 MFColor4f *GraphicStatisticsForegroundBase::getMFColorCurrent(void) 00137 { 00138 return &_mfColorCurrent; 00139 } 00140 00142 inline 00143 MFReal32 *GraphicStatisticsForegroundBase::getMFMinValue(void) 00144 { 00145 return &_mfMinValue; 00146 } 00147 00149 inline 00150 MFReal32 *GraphicStatisticsForegroundBase::getMFMaxValue(void) 00151 { 00152 return &_mfMaxValue; 00153 } 00154 00156 inline 00157 MFUInt32 *GraphicStatisticsForegroundBase::getMFFlags(void) 00158 { 00159 return &_mfFlags; 00160 } 00161 00163 inline 00164 MFUInt32 *GraphicStatisticsForegroundBase::getMFHistorySize(void) 00165 { 00166 return &_mfHistorySize; 00167 } 00168 00170 inline 00171 MFString *GraphicStatisticsForegroundBase::getMFDescription(void) 00172 { 00173 return &_mfDescription; 00174 } 00175 00177 inline 00178 SFReal32 *GraphicStatisticsForegroundBase::getSFLineWidth(void) 00179 { 00180 return &_sfLineWidth; 00181 } 00182 00184 inline 00185 SFColor3f *GraphicStatisticsForegroundBase::getSFBackgroundColor(void) 00186 { 00187 return &_sfBackgroundColor; 00188 } 00189 00191 inline 00192 SFBool *GraphicStatisticsForegroundBase::getSFTextEnabled(void) 00193 { 00194 return &_sfTextEnabled; 00195 } 00196 00198 inline 00199 SFBool *GraphicStatisticsForegroundBase::getSFBackgroundEnabled(void) 00200 { 00201 return &_sfBackgroundEnabled; 00202 } 00203 00205 inline 00206 SFBool *GraphicStatisticsForegroundBase::getSFBorderEnabled(void) 00207 { 00208 return &_sfBorderEnabled; 00209 } 00210 00211 00213 inline 00214 Real32 &GraphicStatisticsForegroundBase::getLineWidth(void) 00215 { 00216 return _sfLineWidth.getValue(); 00217 } 00218 00220 inline 00221 const Real32 &GraphicStatisticsForegroundBase::getLineWidth(void) const 00222 { 00223 return _sfLineWidth.getValue(); 00224 } 00225 00227 inline 00228 void GraphicStatisticsForegroundBase::setLineWidth(const Real32 &value) 00229 { 00230 _sfLineWidth.setValue(value); 00231 } 00232 00234 inline 00235 Color3f &GraphicStatisticsForegroundBase::getBackgroundColor(void) 00236 { 00237 return _sfBackgroundColor.getValue(); 00238 } 00239 00241 inline 00242 const Color3f &GraphicStatisticsForegroundBase::getBackgroundColor(void) const 00243 { 00244 return _sfBackgroundColor.getValue(); 00245 } 00246 00248 inline 00249 void GraphicStatisticsForegroundBase::setBackgroundColor(const Color3f &value) 00250 { 00251 _sfBackgroundColor.setValue(value); 00252 } 00253 00255 inline 00256 bool &GraphicStatisticsForegroundBase::getTextEnabled(void) 00257 { 00258 return _sfTextEnabled.getValue(); 00259 } 00260 00262 inline 00263 const bool &GraphicStatisticsForegroundBase::getTextEnabled(void) const 00264 { 00265 return _sfTextEnabled.getValue(); 00266 } 00267 00269 inline 00270 void GraphicStatisticsForegroundBase::setTextEnabled(const bool &value) 00271 { 00272 _sfTextEnabled.setValue(value); 00273 } 00274 00276 inline 00277 bool &GraphicStatisticsForegroundBase::getBackgroundEnabled(void) 00278 { 00279 return _sfBackgroundEnabled.getValue(); 00280 } 00281 00283 inline 00284 const bool &GraphicStatisticsForegroundBase::getBackgroundEnabled(void) const 00285 { 00286 return _sfBackgroundEnabled.getValue(); 00287 } 00288 00290 inline 00291 void GraphicStatisticsForegroundBase::setBackgroundEnabled(const bool &value) 00292 { 00293 _sfBackgroundEnabled.setValue(value); 00294 } 00295 00297 inline 00298 bool &GraphicStatisticsForegroundBase::getBorderEnabled(void) 00299 { 00300 return _sfBorderEnabled.getValue(); 00301 } 00302 00304 inline 00305 const bool &GraphicStatisticsForegroundBase::getBorderEnabled(void) const 00306 { 00307 return _sfBorderEnabled.getValue(); 00308 } 00309 00311 inline 00312 void GraphicStatisticsForegroundBase::setBorderEnabled(const bool &value) 00313 { 00314 _sfBorderEnabled.setValue(value); 00315 } 00316 00317 00319 inline 00320 UInt32 &GraphicStatisticsForegroundBase::getDisplayType(const UInt32 index) 00321 { 00322 return _mfDisplayType[index]; 00323 } 00324 00326 inline 00327 MFUInt32 &GraphicStatisticsForegroundBase::getDisplayType(void) 00328 { 00329 return _mfDisplayType; 00330 } 00331 00333 inline 00334 const MFUInt32 &GraphicStatisticsForegroundBase::getDisplayType(void) const 00335 { 00336 return _mfDisplayType; 00337 } 00338 00340 inline 00341 Vec2f &GraphicStatisticsForegroundBase::getSize(const UInt32 index) 00342 { 00343 return _mfSize[index]; 00344 } 00345 00347 inline 00348 MFVec2f &GraphicStatisticsForegroundBase::getSize(void) 00349 { 00350 return _mfSize; 00351 } 00352 00354 inline 00355 const MFVec2f &GraphicStatisticsForegroundBase::getSize(void) const 00356 { 00357 return _mfSize; 00358 } 00359 00361 inline 00362 Vec2f &GraphicStatisticsForegroundBase::getPos(const UInt32 index) 00363 { 00364 return _mfPos[index]; 00365 } 00366 00368 inline 00369 MFVec2f &GraphicStatisticsForegroundBase::getPos(void) 00370 { 00371 return _mfPos; 00372 } 00373 00375 inline 00376 const MFVec2f &GraphicStatisticsForegroundBase::getPos(void) const 00377 { 00378 return _mfPos; 00379 } 00380 00382 inline 00383 Color4f &GraphicStatisticsForegroundBase::getColorMax(const UInt32 index) 00384 { 00385 return _mfColorMax[index]; 00386 } 00387 00389 inline 00390 MFColor4f &GraphicStatisticsForegroundBase::getColorMax(void) 00391 { 00392 return _mfColorMax; 00393 } 00394 00396 inline 00397 const MFColor4f &GraphicStatisticsForegroundBase::getColorMax(void) const 00398 { 00399 return _mfColorMax; 00400 } 00401 00403 inline 00404 Color4f &GraphicStatisticsForegroundBase::getColorMin(const UInt32 index) 00405 { 00406 return _mfColorMin[index]; 00407 } 00408 00410 inline 00411 MFColor4f &GraphicStatisticsForegroundBase::getColorMin(void) 00412 { 00413 return _mfColorMin; 00414 } 00415 00417 inline 00418 const MFColor4f &GraphicStatisticsForegroundBase::getColorMin(void) const 00419 { 00420 return _mfColorMin; 00421 } 00422 00424 inline 00425 Color4f &GraphicStatisticsForegroundBase::getColorCurrent(const UInt32 index) 00426 { 00427 return _mfColorCurrent[index]; 00428 } 00429 00431 inline 00432 MFColor4f &GraphicStatisticsForegroundBase::getColorCurrent(void) 00433 { 00434 return _mfColorCurrent; 00435 } 00436 00438 inline 00439 const MFColor4f &GraphicStatisticsForegroundBase::getColorCurrent(void) const 00440 { 00441 return _mfColorCurrent; 00442 } 00443 00445 inline 00446 Real32 &GraphicStatisticsForegroundBase::getMinValue(const UInt32 index) 00447 { 00448 return _mfMinValue[index]; 00449 } 00450 00452 inline 00453 MFReal32 &GraphicStatisticsForegroundBase::getMinValue(void) 00454 { 00455 return _mfMinValue; 00456 } 00457 00459 inline 00460 const MFReal32 &GraphicStatisticsForegroundBase::getMinValue(void) const 00461 { 00462 return _mfMinValue; 00463 } 00464 00466 inline 00467 Real32 &GraphicStatisticsForegroundBase::getMaxValue(const UInt32 index) 00468 { 00469 return _mfMaxValue[index]; 00470 } 00471 00473 inline 00474 MFReal32 &GraphicStatisticsForegroundBase::getMaxValue(void) 00475 { 00476 return _mfMaxValue; 00477 } 00478 00480 inline 00481 const MFReal32 &GraphicStatisticsForegroundBase::getMaxValue(void) const 00482 { 00483 return _mfMaxValue; 00484 } 00485 00487 inline 00488 UInt32 &GraphicStatisticsForegroundBase::getFlags(const UInt32 index) 00489 { 00490 return _mfFlags[index]; 00491 } 00492 00494 inline 00495 MFUInt32 &GraphicStatisticsForegroundBase::getFlags(void) 00496 { 00497 return _mfFlags; 00498 } 00499 00501 inline 00502 const MFUInt32 &GraphicStatisticsForegroundBase::getFlags(void) const 00503 { 00504 return _mfFlags; 00505 } 00506 00508 inline 00509 UInt32 &GraphicStatisticsForegroundBase::getHistorySize(const UInt32 index) 00510 { 00511 return _mfHistorySize[index]; 00512 } 00513 00515 inline 00516 MFUInt32 &GraphicStatisticsForegroundBase::getHistorySize(void) 00517 { 00518 return _mfHistorySize; 00519 } 00520 00522 inline 00523 const MFUInt32 &GraphicStatisticsForegroundBase::getHistorySize(void) const 00524 { 00525 return _mfHistorySize; 00526 } 00527 00529 inline 00530 std::string &GraphicStatisticsForegroundBase::getDescription(const UInt32 index) 00531 { 00532 return _mfDescription[index]; 00533 } 00534 00536 inline 00537 MFString &GraphicStatisticsForegroundBase::getDescription(void) 00538 { 00539 return _mfDescription; 00540 } 00541 00543 inline 00544 const MFString &GraphicStatisticsForegroundBase::getDescription(void) const 00545 { 00546 return _mfDescription; 00547 } 00548 00549 OSG_END_NAMESPACE 00550 00551 #define OSGGRAPHICSTATISTICSFOREGROUNDBASE_INLINE_CVSID "@(#)$Id: $" 00552
1.4.3