Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

OSGImageBase.inl

Go to the documentation of this file.
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 Image!
00047  **                                                                         **
00048  *****************************************************************************
00049 \*****************************************************************************/
00050 
00051 #include <OSGConfig.h>
00052 
00053 OSG_BEGIN_NAMESPACE
00054 
00055 
00057 inline
00058 OSG::FieldContainerType &ImageBase::getClassType(void)
00059 {
00060     return _type; 
00061 } 
00062 
00064 inline
00065 OSG::UInt32 ImageBase::getClassTypeId(void) 
00066 {
00067     return _type.getId(); 
00068 } 
00069 
00071 inline
00072 ImagePtr ImageBase::create(void) 
00073 {
00074     ImagePtr fc; 
00075 
00076     if(getClassType().getPrototype() != OSG::NullFC) 
00077     {
00078         fc = ImagePtr::dcast(
00079             getClassType().getPrototype()-> shallowCopy()); 
00080     }
00081     
00082     return fc; 
00083 }
00084 
00086 inline
00087 ImagePtr ImageBase::createEmpty(void) 
00088 { 
00089     ImagePtr returnValue; 
00090     
00091     newPtr(returnValue); 
00092 
00093     return returnValue; 
00094 }
00095 
00096 
00097 /*------------------------------ get -----------------------------------*/
00098 
00100 inline
00101 MFFieldContainerPtr *ImageBase::getMFParents(void)
00102 {
00103     return &_mfParents;
00104 }
00105 
00107 inline
00108 SFInt32 *ImageBase::getSFDimension(void)
00109 {
00110     return &_sfDimension;
00111 }
00112 
00114 inline
00115 SFInt32 *ImageBase::getSFWidth(void)
00116 {
00117     return &_sfWidth;
00118 }
00119 
00121 inline
00122 SFInt32 *ImageBase::getSFHeight(void)
00123 {
00124     return &_sfHeight;
00125 }
00126 
00128 inline
00129 SFInt32 *ImageBase::getSFDepth(void)
00130 {
00131     return &_sfDepth;
00132 }
00133 
00135 inline
00136 SFInt32 *ImageBase::getSFBpp(void)
00137 {
00138     return &_sfBpp;
00139 }
00140 
00142 inline
00143 SFInt32 *ImageBase::getSFMipMapCount(void)
00144 {
00145     return &_sfMipMapCount;
00146 }
00147 
00149 inline
00150 SFInt32 *ImageBase::getSFFrameCount(void)
00151 {
00152     return &_sfFrameCount;
00153 }
00154 
00156 inline
00157 SFTime *ImageBase::getSFFrameDelay(void)
00158 {
00159     return &_sfFrameDelay;
00160 }
00161 
00163 inline
00164 SFUInt32 *ImageBase::getSFPixelFormat(void)
00165 {
00166     return &_sfPixelFormat;
00167 }
00168 
00170 inline
00171 MFUInt8 *ImageBase::getMFPixel(void)
00172 {
00173     return &_mfPixel;
00174 }
00175 
00177 inline
00178 SFInt32 *ImageBase::getSFFrameSize(void)
00179 {
00180     return &_sfFrameSize;
00181 }
00182 
00184 inline
00185 SFString *ImageBase::getSFName(void)
00186 {
00187     return &_sfName;
00188 }
00189 
00191 inline
00192 SFInt32 *ImageBase::getSFDataType(void)
00193 {
00194     return &_sfDataType;
00195 }
00196 
00198 inline
00199 SFInt32 *ImageBase::getSFComponentSize(void)
00200 {
00201     return &_sfComponentSize;
00202 }
00203 
00205 inline
00206 SFInt32 *ImageBase::getSFSideCount(void)
00207 {
00208     return &_sfSideCount;
00209 }
00210 
00212 inline
00213 SFInt32 *ImageBase::getSFSideSize(void)
00214 {
00215     return &_sfSideSize;
00216 }
00217 
00219 inline
00220 SFBool *ImageBase::getSFForceCompressedData(void)
00221 {
00222     return &_sfForceCompressedData;
00223 }
00224 
00226 inline
00227 SFBool *ImageBase::getSFForceAlphaChannel(void)
00228 {
00229     return &_sfForceAlphaChannel;
00230 }
00231 
00233 inline
00234 SFBool *ImageBase::getSFForceColorChannel(void)
00235 {
00236     return &_sfForceColorChannel;
00237 }
00238 
00239 
00241 inline
00242 Int32 &ImageBase::getDimension(void)
00243 {
00244     return _sfDimension.getValue();
00245 }
00246 
00248 inline
00249 const Int32 &ImageBase::getDimension(void) const
00250 {
00251     return _sfDimension.getValue();
00252 }
00253 
00255 inline
00256 void ImageBase::setDimension(const Int32 &value)
00257 {
00258     _sfDimension.setValue(value);
00259 }
00260 
00262 inline
00263 Int32 &ImageBase::getWidth(void)
00264 {
00265     return _sfWidth.getValue();
00266 }
00267 
00269 inline
00270 const Int32 &ImageBase::getWidth(void) const
00271 {
00272     return _sfWidth.getValue();
00273 }
00274 
00276 inline
00277 void ImageBase::setWidth(const Int32 &value)
00278 {
00279     _sfWidth.setValue(value);
00280 }
00281 
00283 inline
00284 Int32 &ImageBase::getHeight(void)
00285 {
00286     return _sfHeight.getValue();
00287 }
00288 
00290 inline
00291 const Int32 &ImageBase::getHeight(void) const
00292 {
00293     return _sfHeight.getValue();
00294 }
00295 
00297 inline
00298 void ImageBase::setHeight(const Int32 &value)
00299 {
00300     _sfHeight.setValue(value);
00301 }
00302 
00304 inline
00305 Int32 &ImageBase::getDepth(void)
00306 {
00307     return _sfDepth.getValue();
00308 }
00309 
00311 inline
00312 const Int32 &ImageBase::getDepth(void) const
00313 {
00314     return _sfDepth.getValue();
00315 }
00316 
00318 inline
00319 void ImageBase::setDepth(const Int32 &value)
00320 {
00321     _sfDepth.setValue(value);
00322 }
00323 
00325 inline
00326 Int32 &ImageBase::getBpp(void)
00327 {
00328     return _sfBpp.getValue();
00329 }
00330 
00332 inline
00333 const Int32 &ImageBase::getBpp(void) const
00334 {
00335     return _sfBpp.getValue();
00336 }
00337 
00339 inline
00340 void ImageBase::setBpp(const Int32 &value)
00341 {
00342     _sfBpp.setValue(value);
00343 }
00344 
00346 inline
00347 Int32 &ImageBase::getMipMapCount(void)
00348 {
00349     return _sfMipMapCount.getValue();
00350 }
00351 
00353 inline
00354 const Int32 &ImageBase::getMipMapCount(void) const
00355 {
00356     return _sfMipMapCount.getValue();
00357 }
00358 
00360 inline
00361 void ImageBase::setMipMapCount(const Int32 &value)
00362 {
00363     _sfMipMapCount.setValue(value);
00364 }
00365 
00367 inline
00368 Int32 &ImageBase::getFrameCount(void)
00369 {
00370     return _sfFrameCount.getValue();
00371 }
00372 
00374 inline
00375 const Int32 &ImageBase::getFrameCount(void) const
00376 {
00377     return _sfFrameCount.getValue();
00378 }
00379 
00381 inline
00382 void ImageBase::setFrameCount(const Int32 &value)
00383 {
00384     _sfFrameCount.setValue(value);
00385 }
00386 
00388 inline
00389 Time &ImageBase::getFrameDelay(void)
00390 {
00391     return _sfFrameDelay.getValue();
00392 }
00393 
00395 inline
00396 const Time &ImageBase::getFrameDelay(void) const
00397 {
00398     return _sfFrameDelay.getValue();
00399 }
00400 
00402 inline
00403 void ImageBase::setFrameDelay(const Time &value)
00404 {
00405     _sfFrameDelay.setValue(value);
00406 }
00407 
00409 inline
00410 UInt32 &ImageBase::getPixelFormat(void)
00411 {
00412     return _sfPixelFormat.getValue();
00413 }
00414 
00416 inline
00417 const UInt32 &ImageBase::getPixelFormat(void) const
00418 {
00419     return _sfPixelFormat.getValue();
00420 }
00421 
00423 inline
00424 void ImageBase::setPixelFormat(const UInt32 &value)
00425 {
00426     _sfPixelFormat.setValue(value);
00427 }
00428 
00430 inline
00431 Int32 &ImageBase::getFrameSize(void)
00432 {
00433     return _sfFrameSize.getValue();
00434 }
00435 
00437 inline
00438 const Int32 &ImageBase::getFrameSize(void) const
00439 {
00440     return _sfFrameSize.getValue();
00441 }
00442 
00444 inline
00445 void ImageBase::setFrameSize(const Int32 &value)
00446 {
00447     _sfFrameSize.setValue(value);
00448 }
00449 
00451 inline
00452 std::string &ImageBase::getName(void)
00453 {
00454     return _sfName.getValue();
00455 }
00456 
00458 inline
00459 const std::string &ImageBase::getName(void) const
00460 {
00461     return _sfName.getValue();
00462 }
00463 
00465 inline
00466 void ImageBase::setName(const std::string &value)
00467 {
00468     _sfName.setValue(value);
00469 }
00470 
00472 inline
00473 Int32 &ImageBase::getDataType(void)
00474 {
00475     return _sfDataType.getValue();
00476 }
00477 
00479 inline
00480 const Int32 &ImageBase::getDataType(void) const
00481 {
00482     return _sfDataType.getValue();
00483 }
00484 
00486 inline
00487 void ImageBase::setDataType(const Int32 &value)
00488 {
00489     _sfDataType.setValue(value);
00490 }
00491 
00493 inline
00494 Int32 &ImageBase::getComponentSize(void)
00495 {
00496     return _sfComponentSize.getValue();
00497 }
00498 
00500 inline
00501 const Int32 &ImageBase::getComponentSize(void) const
00502 {
00503     return _sfComponentSize.getValue();
00504 }
00505 
00507 inline
00508 void ImageBase::setComponentSize(const Int32 &value)
00509 {
00510     _sfComponentSize.setValue(value);
00511 }
00512 
00514 inline
00515 Int32 &ImageBase::getSideCount(void)
00516 {
00517     return _sfSideCount.getValue();
00518 }
00519 
00521 inline
00522 const Int32 &ImageBase::getSideCount(void) const
00523 {
00524     return _sfSideCount.getValue();
00525 }
00526 
00528 inline
00529 void ImageBase::setSideCount(const Int32 &value)
00530 {
00531     _sfSideCount.setValue(value);
00532 }
00533 
00535 inline
00536 Int32 &ImageBase::getSideSize(void)
00537 {
00538     return _sfSideSize.getValue();
00539 }
00540 
00542 inline
00543 const Int32 &ImageBase::getSideSize(void) const
00544 {
00545     return _sfSideSize.getValue();
00546 }
00547 
00549 inline
00550 void ImageBase::setSideSize(const Int32 &value)
00551 {
00552     _sfSideSize.setValue(value);
00553 }
00554 
00556 inline
00557 bool &ImageBase::getForceCompressedData(void)
00558 {
00559     return _sfForceCompressedData.getValue();
00560 }
00561 
00563 inline
00564 const bool &ImageBase::getForceCompressedData(void) const
00565 {
00566     return _sfForceCompressedData.getValue();
00567 }
00568 
00570 inline
00571 void ImageBase::setForceCompressedData(const bool &value)
00572 {
00573     _sfForceCompressedData.setValue(value);
00574 }
00575 
00577 inline
00578 bool &ImageBase::getForceAlphaChannel(void)
00579 {
00580     return _sfForceAlphaChannel.getValue();
00581 }
00582 
00584 inline
00585 const bool &ImageBase::getForceAlphaChannel(void) const
00586 {
00587     return _sfForceAlphaChannel.getValue();
00588 }
00589 
00591 inline
00592 void ImageBase::setForceAlphaChannel(const bool &value)
00593 {
00594     _sfForceAlphaChannel.setValue(value);
00595 }
00596 
00598 inline
00599 bool &ImageBase::getForceColorChannel(void)
00600 {
00601     return _sfForceColorChannel.getValue();
00602 }
00603 
00605 inline
00606 const bool &ImageBase::getForceColorChannel(void) const
00607 {
00608     return _sfForceColorChannel.getValue();
00609 }
00610 
00612 inline
00613 void ImageBase::setForceColorChannel(const bool &value)
00614 {
00615     _sfForceColorChannel.setValue(value);
00616 }
00617 
00618 
00620 inline
00621 FieldContainerPtr &ImageBase::getParents(const UInt32 index)
00622 {
00623     return _mfParents[index];
00624 }
00625 
00627 inline
00628 MFFieldContainerPtr &ImageBase::getParents(void)
00629 {
00630     return _mfParents;
00631 }
00632 
00634 inline
00635 const MFFieldContainerPtr &ImageBase::getParents(void) const
00636 {
00637     return _mfParents;
00638 }
00639 
00641 inline
00642 UInt8 &ImageBase::getPixel(const UInt32 index)
00643 {
00644     return _mfPixel[index];
00645 }
00646 
00648 inline
00649 MFUInt8 &ImageBase::getPixel(void)
00650 {
00651     return _mfPixel;
00652 }
00653 
00655 inline
00656 const MFUInt8 &ImageBase::getPixel(void) const
00657 {
00658     return _mfPixel;
00659 }
00660 
00661 OSG_END_NAMESPACE
00662 
00663 #define OSGIMAGEBASE_INLINE_CVSID "@(#)$Id: $"
00664 

Generated on Thu Aug 25 04:06:14 2005 for OpenSG by  doxygen 1.4.3