Changeset 54 for trunk/Source/System/Image/ES/OSGImageBase.inl
- Timestamp:
- 09/06/06 00:48:55 (2 years ago)
- Files:
-
- trunk/Source/System/Image/ES/OSGImageBase.inl (modified) (20 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/Source/System/Image/ES/OSGImageBase.inl
r2 r54 91 91 } 92 92 93 #ifdef OSG_1_COMPAT 94 inline 95 Int32 &ImageBase::getDimension(void) 96 { 97 return this->editDimension(); 98 } 99 #endif 100 93 101 //! Set the value of the Image::_sfDimension field. 94 102 inline … … 116 124 } 117 125 126 #ifdef OSG_1_COMPAT 127 inline 128 Int32 &ImageBase::getWidth(void) 129 { 130 return this->editWidth(); 131 } 132 #endif 133 118 134 //! Set the value of the Image::_sfWidth field. 119 135 inline … … 141 157 } 142 158 159 #ifdef OSG_1_COMPAT 160 inline 161 Int32 &ImageBase::getHeight(void) 162 { 163 return this->editHeight(); 164 } 165 #endif 166 143 167 //! Set the value of the Image::_sfHeight field. 144 168 inline … … 166 190 } 167 191 192 #ifdef OSG_1_COMPAT 193 inline 194 Int32 &ImageBase::getDepth(void) 195 { 196 return this->editDepth(); 197 } 198 #endif 199 168 200 //! Set the value of the Image::_sfDepth field. 169 201 inline … … 191 223 } 192 224 225 #ifdef OSG_1_COMPAT 226 inline 227 Int32 &ImageBase::getBpp(void) 228 { 229 return this->editBpp(); 230 } 231 #endif 232 193 233 //! Set the value of the Image::_sfBpp field. 194 234 inline … … 216 256 } 217 257 258 #ifdef OSG_1_COMPAT 259 inline 260 Int32 &ImageBase::getMipMapCount(void) 261 { 262 return this->editMipMapCount(); 263 } 264 #endif 265 218 266 //! Set the value of the Image::_sfMipMapCount field. 219 267 inline … … 241 289 } 242 290 291 #ifdef OSG_1_COMPAT 292 inline 293 Int32 &ImageBase::getFrameCount(void) 294 { 295 return this->editFrameCount(); 296 } 297 #endif 298 243 299 //! Set the value of the Image::_sfFrameCount field. 244 300 inline … … 266 322 } 267 323 324 #ifdef OSG_1_COMPAT 325 inline 326 Time &ImageBase::getFrameDelay(void) 327 { 328 return this->editFrameDelay(); 329 } 330 #endif 331 268 332 //! Set the value of the Image::_sfFrameDelay field. 269 333 inline … … 291 355 } 292 356 357 #ifdef OSG_1_COMPAT 358 inline 359 UInt32 &ImageBase::getPixelFormat(void) 360 { 361 return this->editPixelFormat(); 362 } 363 #endif 364 293 365 //! Set the value of the Image::_sfPixelFormat field. 294 366 inline … … 316 388 } 317 389 390 #ifdef OSG_1_COMPAT 391 inline 392 Int32 &ImageBase::getFrameSize(void) 393 { 394 return this->editFrameSize(); 395 } 396 #endif 397 318 398 //! Set the value of the Image::_sfFrameSize field. 319 399 inline … … 341 421 } 342 422 423 #ifdef OSG_1_COMPAT 424 inline 425 std::string &ImageBase::getName(void) 426 { 427 return this->editName(); 428 } 429 #endif 430 343 431 //! Set the value of the Image::_sfName field. 344 432 inline … … 366 454 } 367 455 456 #ifdef OSG_1_COMPAT 457 inline 458 Int32 &ImageBase::getDataType(void) 459 { 460 return this->editDataType(); 461 } 462 #endif 463 368 464 //! Set the value of the Image::_sfDataType field. 369 465 inline … … 391 487 } 392 488 489 #ifdef OSG_1_COMPAT 490 inline 491 Int32 &ImageBase::getComponentSize(void) 492 { 493 return this->editComponentSize(); 494 } 495 #endif 496 393 497 //! Set the value of the Image::_sfComponentSize field. 394 498 inline … … 416 520 } 417 521 522 #ifdef OSG_1_COMPAT 523 inline 524 Int32 &ImageBase::getSideCount(void) 525 { 526 return this->editSideCount(); 527 } 528 #endif 529 418 530 //! Set the value of the Image::_sfSideCount field. 419 531 inline … … 441 553 } 442 554 555 #ifdef OSG_1_COMPAT 556 inline 557 Int32 &ImageBase::getSideSize(void) 558 { 559 return this->editSideSize(); 560 } 561 #endif 562 443 563 //! Set the value of the Image::_sfSideSize field. 444 564 inline … … 466 586 } 467 587 588 #ifdef OSG_1_COMPAT 589 inline 590 bool &ImageBase::getForceCompressedData(void) 591 { 592 return this->editForceCompressedData(); 593 } 594 #endif 595 468 596 //! Set the value of the Image::_sfForceCompressedData field. 469 597 inline … … 491 619 } 492 620 621 #ifdef OSG_1_COMPAT 622 inline 623 bool &ImageBase::getForceAlphaChannel(void) 624 { 625 return this->editForceAlphaChannel(); 626 } 627 #endif 628 493 629 //! Set the value of the Image::_sfForceAlphaChannel field. 494 630 inline … … 516 652 } 517 653 654 #ifdef OSG_1_COMPAT 655 inline 656 bool &ImageBase::getForceColorChannel(void) 657 { 658 return this->editForceColorChannel(); 659 } 660 #endif 661 518 662 //! Set the value of the Image::_sfForceColorChannel field. 519 663 inline … … 541 685 } 542 686 687 #ifdef OSG_1_COMPAT 688 inline 689 bool &ImageBase::getForceAlphaBinary(void) 690 { 691 return this->editForceAlphaBinary(); 692 } 693 #endif 694 543 695 //! Set the value of the Image::_sfForceAlphaBinary field. 544 696 inline … … 587 739 return _mfPixel; 588 740 } 741 742 #ifdef OSG_1_COMPAT 743 inline 744 UInt8 &ImageBase::getPixel(const UInt32 index) 745 { 746 return this->editPixel(index); 747 } 748 749 inline 750 MFUInt8 &ImageBase::getPixel(void) 751 { 752 return this->editPixel(); 753 } 754 755 #endif 756 589 757 590 758 //! Get the Image::_mfPixel field.
