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 TextureChunk! 00047 ** ** 00048 ***************************************************************************** 00049 \*****************************************************************************/ 00050 00051 #include <OSGConfig.h> 00052 00053 OSG_BEGIN_NAMESPACE 00054 00055 00057 inline 00058 OSG::FieldContainerType &TextureChunkBase::getClassType(void) 00059 { 00060 return _type; 00061 } 00062 00064 inline 00065 OSG::UInt32 TextureChunkBase::getClassTypeId(void) 00066 { 00067 return _type.getId(); 00068 } 00069 00071 inline 00072 TextureChunkPtr TextureChunkBase::create(void) 00073 { 00074 TextureChunkPtr fc; 00075 00076 if(getClassType().getPrototype() != OSG::NullFC) 00077 { 00078 fc = TextureChunkPtr::dcast( 00079 getClassType().getPrototype()-> shallowCopy()); 00080 } 00081 00082 return fc; 00083 } 00084 00086 inline 00087 TextureChunkPtr TextureChunkBase::createEmpty(void) 00088 { 00089 TextureChunkPtr returnValue; 00090 00091 newPtr(returnValue); 00092 00093 return returnValue; 00094 } 00095 00096 00097 /*------------------------------ get -----------------------------------*/ 00098 00100 inline 00101 SFImagePtr *TextureChunkBase::getSFImage(void) 00102 { 00103 return &_sfImage; 00104 } 00105 00107 inline 00108 SFGLenum *TextureChunkBase::getSFInternalFormat(void) 00109 { 00110 return &_sfInternalFormat; 00111 } 00112 00114 inline 00115 SFGLenum *TextureChunkBase::getSFExternalFormat(void) 00116 { 00117 return &_sfExternalFormat; 00118 } 00119 00121 inline 00122 SFBool *TextureChunkBase::getSFScale(void) 00123 { 00124 return &_sfScale; 00125 } 00126 00128 inline 00129 SFUInt32 *TextureChunkBase::getSFFrame(void) 00130 { 00131 return &_sfFrame; 00132 } 00133 00135 inline 00136 SFGLenum *TextureChunkBase::getSFMinFilter(void) 00137 { 00138 return &_sfMinFilter; 00139 } 00140 00142 inline 00143 SFGLenum *TextureChunkBase::getSFMagFilter(void) 00144 { 00145 return &_sfMagFilter; 00146 } 00147 00149 inline 00150 SFGLenum *TextureChunkBase::getSFWrapS(void) 00151 { 00152 return &_sfWrapS; 00153 } 00154 00156 inline 00157 SFGLenum *TextureChunkBase::getSFWrapT(void) 00158 { 00159 return &_sfWrapT; 00160 } 00161 00163 inline 00164 SFGLenum *TextureChunkBase::getSFWrapR(void) 00165 { 00166 return &_sfWrapR; 00167 } 00168 00170 inline 00171 SFGLenum *TextureChunkBase::getSFEnvMode(void) 00172 { 00173 return &_sfEnvMode; 00174 } 00175 00177 inline 00178 SFColor4f *TextureChunkBase::getSFEnvColor(void) 00179 { 00180 return &_sfEnvColor; 00181 } 00182 00184 inline 00185 SFGLenum *TextureChunkBase::getSFEnvCombineRGB(void) 00186 { 00187 return &_sfEnvCombineRGB; 00188 } 00189 00191 inline 00192 SFGLenum *TextureChunkBase::getSFEnvCombineAlpha(void) 00193 { 00194 return &_sfEnvCombineAlpha; 00195 } 00196 00198 inline 00199 SFReal32 *TextureChunkBase::getSFEnvScaleRGB(void) 00200 { 00201 return &_sfEnvScaleRGB; 00202 } 00203 00205 inline 00206 SFReal32 *TextureChunkBase::getSFEnvScaleAlpha(void) 00207 { 00208 return &_sfEnvScaleAlpha; 00209 } 00210 00212 inline 00213 SFGLenum *TextureChunkBase::getSFEnvSource0RGB(void) 00214 { 00215 return &_sfEnvSource0RGB; 00216 } 00217 00219 inline 00220 SFGLenum *TextureChunkBase::getSFEnvSource1RGB(void) 00221 { 00222 return &_sfEnvSource1RGB; 00223 } 00224 00226 inline 00227 SFGLenum *TextureChunkBase::getSFEnvSource2RGB(void) 00228 { 00229 return &_sfEnvSource2RGB; 00230 } 00231 00233 inline 00234 SFGLenum *TextureChunkBase::getSFEnvSource0Alpha(void) 00235 { 00236 return &_sfEnvSource0Alpha; 00237 } 00238 00240 inline 00241 SFGLenum *TextureChunkBase::getSFEnvSource1Alpha(void) 00242 { 00243 return &_sfEnvSource1Alpha; 00244 } 00245 00247 inline 00248 SFGLenum *TextureChunkBase::getSFEnvSource2Alpha(void) 00249 { 00250 return &_sfEnvSource2Alpha; 00251 } 00252 00254 inline 00255 SFGLenum *TextureChunkBase::getSFEnvOperand0RGB(void) 00256 { 00257 return &_sfEnvOperand0RGB; 00258 } 00259 00261 inline 00262 SFGLenum *TextureChunkBase::getSFEnvOperand1RGB(void) 00263 { 00264 return &_sfEnvOperand1RGB; 00265 } 00266 00268 inline 00269 SFGLenum *TextureChunkBase::getSFEnvOperand2RGB(void) 00270 { 00271 return &_sfEnvOperand2RGB; 00272 } 00273 00275 inline 00276 SFGLenum *TextureChunkBase::getSFEnvOperand0Alpha(void) 00277 { 00278 return &_sfEnvOperand0Alpha; 00279 } 00280 00282 inline 00283 SFGLenum *TextureChunkBase::getSFEnvOperand1Alpha(void) 00284 { 00285 return &_sfEnvOperand1Alpha; 00286 } 00287 00289 inline 00290 SFGLenum *TextureChunkBase::getSFEnvOperand2Alpha(void) 00291 { 00292 return &_sfEnvOperand2Alpha; 00293 } 00294 00296 inline 00297 SFGLenum *TextureChunkBase::getSFGLId(void) 00298 { 00299 return &_sfGLId; 00300 } 00301 00303 inline 00304 SFInt32 *TextureChunkBase::getSFIgnoreGLForAspect(void) 00305 { 00306 return &_sfIgnoreGLForAspect; 00307 } 00308 00310 inline 00311 SFBool *TextureChunkBase::getSFPointSprite(void) 00312 { 00313 return &_sfPointSprite; 00314 } 00315 00317 inline 00318 SFReal32 *TextureChunkBase::getSFPriority(void) 00319 { 00320 return &_sfPriority; 00321 } 00322 00324 inline 00325 SFGLenum *TextureChunkBase::getSFShaderOperation(void) 00326 { 00327 return &_sfShaderOperation; 00328 } 00329 00331 inline 00332 SFGLenum *TextureChunkBase::getSFShaderInput(void) 00333 { 00334 return &_sfShaderInput; 00335 } 00336 00338 inline 00339 MFReal32 *TextureChunkBase::getMFShaderOffsetMatrix(void) 00340 { 00341 return &_mfShaderOffsetMatrix; 00342 } 00343 00345 inline 00346 SFReal32 *TextureChunkBase::getSFShaderOffsetScale(void) 00347 { 00348 return &_sfShaderOffsetScale; 00349 } 00350 00352 inline 00353 SFReal32 *TextureChunkBase::getSFShaderOffsetBias(void) 00354 { 00355 return &_sfShaderOffsetBias; 00356 } 00357 00359 inline 00360 SFGLenum *TextureChunkBase::getSFShaderRGBADotProduct(void) 00361 { 00362 return &_sfShaderRGBADotProduct; 00363 } 00364 00366 inline 00367 SFUInt8 *TextureChunkBase::getSFShaderCullModes(void) 00368 { 00369 return &_sfShaderCullModes; 00370 } 00371 00373 inline 00374 SFVec3f *TextureChunkBase::getSFShaderConstEye(void) 00375 { 00376 return &_sfShaderConstEye; 00377 } 00378 00380 inline 00381 SFReal32 *TextureChunkBase::getSFLodBias(void) 00382 { 00383 return &_sfLodBias; 00384 } 00385 00387 inline 00388 SFGLenum *TextureChunkBase::getSFTarget(void) 00389 { 00390 return &_sfTarget; 00391 } 00392 00394 inline 00395 SFInt32 *TextureChunkBase::getSFDirtyLeft(void) 00396 { 00397 return &_sfDirtyLeft; 00398 } 00399 00401 inline 00402 SFInt32 *TextureChunkBase::getSFDirtyMinX(void) 00403 { 00404 return &_sfDirtyMinX; 00405 } 00406 00408 inline 00409 SFInt32 *TextureChunkBase::getSFDirtyMaxX(void) 00410 { 00411 return &_sfDirtyMaxX; 00412 } 00413 00415 inline 00416 SFInt32 *TextureChunkBase::getSFDirtyMinY(void) 00417 { 00418 return &_sfDirtyMinY; 00419 } 00420 00422 inline 00423 SFInt32 *TextureChunkBase::getSFDirtyMaxY(void) 00424 { 00425 return &_sfDirtyMaxY; 00426 } 00427 00429 inline 00430 SFInt32 *TextureChunkBase::getSFDirtyMinZ(void) 00431 { 00432 return &_sfDirtyMinZ; 00433 } 00434 00436 inline 00437 SFInt32 *TextureChunkBase::getSFDirtyMaxZ(void) 00438 { 00439 return &_sfDirtyMaxZ; 00440 } 00441 00443 inline 00444 SFReal32 *TextureChunkBase::getSFAnisotropy(void) 00445 { 00446 return &_sfAnisotropy; 00447 } 00448 00450 inline 00451 SFColor4f *TextureChunkBase::getSFBorderColor(void) 00452 { 00453 return &_sfBorderColor; 00454 } 00455 00457 inline 00458 SFUInt32 *TextureChunkBase::getSFBorderWidth(void) 00459 { 00460 return &_sfBorderWidth; 00461 } 00462 00464 inline 00465 SFUInt32 *TextureChunkBase::getSFNPOTMatrixScale(void) 00466 { 00467 return &_sfNPOTMatrixScale; 00468 } 00469 00470 00472 inline 00473 ImagePtr &TextureChunkBase::getImage(void) 00474 { 00475 return _sfImage.getValue(); 00476 } 00477 00479 inline 00480 const ImagePtr &TextureChunkBase::getImage(void) const 00481 { 00482 return _sfImage.getValue(); 00483 } 00484 00486 inline 00487 void TextureChunkBase::setImage(const ImagePtr &value) 00488 { 00489 _sfImage.setValue(value); 00490 } 00491 00493 inline 00494 GLenum &TextureChunkBase::getInternalFormat(void) 00495 { 00496 return _sfInternalFormat.getValue(); 00497 } 00498 00500 inline 00501 const GLenum &TextureChunkBase::getInternalFormat(void) const 00502 { 00503 return _sfInternalFormat.getValue(); 00504 } 00505 00507 inline 00508 void TextureChunkBase::setInternalFormat(const GLenum &value) 00509 { 00510 _sfInternalFormat.setValue(value); 00511 } 00512 00514 inline 00515 GLenum &TextureChunkBase::getExternalFormat(void) 00516 { 00517 return _sfExternalFormat.getValue(); 00518 } 00519 00521 inline 00522 const GLenum &TextureChunkBase::getExternalFormat(void) const 00523 { 00524 return _sfExternalFormat.getValue(); 00525 } 00526 00528 inline 00529 void TextureChunkBase::setExternalFormat(const GLenum &value) 00530 { 00531 _sfExternalFormat.setValue(value); 00532 } 00533 00535 inline 00536 bool &TextureChunkBase::getScale(void) 00537 { 00538 return _sfScale.getValue(); 00539 } 00540 00542 inline 00543 const bool &TextureChunkBase::getScale(void) const 00544 { 00545 return _sfScale.getValue(); 00546 } 00547 00549 inline 00550 void TextureChunkBase::setScale(const bool &value) 00551 { 00552 _sfScale.setValue(value); 00553 } 00554 00556 inline 00557 UInt32 &TextureChunkBase::getFrame(void) 00558 { 00559 return _sfFrame.getValue(); 00560 } 00561 00563 inline 00564 const UInt32 &TextureChunkBase::getFrame(void) const 00565 { 00566 return _sfFrame.getValue(); 00567 } 00568 00570 inline 00571 void TextureChunkBase::setFrame(const UInt32 &value) 00572 { 00573 _sfFrame.setValue(value); 00574 } 00575 00577 inline 00578 GLenum &TextureChunkBase::getMinFilter(void) 00579 { 00580 return _sfMinFilter.getValue(); 00581 } 00582 00584 inline 00585 const GLenum &TextureChunkBase::getMinFilter(void) const 00586 { 00587 return _sfMinFilter.getValue(); 00588 } 00589 00591 inline 00592 void TextureChunkBase::setMinFilter(const GLenum &value) 00593 { 00594 _sfMinFilter.setValue(value); 00595 } 00596 00598 inline 00599 GLenum &TextureChunkBase::getMagFilter(void) 00600 { 00601 return _sfMagFilter.getValue(); 00602 } 00603 00605 inline 00606 const GLenum &TextureChunkBase::getMagFilter(void) const 00607 { 00608 return _sfMagFilter.getValue(); 00609 } 00610 00612 inline 00613 void TextureChunkBase::setMagFilter(const GLenum &value) 00614 { 00615 _sfMagFilter.setValue(value); 00616 } 00617 00619 inline 00620 GLenum &TextureChunkBase::getWrapS(void) 00621 { 00622 return _sfWrapS.getValue(); 00623 } 00624 00626 inline 00627 const GLenum &TextureChunkBase::getWrapS(void) const 00628 { 00629 return _sfWrapS.getValue(); 00630 } 00631 00633 inline 00634 void TextureChunkBase::setWrapS(const GLenum &value) 00635 { 00636 _sfWrapS.setValue(value); 00637 } 00638 00640 inline 00641 GLenum &TextureChunkBase::getWrapT(void) 00642 { 00643 return _sfWrapT.getValue(); 00644 } 00645 00647 inline 00648 const GLenum &TextureChunkBase::getWrapT(void) const 00649 { 00650 return _sfWrapT.getValue(); 00651 } 00652 00654 inline 00655 void TextureChunkBase::setWrapT(const GLenum &value) 00656 { 00657 _sfWrapT.setValue(value); 00658 } 00659 00661 inline 00662 GLenum &TextureChunkBase::getWrapR(void) 00663 { 00664 return _sfWrapR.getValue(); 00665 } 00666 00668 inline 00669 const GLenum &TextureChunkBase::getWrapR(void) const 00670 { 00671 return _sfWrapR.getValue(); 00672 } 00673 00675 inline 00676 void TextureChunkBase::setWrapR(const GLenum &value) 00677 { 00678 _sfWrapR.setValue(value); 00679 } 00680 00682 inline 00683 GLenum &TextureChunkBase::getEnvMode(void) 00684 { 00685 return _sfEnvMode.getValue(); 00686 } 00687 00689 inline 00690 const GLenum &TextureChunkBase::getEnvMode(void) const 00691 { 00692 return _sfEnvMode.getValue(); 00693 } 00694 00696 inline 00697 void TextureChunkBase::setEnvMode(const GLenum &value) 00698 { 00699 _sfEnvMode.setValue(value); 00700 } 00701 00703 inline 00704 Color4f &TextureChunkBase::getEnvColor(void) 00705 { 00706 return _sfEnvColor.getValue(); 00707 } 00708 00710 inline 00711 const Color4f &TextureChunkBase::getEnvColor(void) const 00712 { 00713 return _sfEnvColor.getValue(); 00714 } 00715 00717 inline 00718 void TextureChunkBase::setEnvColor(const Color4f &value) 00719 { 00720 _sfEnvColor.setValue(value); 00721 } 00722 00724 inline 00725 GLenum &TextureChunkBase::getEnvCombineRGB(void) 00726 { 00727 return _sfEnvCombineRGB.getValue(); 00728 } 00729 00731 inline 00732 const GLenum &TextureChunkBase::getEnvCombineRGB(void) const 00733 { 00734 return _sfEnvCombineRGB.getValue(); 00735 } 00736 00738 inline 00739 void TextureChunkBase::setEnvCombineRGB(const GLenum &value) 00740 { 00741 _sfEnvCombineRGB.setValue(value); 00742 } 00743 00745 inline 00746 GLenum &TextureChunkBase::getEnvCombineAlpha(void) 00747 { 00748 return _sfEnvCombineAlpha.getValue(); 00749 } 00750 00752 inline 00753 const GLenum &TextureChunkBase::getEnvCombineAlpha(void) const 00754 { 00755 return _sfEnvCombineAlpha.getValue(); 00756 } 00757 00759 inline 00760 void TextureChunkBase::setEnvCombineAlpha(const GLenum &value) 00761 { 00762 _sfEnvCombineAlpha.setValue(value); 00763 } 00764 00766 inline 00767 Real32 &TextureChunkBase::getEnvScaleRGB(void) 00768 { 00769 return _sfEnvScaleRGB.getValue(); 00770 } 00771 00773 inline 00774 const Real32 &TextureChunkBase::getEnvScaleRGB(void) const 00775 { 00776 return _sfEnvScaleRGB.getValue(); 00777 } 00778 00780 inline 00781 void TextureChunkBase::setEnvScaleRGB(const Real32 &value) 00782 { 00783 _sfEnvScaleRGB.setValue(value); 00784 } 00785 00787 inline 00788 Real32 &TextureChunkBase::getEnvScaleAlpha(void) 00789 { 00790 return _sfEnvScaleAlpha.getValue(); 00791 } 00792 00794 inline 00795 const Real32 &TextureChunkBase::getEnvScaleAlpha(void) const 00796 { 00797 return _sfEnvScaleAlpha.getValue(); 00798 } 00799 00801 inline 00802 void TextureChunkBase::setEnvScaleAlpha(const Real32 &value) 00803 { 00804 _sfEnvScaleAlpha.setValue(value); 00805 } 00806 00808 inline 00809 GLenum &TextureChunkBase::getEnvSource0RGB(void) 00810 { 00811 return _sfEnvSource0RGB.getValue(); 00812 } 00813 00815 inline 00816 const GLenum &TextureChunkBase::getEnvSource0RGB(void) const 00817 { 00818 return _sfEnvSource0RGB.getValue(); 00819 } 00820 00822 inline 00823 void TextureChunkBase::setEnvSource0RGB(const GLenum &value) 00824 { 00825 _sfEnvSource0RGB.setValue(value); 00826 } 00827 00829 inline 00830 GLenum &TextureChunkBase::getEnvSource1RGB(void) 00831 { 00832 return _sfEnvSource1RGB.getValue(); 00833 } 00834 00836 inline 00837 const GLenum &TextureChunkBase::getEnvSource1RGB(void) const 00838 { 00839 return _sfEnvSource1RGB.getValue(); 00840 } 00841 00843 inline 00844 void TextureChunkBase::setEnvSource1RGB(const GLenum &value) 00845 { 00846 _sfEnvSource1RGB.setValue(value); 00847 } 00848 00850 inline 00851 GLenum &TextureChunkBase::getEnvSource2RGB(void) 00852 { 00853 return _sfEnvSource2RGB.getValue(); 00854 } 00855 00857 inline 00858 const GLenum &TextureChunkBase::getEnvSource2RGB(void) const 00859 { 00860 return _sfEnvSource2RGB.getValue(); 00861 } 00862 00864 inline 00865 void TextureChunkBase::setEnvSource2RGB(const GLenum &value) 00866 { 00867 _sfEnvSource2RGB.setValue(value); 00868 } 00869 00871 inline 00872 GLenum &TextureChunkBase::getEnvSource0Alpha(void) 00873 { 00874 return _sfEnvSource0Alpha.getValue(); 00875 } 00876 00878 inline 00879 const GLenum &TextureChunkBase::getEnvSource0Alpha(void) const 00880 { 00881 return _sfEnvSource0Alpha.getValue(); 00882 } 00883 00885 inline 00886 void TextureChunkBase::setEnvSource0Alpha(const GLenum &value) 00887 { 00888 _sfEnvSource0Alpha.setValue(value); 00889 } 00890 00892 inline 00893 GLenum &TextureChunkBase::getEnvSource1Alpha(void) 00894 { 00895 return _sfEnvSource1Alpha.getValue(); 00896 } 00897 00899 inline 00900 const GLenum &TextureChunkBase::getEnvSource1Alpha(void) const 00901 { 00902 return _sfEnvSource1Alpha.getValue(); 00903 } 00904 00906 inline 00907 void TextureChunkBase::setEnvSource1Alpha(const GLenum &value) 00908 { 00909 _sfEnvSource1Alpha.setValue(value); 00910 } 00911 00913 inline 00914 GLenum &TextureChunkBase::getEnvSource2Alpha(void) 00915 { 00916 return _sfEnvSource2Alpha.getValue(); 00917 } 00918 00920 inline 00921 const GLenum &TextureChunkBase::getEnvSource2Alpha(void) const 00922 { 00923 return _sfEnvSource2Alpha.getValue(); 00924 } 00925 00927 inline 00928 void TextureChunkBase::setEnvSource2Alpha(const GLenum &value) 00929 { 00930 _sfEnvSource2Alpha.setValue(value); 00931 } 00932 00934 inline 00935 GLenum &TextureChunkBase::getEnvOperand0RGB(void) 00936 { 00937 return _sfEnvOperand0RGB.getValue(); 00938 } 00939 00941 inline 00942 const GLenum &TextureChunkBase::getEnvOperand0RGB(void) const 00943 { 00944 return _sfEnvOperand0RGB.getValue(); 00945 } 00946 00948 inline 00949 void TextureChunkBase::setEnvOperand0RGB(const GLenum &value) 00950 { 00951 _sfEnvOperand0RGB.setValue(value); 00952 } 00953 00955 inline 00956 GLenum &TextureChunkBase::getEnvOperand1RGB(void) 00957 { 00958 return _sfEnvOperand1RGB.getValue(); 00959 } 00960 00962 inline 00963 const GLenum &TextureChunkBase::getEnvOperand1RGB(void) const 00964 { 00965 return _sfEnvOperand1RGB.getValue(); 00966 } 00967 00969 inline 00970 void TextureChunkBase::setEnvOperand1RGB(const GLenum &value) 00971 { 00972 _sfEnvOperand1RGB.setValue(value); 00973 } 00974 00976 inline 00977 GLenum &TextureChunkBase::getEnvOperand2RGB(void) 00978 { 00979 return _sfEnvOperand2RGB.getValue(); 00980 } 00981 00983 inline 00984 const GLenum &TextureChunkBase::getEnvOperand2RGB(void) const 00985 { 00986 return _sfEnvOperand2RGB.getValue(); 00987 } 00988 00990 inline 00991 void TextureChunkBase::setEnvOperand2RGB(const GLenum &value) 00992 { 00993 _sfEnvOperand2RGB.setValue(value); 00994 } 00995 00997 inline 00998 GLenum &TextureChunkBase::getEnvOperand0Alpha(void) 00999 { 01000 return _sfEnvOperand0Alpha.getValue(); 01001 } 01002 01004 inline 01005 const GLenum &TextureChunkBase::getEnvOperand0Alpha(void) const 01006 { 01007 return _sfEnvOperand0Alpha.getValue(); 01008 } 01009 01011 inline 01012 void TextureChunkBase::setEnvOperand0Alpha(const GLenum &value) 01013 { 01014 _sfEnvOperand0Alpha.setValue(value); 01015 } 01016 01018 inline 01019 GLenum &TextureChunkBase::getEnvOperand1Alpha(void) 01020 { 01021 return _sfEnvOperand1Alpha.getValue(); 01022 } 01023 01025 inline 01026 const GLenum &TextureChunkBase::getEnvOperand1Alpha(void) const 01027 { 01028 return _sfEnvOperand1Alpha.getValue(); 01029 } 01030 01032 inline 01033 void TextureChunkBase::setEnvOperand1Alpha(const GLenum &value) 01034 { 01035 _sfEnvOperand1Alpha.setValue(value); 01036 } 01037 01039 inline 01040 GLenum &TextureChunkBase::getEnvOperand2Alpha(void) 01041 { 01042 return _sfEnvOperand2Alpha.getValue(); 01043 } 01044 01046 inline 01047 const GLenum &TextureChunkBase::getEnvOperand2Alpha(void) const 01048 { 01049 return _sfEnvOperand2Alpha.getValue(); 01050 } 01051 01053 inline 01054 void TextureChunkBase::setEnvOperand2Alpha(const GLenum &value) 01055 { 01056 _sfEnvOperand2Alpha.setValue(value); 01057 } 01058 01060 inline 01061 GLenum &TextureChunkBase::getGLId(void) 01062 { 01063 return _sfGLId.getValue(); 01064 } 01065 01067 inline 01068 const GLenum &TextureChunkBase::getGLId(void) const 01069 { 01070 return _sfGLId.getValue(); 01071 } 01072 01074 inline 01075 void TextureChunkBase::setGLId(const GLenum &value) 01076 { 01077 _sfGLId.setValue(value); 01078 } 01079 01081 inline 01082 Int32 &TextureChunkBase::getIgnoreGLForAspect(void) 01083 { 01084 return _sfIgnoreGLForAspect.getValue(); 01085 } 01086 01088 inline 01089 const Int32 &TextureChunkBase::getIgnoreGLForAspect(void) const 01090 { 01091 return _sfIgnoreGLForAspect.getValue(); 01092 } 01093 01095 inline 01096 void TextureChunkBase::setIgnoreGLForAspect(const Int32 &value) 01097 { 01098 _sfIgnoreGLForAspect.setValue(value); 01099 } 01100 01102 inline 01103 bool &TextureChunkBase::getPointSprite(void) 01104 { 01105 return _sfPointSprite.getValue(); 01106 } 01107 01109 inline 01110 const bool &TextureChunkBase::getPointSprite(void) const 01111 { 01112 return _sfPointSprite.getValue(); 01113 } 01114 01116 inline 01117 void TextureChunkBase::setPointSprite(const bool &value) 01118 { 01119 _sfPointSprite.setValue(value); 01120 } 01121 01123 inline 01124 Real32 &TextureChunkBase::getPriority(void) 01125 { 01126 return _sfPriority.getValue(); 01127 } 01128 01130 inline 01131 const Real32 &TextureChunkBase::getPriority(void) const 01132 { 01133 return _sfPriority.getValue(); 01134 } 01135 01137 inline 01138 void TextureChunkBase::setPriority(const Real32 &value) 01139 { 01140 _sfPriority.setValue(value); 01141 } 01142 01144 inline 01145 GLenum &TextureChunkBase::getShaderOperation(void) 01146 { 01147 return _sfShaderOperation.getValue(); 01148 } 01149 01151 inline 01152 const GLenum &TextureChunkBase::getShaderOperation(void) const 01153 { 01154 return _sfShaderOperation.getValue(); 01155 } 01156 01158 inline 01159 void TextureChunkBase::setShaderOperation(const GLenum &value) 01160 { 01161 _sfShaderOperation.setValue(value); 01162 } 01163 01165 inline 01166 GLenum &TextureChunkBase::getShaderInput(void) 01167 { 01168 return _sfShaderInput.getValue(); 01169 } 01170 01172 inline 01173 const GLenum &TextureChunkBase::getShaderInput(void) const 01174 { 01175 return _sfShaderInput.getValue(); 01176 } 01177 01179 inline 01180 void TextureChunkBase::setShaderInput(const GLenum &value) 01181 { 01182 _sfShaderInput.setValue(value); 01183 } 01184 01186 inline 01187 Real32 &TextureChunkBase::getShaderOffsetScale(void) 01188 { 01189 return _sfShaderOffsetScale.getValue(); 01190 } 01191 01193 inline 01194 const Real32 &TextureChunkBase::getShaderOffsetScale(void) const 01195 { 01196 return _sfShaderOffsetScale.getValue(); 01197 } 01198 01200 inline 01201 void TextureChunkBase::setShaderOffsetScale(const Real32 &value) 01202 { 01203 _sfShaderOffsetScale.setValue(value); 01204 } 01205 01207 inline 01208 Real32 &TextureChunkBase::getShaderOffsetBias(void) 01209 { 01210 return _sfShaderOffsetBias.getValue(); 01211 } 01212 01214 inline 01215 const Real32 &TextureChunkBase::getShaderOffsetBias(void) const 01216 { 01217 return _sfShaderOffsetBias.getValue(); 01218 } 01219 01221 inline 01222 void TextureChunkBase::setShaderOffsetBias(const Real32 &value) 01223 { 01224 _sfShaderOffsetBias.setValue(value); 01225 } 01226 01228 inline 01229 GLenum &TextureChunkBase::getShaderRGBADotProduct(void) 01230 { 01231 return _sfShaderRGBADotProduct.getValue(); 01232 } 01233 01235 inline 01236 const GLenum &TextureChunkBase::getShaderRGBADotProduct(void) const 01237 { 01238 return _sfShaderRGBADotProduct.getValue(); 01239 } 01240 01242 inline 01243 void TextureChunkBase::setShaderRGBADotProduct(const GLenum &value) 01244 { 01245 _sfShaderRGBADotProduct.setValue(value); 01246 } 01247 01249 inline 01250 UInt8 &TextureChunkBase::getShaderCullModes(void) 01251 { 01252 return _sfShaderCullModes.getValue(); 01253 } 01254 01256 inline 01257 const UInt8 &TextureChunkBase::getShaderCullModes(void) const 01258 { 01259 return _sfShaderCullModes.getValue(); 01260 } 01261 01263 inline 01264 void TextureChunkBase::setShaderCullModes(const UInt8 &value) 01265 { 01266 _sfShaderCullModes.setValue(value); 01267 } 01268 01270 inline 01271 Vec3f &TextureChunkBase::getShaderConstEye(void) 01272 { 01273 return _sfShaderConstEye.getValue(); 01274 } 01275 01277 inline 01278 const Vec3f &TextureChunkBase::getShaderConstEye(void) const 01279 { 01280 return _sfShaderConstEye.getValue(); 01281 } 01282 01284 inline 01285 void TextureChunkBase::setShaderConstEye(const Vec3f &value) 01286 { 01287 _sfShaderConstEye.setValue(value); 01288 } 01289 01291 inline 01292 Real32 &TextureChunkBase::getLodBias(void) 01293 { 01294 return _sfLodBias.getValue(); 01295 } 01296 01298 inline 01299 const Real32 &TextureChunkBase::getLodBias(void) const 01300 { 01301 return _sfLodBias.getValue(); 01302 } 01303 01305 inline 01306 void TextureChunkBase::setLodBias(const Real32 &value) 01307 { 01308 _sfLodBias.setValue(value); 01309 } 01310 01312 inline 01313 GLenum &TextureChunkBase::getTarget(void) 01314 { 01315 return _sfTarget.getValue(); 01316 } 01317 01319 inline 01320 const GLenum &TextureChunkBase::getTarget(void) const 01321 { 01322 return _sfTarget.getValue(); 01323 } 01324 01326 inline 01327 void TextureChunkBase::setTarget(const GLenum &value) 01328 { 01329 _sfTarget.setValue(value); 01330 } 01331 01333 inline 01334 Int32 &TextureChunkBase::getDirtyLeft(void) 01335 { 01336 return _sfDirtyLeft.getValue(); 01337 } 01338 01340 inline 01341 const Int32 &TextureChunkBase::getDirtyLeft(void) const 01342 { 01343 return _sfDirtyLeft.getValue(); 01344 } 01345 01347 inline 01348 void TextureChunkBase::setDirtyLeft(const Int32 &value) 01349 { 01350 _sfDirtyLeft.setValue(value); 01351 } 01352 01354 inline 01355 Int32 &TextureChunkBase::getDirtyMinX(void) 01356 { 01357 return _sfDirtyMinX.getValue(); 01358 } 01359 01361 inline 01362 const Int32 &TextureChunkBase::getDirtyMinX(void) const 01363 { 01364 return _sfDirtyMinX.getValue(); 01365 } 01366 01368 inline 01369 void TextureChunkBase::setDirtyMinX(const Int32 &value) 01370 { 01371 _sfDirtyMinX.setValue(value); 01372 } 01373 01375 inline 01376 Int32 &TextureChunkBase::getDirtyMaxX(void) 01377 { 01378 return _sfDirtyMaxX.getValue(); 01379 } 01380 01382 inline 01383 const Int32 &TextureChunkBase::getDirtyMaxX(void) const 01384 { 01385 return _sfDirtyMaxX.getValue(); 01386 } 01387 01389 inline 01390 void TextureChunkBase::setDirtyMaxX(const Int32 &value) 01391 { 01392 _sfDirtyMaxX.setValue(value); 01393 } 01394 01396 inline 01397 Int32 &TextureChunkBase::getDirtyMinY(void) 01398 { 01399 return _sfDirtyMinY.getValue(); 01400 } 01401 01403 inline 01404 const Int32 &TextureChunkBase::getDirtyMinY(void) const 01405 { 01406 return _sfDirtyMinY.getValue(); 01407 } 01408 01410 inline 01411 void TextureChunkBase::setDirtyMinY(const Int32 &value) 01412 { 01413 _sfDirtyMinY.setValue(value); 01414 } 01415 01417 inline 01418 Int32 &TextureChunkBase::getDirtyMaxY(void) 01419 { 01420 return _sfDirtyMaxY.getValue(); 01421 } 01422 01424 inline 01425 const Int32 &TextureChunkBase::getDirtyMaxY(void) const 01426 { 01427 return _sfDirtyMaxY.getValue(); 01428 } 01429 01431 inline 01432 void TextureChunkBase::setDirtyMaxY(const Int32 &value) 01433 { 01434 _sfDirtyMaxY.setValue(value); 01435 } 01436 01438 inline 01439 Int32 &TextureChunkBase::getDirtyMinZ(void) 01440 { 01441 return _sfDirtyMinZ.getValue(); 01442 } 01443 01445 inline 01446 const Int32 &TextureChunkBase::getDirtyMinZ(void) const 01447 { 01448 return _sfDirtyMinZ.getValue(); 01449 } 01450 01452 inline 01453 void TextureChunkBase::setDirtyMinZ(const Int32 &value) 01454 { 01455 _sfDirtyMinZ.setValue(value); 01456 } 01457 01459 inline 01460 Int32 &TextureChunkBase::getDirtyMaxZ(void) 01461 { 01462 return _sfDirtyMaxZ.getValue(); 01463 } 01464 01466 inline 01467 const Int32 &TextureChunkBase::getDirtyMaxZ(void) const 01468 { 01469 return _sfDirtyMaxZ.getValue(); 01470 } 01471 01473 inline 01474 void TextureChunkBase::setDirtyMaxZ(const Int32 &value) 01475 { 01476 _sfDirtyMaxZ.setValue(value); 01477 } 01478 01480 inline 01481 Real32 &TextureChunkBase::getAnisotropy(void) 01482 { 01483 return _sfAnisotropy.getValue(); 01484 } 01485 01487 inline 01488 const Real32 &TextureChunkBase::getAnisotropy(void) const 01489 { 01490 return _sfAnisotropy.getValue(); 01491 } 01492 01494 inline 01495 void TextureChunkBase::setAnisotropy(const Real32 &value) 01496 { 01497 _sfAnisotropy.setValue(value); 01498 } 01499 01501 inline 01502 Color4f &TextureChunkBase::getBorderColor(void) 01503 { 01504 return _sfBorderColor.getValue(); 01505 } 01506 01508 inline 01509 const Color4f &TextureChunkBase::getBorderColor(void) const 01510 { 01511 return _sfBorderColor.getValue(); 01512 } 01513 01515 inline 01516 void TextureChunkBase::setBorderColor(const Color4f &value) 01517 { 01518 _sfBorderColor.setValue(value); 01519 } 01520 01522 inline 01523 UInt32 &TextureChunkBase::getBorderWidth(void) 01524 { 01525 return _sfBorderWidth.getValue(); 01526 } 01527 01529 inline 01530 const UInt32 &TextureChunkBase::getBorderWidth(void) const 01531 { 01532 return _sfBorderWidth.getValue(); 01533 } 01534 01536 inline 01537 void TextureChunkBase::setBorderWidth(const UInt32 &value) 01538 { 01539 _sfBorderWidth.setValue(value); 01540 } 01541 01543 inline 01544 UInt32 &TextureChunkBase::getNPOTMatrixScale(void) 01545 { 01546 return _sfNPOTMatrixScale.getValue(); 01547 } 01548 01550 inline 01551 const UInt32 &TextureChunkBase::getNPOTMatrixScale(void) const 01552 { 01553 return _sfNPOTMatrixScale.getValue(); 01554 } 01555 01557 inline 01558 void TextureChunkBase::setNPOTMatrixScale(const UInt32 &value) 01559 { 01560 _sfNPOTMatrixScale.setValue(value); 01561 } 01562 01563 01565 inline 01566 Real32 &TextureChunkBase::getShaderOffsetMatrix(const UInt32 index) 01567 { 01568 return _mfShaderOffsetMatrix[index]; 01569 } 01570 01572 inline 01573 MFReal32 &TextureChunkBase::getShaderOffsetMatrix(void) 01574 { 01575 return _mfShaderOffsetMatrix; 01576 } 01577 01579 inline 01580 const MFReal32 &TextureChunkBase::getShaderOffsetMatrix(void) const 01581 { 01582 return _mfShaderOffsetMatrix; 01583 } 01584 01585 OSG_END_NAMESPACE 01586 01587 #define OSGTEXTURECHUNKBASE_INLINE_CVSID "@(#)$Id: FCBaseTemplate_inl.h,v 1.20 2002/12/04 14:22:22 dirk Exp $" 01588
1.5.5