Changeset 281

Show
Ignore:
Timestamp:
10/12/06 06:35:54 (2 years ago)
Author:
vossg
Message:

added : include into es build

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/Source/System/NodeCores/Groups/Misc/OSGInverseTransform.cpp

    r106 r281  
    4848 
    4949#include "OSGInverseTransform.h" 
     50#ifndef OSG_WINCE 
    5051#include "OSGIntersectAction.h" 
     52#endif 
    5153#include "OSGRenderAction.h" 
    5254#include "OSGNode.h" 
     
    7678    if(ePhase == TypeObject::SystemPost) 
    7779    { 
     80#ifndef OSG_WINCE 
    7881        IntersectAction::registerEnterDefault( 
    7982            getClassType(), 
     
    8588            reinterpret_cast<Action::Callback>( 
    8689                &InverseTransform::intersectLeave)); 
    87  
     90#endif 
    8891 
    8992        RenderAction::registerEnterDefault( 
     
    146149} 
    147150 
    148 void InverseTransform::accumulateMatrix(Matrix &result) 
     151void InverseTransform::accumulateMatrix(Matrixr &result) 
    149152{ 
    150153    result.mult(_invWorld); 
     
    154157 
    155158void InverseTransform::calcMatrix(      DrawActionBase *, 
    156                                   const Matrix         &mToWorld, 
    157                                         Matrix         &mResult) 
     159                                  const Matrixr        &mToWorld, 
     160                                        Matrixr        &mResult) 
    158161{ 
    159162    mResult.invertFrom(mToWorld); 
     
    162165} 
    163166 
    164 void InverseTransform::initMatrix(const Matrix &mToWorld) 
     167void InverseTransform::initMatrix(const Matrixr &mToWorld) 
    165168{ 
    166169    _invWorld.invertFrom(mToWorld); 
     
    173176/*                            Intersect                                    */ 
    174177 
     178#ifndef OSG_WINCE 
    175179Action::ResultE InverseTransform::intersectEnter(Action *action) 
    176180{ 
     
    208212    return Action::Continue; 
    209213} 
     214#endif 
    210215 
    211216/*-------------------------------------------------------------------------*/ 
     
    215220{ 
    216221    RenderAction *pAction = dynamic_cast<RenderAction *>(action); 
    217     Matrix mMat;    // will be set to World^-1 
     222    Matrixr mMat;    // will be set to World^-1 
    218223 
    219224    calcMatrix(pAction, pAction->top_matrix(), mMat); 
  • trunk/Source/System/NodeCores/Groups/Misc/OSGInverseTransform.h

    r106 r281  
    7676    /*! \{                                                                 */ 
    7777 
    78     void initMatrix(const Matrix         &mToWorld); 
     78    void initMatrix(const Matrixr        &mToWorld); 
    7979 
    8080    void calcMatrix(      DrawActionBase *pAction, 
    81                     const Matrix         &mToWorld, 
    82                           Matrix         &mResult); 
     81                    const Matrixr        &mToWorld, 
     82                          Matrixr        &mResult); 
    8383 
    8484    /*! \}                                                                 */ 
     
    117117    /*! \{                                                                 */ 
    118118 
    119             void adjustVolume    (Volume &volume); 
     119            void adjustVolume    (Volume &volume); 
    120120 
    121     virtual void accumulateMatrix(Matrix &result); 
     121    virtual void accumulateMatrix(Matrixr &result); 
    122122 
    123123    /*! \}                                                                 */ 
     
    126126    /*! \{                                                                 */ 
    127127 
     128#ifndef OSG_WINCE 
    128129    Action::ResultE intersectEnter(Action *action); 
    129130    Action::ResultE intersectLeave(Action *action); 
     131#endif 
    130132 
    131133    Action::ResultE renderEnter   (Action *action); 
     
    152154    friend class InverseTransformBase; 
    153155 
    154     Matrix _invWorld; 
     156    Matrixr _invWorld; 
    155157 
    156158    // prohibit default functions (move to 'public' if you need one) 
  • trunk/Source/System/NodeCores/Groups/Misc/OSGSwitch.cpp

    r106 r281  
    4545 
    4646#include <OSGRenderAction.h> 
     47#ifndef OSG_WINCE 
    4748#include <OSGIntersectAction.h> 
     49#endif 
    4850 
    4951OSG_USING_NAMESPACE 
     
    123125} 
    124126 
     127#ifndef OSG_WINCE 
    125128ActionBase::ResultE Switch::intersect(Action *action) 
    126129{ 
     
    144147    return returnValue; 
    145148} 
     149#endif 
    146150  
    147151/*-------------------------------------------------------------------------*/ 
     
    158162            reinterpret_cast<Action::Callback>(&Switch::render)); 
    159163         
     164#ifndef OSG_WINCE 
    160165        IntersectAction::registerEnterDefault( 
    161166            getClassType(), 
    162167            reinterpret_cast<Action::Callback>(&Switch::intersect)); 
     168#endif 
    163169    } 
    164170} 
  • trunk/Source/System/NodeCores/Groups/Misc/OSGSwitch.h

    r106 r281  
    112112    /*! \{                                                                 */ 
    113113 
     114#ifndef OSG_WINCE 
    114115    ActionBase::ResultE intersect(Action *action); 
     116#endif 
    115117 
    116118    /*! \}                                                                 */ 
  • trunk/VSBuild/OpenSGES/GroupLib/GroupLib.vcproj

    r16 r281  
    237237                                </File> 
    238238                                <File 
     239                                        RelativePath="..\..\..\Source\System\NodeCores\Groups\Misc\OSGInverseTransform.cpp" 
     240                                        > 
     241                                </File> 
     242                                <File 
     243                                        RelativePath="..\..\..\Source\System\NodeCores\Groups\Misc\OSGInverseTransformBase.cpp" 
     244                                        > 
     245                                </File> 
     246                                <File 
     247                                        RelativePath="..\..\..\Source\System\NodeCores\Groups\Misc\OSGSwitch.cpp" 
     248                                        > 
     249                                </File> 
     250                                <File 
     251                                        RelativePath="..\..\..\Source\System\NodeCores\Groups\Misc\OSGSwitchBase.cpp" 
     252                                        > 
     253                                </File> 
     254                                <File 
    239255                                        RelativePath="..\..\..\Source\System\NodeCores\Groups\Misc\OSGTransform.cpp" 
    240256                                        > 
     
    385401                                                /> 
    386402                                        </FileConfiguration> 
     403                                </File> 
     404                                <File 
     405                                        RelativePath="..\..\..\Source\System\NodeCores\Groups\Misc\OSGInverseTransform.h" 
     406                                        > 
     407                                </File> 
     408                                <File 
     409                                        RelativePath="..\..\..\Source\System\NodeCores\Groups\Misc\OSGInverseTransform.inl" 
     410                                        > 
     411                                </File> 
     412                                <File 
     413                                        RelativePath="..\..\..\Source\System\NodeCores\Groups\Misc\OSGInverseTransformBase.h" 
     414                                        > 
     415                                </File> 
     416                                <File 
     417                                        RelativePath="..\..\..\Source\System\NodeCores\Groups\Misc\OSGInverseTransformBase.inl" 
     418                                        > 
     419                                </File> 
     420                                <File 
     421                                        RelativePath="..\..\..\Source\System\NodeCores\Groups\Misc\OSGInverseTransformFields.h" 
     422                                        > 
     423                                </File> 
     424                                <File 
     425                                        RelativePath="..\..\..\Source\System\NodeCores\Groups\Misc\OSGSwitch.h" 
     426                                        > 
     427                                </File> 
     428                                <File 
     429                                        RelativePath="..\..\..\Source\System\NodeCores\Groups\Misc\OSGSwitch.inl" 
     430                                        > 
     431                                </File> 
     432                                <File 
     433                                        RelativePath="..\..\..\Source\System\NodeCores\Groups\Misc\OSGSwitchBase.h" 
     434                                        > 
     435                                </File> 
     436                                <File 
     437                                        RelativePath="..\..\..\Source\System\NodeCores\Groups\Misc\OSGSwitchBase.inl" 
     438                                        > 
     439                                </File> 
     440                                <File 
     441                                        RelativePath="..\..\..\Source\System\NodeCores\Groups\Misc\OSGSwitchFields.h" 
     442                                        > 
    387443                                </File> 
    388444                                <File