Changeset 1193 for trunk/Source/System/Image/WS/OSGImageBase.inl
- Timestamp:
- 05/05/08 06:39:01 (7 months ago)
- Files:
-
- trunk/Source/System/Image/WS/OSGImageBase.inl (modified) (25 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/Source/System/Image/WS/OSGImageBase.inl
r787 r1193 86 86 //! Get the value of the Image::_sfDimension field. 87 87 inline 88 const Int32 &ImageBase::getDimension(void) const88 const Int32 ImageBase::getDimension(void) const 89 89 { 90 90 return _sfDimension.getValue(); … … 119 119 //! Get the value of the Image::_sfWidth field. 120 120 inline 121 const Int32 &ImageBase::getWidth(void) const121 const Int32 ImageBase::getWidth(void) const 122 122 { 123 123 return _sfWidth.getValue(); … … 152 152 //! Get the value of the Image::_sfHeight field. 153 153 inline 154 const Int32 &ImageBase::getHeight(void) const154 const Int32 ImageBase::getHeight(void) const 155 155 { 156 156 return _sfHeight.getValue(); … … 185 185 //! Get the value of the Image::_sfDepth field. 186 186 inline 187 const Int32 &ImageBase::getDepth(void) const187 const Int32 ImageBase::getDepth(void) const 188 188 { 189 189 return _sfDepth.getValue(); … … 218 218 //! Get the value of the Image::_sfBpp field. 219 219 inline 220 const Int32 &ImageBase::getBpp(void) const220 const Int32 ImageBase::getBpp(void) const 221 221 { 222 222 return _sfBpp.getValue(); … … 251 251 //! Get the value of the Image::_sfMipMapCount field. 252 252 inline 253 const Int32 &ImageBase::getMipMapCount(void) const253 const Int32 ImageBase::getMipMapCount(void) const 254 254 { 255 255 return _sfMipMapCount.getValue(); … … 284 284 //! Get the value of the Image::_sfFrameCount field. 285 285 inline 286 const Int32 &ImageBase::getFrameCount(void) const286 const Int32 ImageBase::getFrameCount(void) const 287 287 { 288 288 return _sfFrameCount.getValue(); … … 317 317 //! Get the value of the Image::_sfFrameDelay field. 318 318 inline 319 const Time &ImageBase::getFrameDelay(void) const319 const Time ImageBase::getFrameDelay(void) const 320 320 { 321 321 return _sfFrameDelay.getValue(); … … 350 350 //! Get the value of the Image::_sfPixelFormat field. 351 351 inline 352 const UInt32 &ImageBase::getPixelFormat(void) const352 const UInt32 ImageBase::getPixelFormat(void) const 353 353 { 354 354 return _sfPixelFormat.getValue(); … … 383 383 //! Get the value of the Image::_sfFrameSize field. 384 384 inline 385 const Int32 &ImageBase::getFrameSize(void) const385 const Int32 ImageBase::getFrameSize(void) const 386 386 { 387 387 return _sfFrameSize.getValue(); … … 416 416 //! Get the value of the Image::_sfName field. 417 417 inline 418 const std::string &ImageBase::getName(void) const418 const std::string ImageBase::getName(void) const 419 419 { 420 420 return _sfName.getValue(); … … 449 449 //! Get the value of the Image::_sfDataType field. 450 450 inline 451 const Int32 &ImageBase::getDataType(void) const451 const Int32 ImageBase::getDataType(void) const 452 452 { 453 453 return _sfDataType.getValue(); … … 482 482 //! Get the value of the Image::_sfComponentSize field. 483 483 inline 484 const Int32 &ImageBase::getComponentSize(void) const484 const Int32 ImageBase::getComponentSize(void) const 485 485 { 486 486 return _sfComponentSize.getValue(); … … 515 515 //! Get the value of the Image::_sfSideCount field. 516 516 inline 517 const Int32 &ImageBase::getSideCount(void) const517 const Int32 ImageBase::getSideCount(void) const 518 518 { 519 519 return _sfSideCount.getValue(); … … 548 548 //! Get the value of the Image::_sfSideSize field. 549 549 inline 550 const Int32 &ImageBase::getSideSize(void) const550 const Int32 ImageBase::getSideSize(void) const 551 551 { 552 552 return _sfSideSize.getValue(); … … 581 581 //! Get the value of the Image::_sfForceCompressedData field. 582 582 inline 583 const bool &ImageBase::getForceCompressedData(void) const583 const bool ImageBase::getForceCompressedData(void) const 584 584 { 585 585 return _sfForceCompressedData.getValue(); … … 614 614 //! Get the value of the Image::_sfForceAlphaChannel field. 615 615 inline 616 const bool &ImageBase::getForceAlphaChannel(void) const616 const bool ImageBase::getForceAlphaChannel(void) const 617 617 { 618 618 return _sfForceAlphaChannel.getValue(); … … 647 647 //! Get the value of the Image::_sfForceColorChannel field. 648 648 inline 649 const bool &ImageBase::getForceColorChannel(void) const649 const bool ImageBase::getForceColorChannel(void) const 650 650 { 651 651 return _sfForceColorChannel.getValue(); … … 680 680 //! Get the value of the Image::_sfForceAlphaBinary field. 681 681 inline 682 const bool &ImageBase::getForceAlphaBinary(void) const682 const bool ImageBase::getForceAlphaBinary(void) const 683 683 { 684 684 return _sfForceAlphaBinary.getValue(); … … 713 713 //! Get the value of the Image::_sfResX field. 714 714 inline 715 const Real32 &ImageBase::getResX(void) const715 const Real32 ImageBase::getResX(void) const 716 716 { 717 717 return _sfResX.getValue(); … … 746 746 //! Get the value of the Image::_sfResY field. 747 747 inline 748 const Real32 &ImageBase::getResY(void) const748 const Real32 ImageBase::getResY(void) const 749 749 { 750 750 return _sfResY.getValue(); … … 779 779 //! Get the value of the Image::_sfResUnit field. 780 780 inline 781 const UInt16 &ImageBase::getResUnit(void) const781 const UInt16 ImageBase::getResUnit(void) const 782 782 { 783 783 return _sfResUnit.getValue(); … … 803 803 //! Get the value of the \a index element the Image::_mfPixel field. 804 804 inline 805 const UInt8 &ImageBase::getPixel(const UInt32 index) const805 const UInt8 ImageBase::getPixel(const UInt32 index) const 806 806 { 807 807 return _mfPixel[index]; … … 816 816 } 817 817 818 //! Get the Image::_mfPixel field.819 inline820 MFUInt8 &ImageBase::editPixel(void)821 {822 editMField(PixelFieldMask, _mfPixel);823 824 return _mfPixel;825 }826 827 818 #ifdef OSG_1_GET_COMPAT 828 819 inline … … 840 831 #endif 841 832 842 843 //! Get the Image::_mfPixel field.844 inline845 const MFUInt8 &ImageBase::getPixel(void) const846 {847 return _mfPixel;848 }849 833 850 834
