Show
Ignore:
Timestamp:
05/05/08 06:39:01 (7 months ago)
Author:
vossg
Message:

changed: base rebuild

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/Source/System/Depreciated/State/OSGTextureChunkBase.inl

    r1178 r1193  
    8989 
    9090    _sfImage.setValue(value); 
    91  
    9291} 
    9392//! Get the value of the TextureChunk::_sfInternalFormat field. 
     
    103102//! Get the value of the TextureChunk::_sfInternalFormat field. 
    104103inline 
    105 const GLenum &TextureChunkBase::getInternalFormat(void) const 
     104const GLenum TextureChunkBase::getInternalFormat(void) const 
    106105{ 
    107106    return _sfInternalFormat.getValue(); 
     
    136135//! Get the value of the TextureChunk::_sfExternalFormat field. 
    137136inline 
    138 const GLenum &TextureChunkBase::getExternalFormat(void) const 
     137const GLenum TextureChunkBase::getExternalFormat(void) const 
    139138{ 
    140139    return _sfExternalFormat.getValue(); 
     
    169168//! Get the value of the TextureChunk::_sfScale field. 
    170169inline 
    171 const bool &TextureChunkBase::getScale(void) const 
     170const bool TextureChunkBase::getScale(void) const 
    172171{ 
    173172    return _sfScale.getValue(); 
     
    202201//! Get the value of the TextureChunk::_sfFrame field. 
    203202inline 
    204 const UInt32 &TextureChunkBase::getFrame(void) const 
     203const UInt32 TextureChunkBase::getFrame(void) const 
    205204{ 
    206205    return _sfFrame.getValue(); 
     
    235234//! Get the value of the TextureChunk::_sfMinFilter field. 
    236235inline 
    237 const GLenum &TextureChunkBase::getMinFilter(void) const 
     236const GLenum TextureChunkBase::getMinFilter(void) const 
    238237{ 
    239238    return _sfMinFilter.getValue(); 
     
    268267//! Get the value of the TextureChunk::_sfMagFilter field. 
    269268inline 
    270 const GLenum &TextureChunkBase::getMagFilter(void) const 
     269const GLenum TextureChunkBase::getMagFilter(void) const 
    271270{ 
    272271    return _sfMagFilter.getValue(); 
     
    301300//! Get the value of the TextureChunk::_sfWrapS field. 
    302301inline 
    303 const GLenum &TextureChunkBase::getWrapS(void) const 
     302const GLenum TextureChunkBase::getWrapS(void) const 
    304303{ 
    305304    return _sfWrapS.getValue(); 
     
    334333//! Get the value of the TextureChunk::_sfWrapT field. 
    335334inline 
    336 const GLenum &TextureChunkBase::getWrapT(void) const 
     335const GLenum TextureChunkBase::getWrapT(void) const 
    337336{ 
    338337    return _sfWrapT.getValue(); 
     
    367366//! Get the value of the TextureChunk::_sfWrapR field. 
    368367inline 
    369 const GLenum &TextureChunkBase::getWrapR(void) const 
     368const GLenum TextureChunkBase::getWrapR(void) const 
    370369{ 
    371370    return _sfWrapR.getValue(); 
     
    400399//! Get the value of the TextureChunk::_sfEnvMode field. 
    401400inline 
    402 const GLenum &TextureChunkBase::getEnvMode(void) const 
     401const GLenum TextureChunkBase::getEnvMode(void) const 
    403402{ 
    404403    return _sfEnvMode.getValue(); 
     
    433432//! Get the value of the TextureChunk::_sfEnvColor field. 
    434433inline 
    435 const Color4f &TextureChunkBase::getEnvColor(void) const 
     434const Color4f TextureChunkBase::getEnvColor(void) const 
    436435{ 
    437436    return _sfEnvColor.getValue(); 
     
    466465//! Get the value of the TextureChunk::_sfEnvCombineRGB field. 
    467466inline 
    468 const GLenum &TextureChunkBase::getEnvCombineRGB(void) const 
     467const GLenum TextureChunkBase::getEnvCombineRGB(void) const 
    469468{ 
    470469    return _sfEnvCombineRGB.getValue(); 
     
    499498//! Get the value of the TextureChunk::_sfEnvCombineAlpha field. 
    500499inline 
    501 const GLenum &TextureChunkBase::getEnvCombineAlpha(void) const 
     500const GLenum TextureChunkBase::getEnvCombineAlpha(void) const 
    502501{ 
    503502    return _sfEnvCombineAlpha.getValue(); 
     
    532531//! Get the value of the TextureChunk::_sfEnvScaleRGB field. 
    533532inline 
    534 const Real32 &TextureChunkBase::getEnvScaleRGB(void) const 
     533const Real32 TextureChunkBase::getEnvScaleRGB(void) const 
    535534{ 
    536535    return _sfEnvScaleRGB.getValue(); 
     
    565564//! Get the value of the TextureChunk::_sfEnvScaleAlpha field. 
    566565inline 
    567 const Real32 &TextureChunkBase::getEnvScaleAlpha(void) const 
     566const Real32 TextureChunkBase::getEnvScaleAlpha(void) const 
    568567{ 
    569568    return _sfEnvScaleAlpha.getValue(); 
     
    598597//! Get the value of the TextureChunk::_sfEnvSource0RGB field. 
    599598inline 
    600 const GLenum &TextureChunkBase::getEnvSource0RGB(void) const 
     599const GLenum TextureChunkBase::getEnvSource0RGB(void) const 
    601600{ 
    602601    return _sfEnvSource0RGB.getValue(); 
     
    631630//! Get the value of the TextureChunk::_sfEnvSource1RGB field. 
    632631inline 
    633 const GLenum &TextureChunkBase::getEnvSource1RGB(void) const 
     632const GLenum TextureChunkBase::getEnvSource1RGB(void) const 
    634633{ 
    635634    return _sfEnvSource1RGB.getValue(); 
     
    664663//! Get the value of the TextureChunk::_sfEnvSource2RGB field. 
    665664inline 
    666 const GLenum &TextureChunkBase::getEnvSource2RGB(void) const 
     665const GLenum TextureChunkBase::getEnvSource2RGB(void) const 
    667666{ 
    668667    return _sfEnvSource2RGB.getValue(); 
     
    697696//! Get the value of the TextureChunk::_sfEnvSource0Alpha field. 
    698697inline 
    699 const GLenum &TextureChunkBase::getEnvSource0Alpha(void) const 
     698const GLenum TextureChunkBase::getEnvSource0Alpha(void) const 
    700699{ 
    701700    return _sfEnvSource0Alpha.getValue(); 
     
    730729//! Get the value of the TextureChunk::_sfEnvSource1Alpha field. 
    731730inline 
    732 const GLenum &TextureChunkBase::getEnvSource1Alpha(void) const 
     731const GLenum TextureChunkBase::getEnvSource1Alpha(void) const 
    733732{ 
    734733    return _sfEnvSource1Alpha.getValue(); 
     
    763762//! Get the value of the TextureChunk::_sfEnvSource2Alpha field. 
    764763inline 
    765 const GLenum &TextureChunkBase::getEnvSource2Alpha(void) const 
     764const GLenum TextureChunkBase::getEnvSource2Alpha(void) const 
    766765{ 
    767766    return _sfEnvSource2Alpha.getValue(); 
     
    796795//! Get the value of the TextureChunk::_sfEnvOperand0RGB field. 
    797796inline 
    798 const GLenum &TextureChunkBase::getEnvOperand0RGB(void) const 
     797const GLenum TextureChunkBase::getEnvOperand0RGB(void) const 
    799798{ 
    800799    return _sfEnvOperand0RGB.getValue(); 
     
    829828//! Get the value of the TextureChunk::_sfEnvOperand1RGB field. 
    830829inline 
    831 const GLenum &TextureChunkBase::getEnvOperand1RGB(void) const 
     830const GLenum TextureChunkBase::getEnvOperand1RGB(void) const 
    832831{ 
    833832    return _sfEnvOperand1RGB.getValue(); 
     
    862861//! Get the value of the TextureChunk::_sfEnvOperand2RGB field. 
    863862inline 
    864 const GLenum &TextureChunkBase::getEnvOperand2RGB(void) const 
     863const GLenum TextureChunkBase::getEnvOperand2RGB(void) const 
    865864{ 
    866865    return _sfEnvOperand2RGB.getValue(); 
     
    895894//! Get the value of the TextureChunk::_sfEnvOperand0Alpha field. 
    896895inline 
    897 const GLenum &TextureChunkBase::getEnvOperand0Alpha(void) const 
     896const GLenum TextureChunkBase::getEnvOperand0Alpha(void) const 
    898897{ 
    899898    return _sfEnvOperand0Alpha.getValue(); 
     
    928927//! Get the value of the TextureChunk::_sfEnvOperand1Alpha field. 
    929928inline 
    930 const GLenum &TextureChunkBase::getEnvOperand1Alpha(void) const 
     929const GLenum TextureChunkBase::getEnvOperand1Alpha(void) const 
    931930{ 
    932931    return _sfEnvOperand1Alpha.getValue(); 
     
    961960//! Get the value of the TextureChunk::_sfEnvOperand2Alpha field. 
    962961inline 
    963 const GLenum &TextureChunkBase::getEnvOperand2Alpha(void) const 
     962const GLenum TextureChunkBase::getEnvOperand2Alpha(void) const 
    964963{ 
    965964    return _sfEnvOperand2Alpha.getValue(); 
     
    994993//! Get the value of the TextureChunk::_sfGLId field. 
    995994inline 
    996 const GLenum &TextureChunkBase::getGLId(void) const 
     995const GLenum TextureChunkBase::getGLId(void) const 
    997996{ 
    998997    return _sfGLId.getValue(); 
     
    10271026//! Get the value of the TextureChunk::_sfIgnoreGLForAspect field. 
    10281027inline 
    1029 const Int32 &TextureChunkBase::getIgnoreGLForAspect(void) const 
     1028const Int32 TextureChunkBase::getIgnoreGLForAspect(void) const 
    10301029{ 
    10311030    return _sfIgnoreGLForAspect.getValue(); 
     
    10601059//! Get the value of the TextureChunk::_sfPointSprite field. 
    10611060inline 
    1062 const bool &TextureChunkBase::getPointSprite(void) const 
     1061const bool TextureChunkBase::getPointSprite(void) const 
    10631062{ 
    10641063    return _sfPointSprite.getValue(); 
     
    10931092//! Get the value of the TextureChunk::_sfPriority field. 
    10941093inline 
    1095 const Real32 &TextureChunkBase::getPriority(void) const 
     1094const Real32 TextureChunkBase::getPriority(void) const 
    10961095{ 
    10971096    return _sfPriority.getValue(); 
     
    11261125//! Get the value of the TextureChunk::_sfShaderOperation field. 
    11271126inline 
    1128 const GLenum &TextureChunkBase::getShaderOperation(void) const 
     1127const GLenum TextureChunkBase::getShaderOperation(void) const 
    11291128{ 
    11301129    return _sfShaderOperation.getValue(); 
     
    11591158//! Get the value of the TextureChunk::_sfShaderInput field. 
    11601159inline 
    1161 const GLenum &TextureChunkBase::getShaderInput(void) const 
     1160const GLenum TextureChunkBase::getShaderInput(void) const 
    11621161{ 
    11631162    return _sfShaderInput.getValue(); 
     
    11921191//! Get the value of the TextureChunk::_sfShaderOffsetScale field. 
    11931192inline 
    1194 const Real32 &TextureChunkBase::getShaderOffsetScale(void) const 
     1193const Real32 TextureChunkBase::getShaderOffsetScale(void) const 
    11951194{ 
    11961195    return _sfShaderOffsetScale.getValue(); 
     
    12251224//! Get the value of the TextureChunk::_sfShaderOffsetBias field. 
    12261225inline 
    1227 const Real32 &TextureChunkBase::getShaderOffsetBias(void) const 
     1226const Real32 TextureChunkBase::getShaderOffsetBias(void) const 
    12281227{ 
    12291228    return _sfShaderOffsetBias.getValue(); 
     
    12581257//! Get the value of the TextureChunk::_sfShaderRGBADotProduct field. 
    12591258inline 
    1260 const GLenum &TextureChunkBase::getShaderRGBADotProduct(void) const 
     1259const GLenum TextureChunkBase::getShaderRGBADotProduct(void) const 
    12611260{ 
    12621261    return _sfShaderRGBADotProduct.getValue(); 
     
    12911290//! Get the value of the TextureChunk::_sfShaderCullModes field. 
    12921291inline 
    1293 const UInt8 &TextureChunkBase::getShaderCullModes(void) const 
     1292const UInt8 TextureChunkBase::getShaderCullModes(void) const 
    12941293{ 
    12951294    return _sfShaderCullModes.getValue(); 
     
    13241323//! Get the value of the TextureChunk::_sfShaderConstEye field. 
    13251324inline 
    1326 const Vec3f &TextureChunkBase::getShaderConstEye(void) const 
     1325const Vec3f TextureChunkBase::getShaderConstEye(void) const 
    13271326{ 
    13281327    return _sfShaderConstEye.getValue(); 
     
    13571356//! Get the value of the TextureChunk::_sfLodBias field. 
    13581357inline 
    1359 const Real32 &TextureChunkBase::getLodBias(void) const 
     1358const Real32 TextureChunkBase::getLodBias(void) const 
    13601359{ 
    13611360    return _sfLodBias.getValue(); 
     
    13901389//! Get the value of the TextureChunk::_sfDirtyLeft field. 
    13911390inline 
    1392 const Int32 &TextureChunkBase::getDirtyLeft(void) const 
     1391const Int32 TextureChunkBase::getDirtyLeft(void) const 
    13931392{ 
    13941393    return _sfDirtyLeft.getValue(); 
     
    14231422//! Get the value of the TextureChunk::_sfDirtyMinX field. 
    14241423inline 
    1425 const Int32 &TextureChunkBase::getDirtyMinX(void) const 
     1424const Int32 TextureChunkBase::getDirtyMinX(void) const 
    14261425{ 
    14271426    return _sfDirtyMinX.getValue(); 
     
    14561455//! Get the value of the TextureChunk::_sfDirtyMaxX field. 
    14571456inline 
    1458 const Int32 &TextureChunkBase::getDirtyMaxX(void) const 
     1457const Int32 TextureChunkBase::getDirtyMaxX(void) const 
    14591458{ 
    14601459    return _sfDirtyMaxX.getValue(); 
     
    14891488//! Get the value of the TextureChunk::_sfDirtyMinY field. 
    14901489inline 
    1491 const Int32 &TextureChunkBase::getDirtyMinY(void) const 
     1490const Int32 TextureChunkBase::getDirtyMinY(void) const 
    14921491{ 
    14931492    return _sfDirtyMinY.getValue(); 
     
    15221521//! Get the value of the TextureChunk::_sfDirtyMaxY field. 
    15231522inline 
    1524 const Int32 &TextureChunkBase::getDirtyMaxY(void) const 
     1523const Int32 TextureChunkBase::getDirtyMaxY(void) const 
    15251524{ 
    15261525    return _sfDirtyMaxY.getValue(); 
     
    15551554//! Get the value of the TextureChunk::_sfDirtyMinZ field. 
    15561555inline 
    1557 const Int32 &TextureChunkBase::getDirtyMinZ(void) const 
     1556const Int32 TextureChunkBase::getDirtyMinZ(void) const 
    15581557{ 
    15591558    return _sfDirtyMinZ.getValue(); 
     
    15881587//! Get the value of the TextureChunk::_sfDirtyMaxZ field. 
    15891588inline 
    1590 const Int32 &TextureChunkBase::getDirtyMaxZ(void) const 
     1589const Int32 TextureChunkBase::getDirtyMaxZ(void) const 
    15911590{ 
    15921591    return _sfDirtyMaxZ.getValue(); 
     
    16211620//! Get the value of the TextureChunk::_sfAnisotropy field. 
    16221621inline 
    1623 const Real32 &TextureChunkBase::getAnisotropy(void) const 
     1622const Real32 TextureChunkBase::getAnisotropy(void) const 
    16241623{ 
    16251624    return _sfAnisotropy.getValue(); 
     
    16541653//! Get the value of the TextureChunk::_sfBorderColor field. 
    16551654inline 
    1656 const Color4f &TextureChunkBase::getBorderColor(void) const 
     1655const Color4f TextureChunkBase::getBorderColor(void) const 
    16571656{ 
    16581657    return _sfBorderColor.getValue(); 
     
    16871686//! Get the value of the TextureChunk::_sfCompareMode field. 
    16881687inline 
    1689 const GLenum &TextureChunkBase::getCompareMode(void) const 
     1688const GLenum TextureChunkBase::getCompareMode(void) const 
    16901689{ 
    16911690    return _sfCompareMode.getValue(); 
     
    17201719//! Get the value of the TextureChunk::_sfCompareFunc field. 
    17211720inline 
    1722 const GLenum &TextureChunkBase::getCompareFunc(void) const 
     1721const GLenum TextureChunkBase::getCompareFunc(void) const 
    17231722{ 
    17241723    return _sfCompareFunc.getValue(); 
     
    17531752//! Get the value of the TextureChunk::_sfDepthMode field. 
    17541753inline 
    1755 const GLenum &TextureChunkBase::getDepthMode(void) const 
     1754const GLenum TextureChunkBase::getDepthMode(void) const 
    17561755{ 
    17571756    return _sfDepthMode.getValue(); 
     
    17861785//! Get the value of the TextureChunk::_sfBorderWidth field. 
    17871786inline 
    1788 const UInt32 &TextureChunkBase::getBorderWidth(void) const 
     1787const UInt32 TextureChunkBase::getBorderWidth(void) const 
    17891788{ 
    17901789    return _sfBorderWidth.getValue(); 
     
    18191818//! Get the value of the TextureChunk::_sfNPOTMatrixScale field. 
    18201819inline 
    1821 const UInt32 &TextureChunkBase::getNPOTMatrixScale(void) const 
     1820const UInt32 TextureChunkBase::getNPOTMatrixScale(void) const 
    18221821{ 
    18231822    return _sfNPOTMatrixScale.getValue(); 
     
    18431842//! Get the value of the \a index element the TextureChunk::_mfShaderOffsetMatrix field. 
    18441843inline 
    1845 const Real32 &TextureChunkBase::getShaderOffsetMatrix(const UInt32 index) const 
     1844const Real32 TextureChunkBase::getShaderOffsetMatrix(const UInt32 index) const 
    18461845{ 
    18471846    return _mfShaderOffsetMatrix[index]; 
     
    18561855} 
    18571856 
    1858 //! Get the TextureChunk::_mfShaderOffsetMatrix field. 
    1859 inline 
    1860 MFReal32 &TextureChunkBase::editShaderOffsetMatrix(void) 
    1861 { 
    1862     editMField(ShaderOffsetMatrixFieldMask, _mfShaderOffsetMatrix); 
    1863  
    1864     return _mfShaderOffsetMatrix; 
    1865 } 
    1866  
    18671857#ifdef OSG_1_GET_COMPAT 
    18681858inline 
     
    18801870#endif 
    18811871 
    1882  
    1883 //! Get the TextureChunk::_mfShaderOffsetMatrix field. 
    1884 inline 
    1885 const MFReal32 &TextureChunkBase::getShaderOffsetMatrix(void) const 
    1886 { 
    1887     return _mfShaderOffsetMatrix; 
    1888 } 
    18891872 
    18901873