Changeset 1173

Show
Ignore:
Timestamp:
04/16/08 21:05:11 (1 month ago)
Author:
vossg
Message:

changed: started to merge remaining changes from carstens branch

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/Source/System/Action/RenderAction/OSGRenderAction.cpp

    r1160 r1173  
    485485    else if(! _useNewList) // new list is empty, but not used? 
    486486    { 
    487         MFUnrecChildNodePtr::const_iterator it; 
    488  
    489         for(  it  = node->getMFChildren()->begin(); 
    490               it != node->getMFChildren()->end(); 
    491             ++it) 
     487        MFUnrecChildNodePtr::const_iterator cIt = 
     488            node->getMFChildren()->begin(); 
     489 
     490        MFUnrecChildNodePtr::const_iterator cEnd = 
     491            node->getMFChildren()->end(); 
     492 
     493        for( ; cIt != cEnd; ++cIt) 
    492494        { 
    493             result = recurse(*it); 
     495            result = recurse(*cIt); 
    494496 
    495497            if(result != Continue) 
  • trunk/Source/System/FieldContainer/Base/OSGFieldContainerFactory.cpp

    r955 r1173  
    140140 
    141141    this->_bInitialized = false; 
     142 
     143#ifdef OSG_DEBUG 
     144    ContainerStoreIt sI = _vContainerStore.begin(); 
     145    ContainerStoreIt sE = _vContainerStore.end  (); 
     146     
     147    for(UInt32 i = 0; sI != sE; ++sI, ++i) 
     148    { 
     149        if((*sI) != NULL) 
     150        { 
     151            FWARNING(("FieldContainerFactoryBase::terminate: " 
     152                      "Entry [%d] is not NULL ([%p]). \n", i, *sI)); 
     153                                               
     154            for(UInt32 j = 0; j < (*sI)->getNumAspects(); ++j) 
     155            { 
     156                if((*sI)->getPtr(j) != NULL) 
     157                { 
     158                    FWARNING(("  [%d] [%p] [%s] [%d %d]\n", 
     159                              j,  
     160                              (*sI)->getPtr(j),  
     161                              (*sI)->getPtr(j)->getType().getCName(), 
     162                              (*sI)->getPtr(j)->getRefCount(), 
     163                              (*sI)->getPtr(j)->getWeakRefCount() )); 
     164                } 
     165                else 
     166                { 
     167                    FWARNING(("  [%d] [%p] [] [N/A N/A]\n", 
     168                              j,  
     169                              (*sI)->getPtr(j))); 
     170                } 
     171            } 
     172        } 
     173    } 
     174#endif // OSG_DEBUG 
     175     
    142176 
    143177    return returnValue; 
  • trunk/Source/System/FieldContainer/Base/OSGFieldContainerFactory.h

    r1097 r1173  
    6363    typedef FieldContainerTransitPtr ContainerTransitPtr; 
    6464 
    65     static Char8 *getContainerFactoryLockName(void) 
     65    static const Char8 *getContainerFactoryLockName(void) 
    6666    { 
    6767        return "ContainerFactory::cflock"; 
  • trunk/Source/System/FieldContainer/Base/OSGRefCountPolicies.h

    r1126 r1173  
    9898    static T *validate   (T *pObject) 
    9999    { 
    100         convertToCurrentAspect(pObject); 
     100        return convertToCurrentAspect(pObject); 
    101101    } 
    102102 
  • trunk/Source/System/FileIO/3DS/OSG3DSSceneFileType.cpp

    r1097 r1173  
    374374    } 
    375375 
    376     _materials.insert(std::pair<UInt32, MaterialPtr>(id, cmat)); 
     376    _materials.insert(std::pair<UInt32, MaterialUnrecPtr>( 
     377                          id, MaterialUnrecPtr(cmat))); 
    377378 
    378379    return MaterialTransitPtr(cmat); 
  • trunk/Source/System/FileIO/OBJ/OSGOBJSceneFileType.cpp

    r1160 r1173  
    794794    std::map<std::string, MaterialElem>::const_iterator elemI; 
    795795    MaterialElem mtlElem; 
    796     std::map<std::string, OSG::ImagePtr> imageMap; 
    797     std::map<std::string, OSG::ImagePtr>::iterator iI; 
     796    std::map<std::string, OSG::ImageUnrecPtr> imageMap; 
     797    std::map<std::string, OSG::ImageUnrecPtr>::iterator iI; 
    798798    ImageUnrecPtr image = NullFC; 
    799799    bool constDiffuse = false, constAmbient = false, constSpecular = false; 
  • trunk/Source/System/FileIO/OSB/OSGOSBDriver.cpp

    r1140 r1173  
    107107    root->terminateWrite(); 
    108108 
     109    OSBElementFactory::the()->release(root); 
     110 
    109111    return true; 
    110112} 
  • trunk/Source/System/FileIO/OSB/OSGOSBGeometryElement.cpp

    r1142 r1173  
    636636            { 
    637637                GeoUInt16PropertyPtr ui16Indices = 
    638                     dynamic_cast<GeoUInt16PropertyPtr>(_indices); 
     638                    dynamic_pointer_cast<GeoUInt16Property>(_indices); 
    639639 
    640640                gh.splitMultiIndex<GeoUInt16PropertyPtr>( 
     
    644644            { 
    645645                GeoUInt32PropertyPtr ui32Indices = 
    646                     dynamic_cast<GeoUInt32PropertyPtr>(_indices); 
     646                    dynamic_pointer_cast<GeoUInt32Property>(_indices); 
    647647 
    648648                gh.splitMultiIndex<GeoUInt32PropertyPtr>( 
     
    673673            { 
    674674                GeoUInt16PropertyPtr ui16Indices = 
    675                     dynamic_cast<GeoUInt16PropertyPtr>(_indices); 
     675                    dynamic_pointer_cast<GeoUInt16Property>(_indices); 
    676676 
    677677                gh.splitMultiIndex<GeoUInt16PropertyPtr>( 
     
    681681            { 
    682682                GeoUInt32PropertyPtr ui32Indices = 
    683                     dynamic_cast<GeoUInt32PropertyPtr>(_indices); 
     683                    dynamic_pointer_cast<GeoUInt32Property>(_indices); 
    684684 
    685685                gh.splitMultiIndex<GeoUInt32PropertyPtr>( 
  • trunk/Source/System/FileIO/OSB/OSGOSBGeometryElement.h

    r582 r1173  
    134134    static OSBElementRegistrationHelper<OSBGeometryElement> _regHelper; 
    135135 
    136     std::vector<UInt16>    _indexMapping; 
    137     UInt32                 _indicesId; 
    138     GeoIntegralPropertyPtr _indices; 
    139     bool                   _indices16Bit; 
    140     bool                   _indicesPacked; 
     136    std::vector<UInt16>         _indexMapping; 
     137    UInt32                      _indicesId; 
     138    GeoIntegralPropertyUnrecPtr _indices; 
     139    bool                        _indices16Bit; 
     140    bool                        _indicesPacked; 
    141141 
    142     UInt16                 _version; 
     142    UInt16                      _version; 
    143143}; 
    144144 
  • trunk/Source/System/FileIO/ScanParseSkel/OSGScanParseFieldTypeMapper.h

    r785 r1173  
    4949 
    5050//! FieldTypeMapper, provides functions to map from system to scanner types   
    51 //! \ingroup GrpSystemDrawablesGeometrymetryLoaderLib  
     51//! \ingroup GrpSystemDrawablesGeometryLoaderLib  
    5252 
    5353template <class BaseT> 
  • trunk/Source/System/GraphOp/OSGMaterialMergeGraphOp.cpp

    r1097 r1173  
    4747#include "OSGGraphOpFactory.h" 
    4848 
    49 OSG_USING_NAMESPACE 
     49OSG_BEGIN_NAMESPACE 
    5050 
    5151/***************************************************************************\ 
     
    9292 
    9393 
    94 bool isEqual(const OSG::FieldContainerPtr& a, const OSG::FieldContainerPtr& b) 
     94bool isEqual(const FieldContainerPtr a, const FieldContainerPtr b) 
    9595{ 
    9696    // Compare the pointers. 
     
    326326    _materialObjects[mat].push_back(m); 
    327327} 
     328 
     329OSG_END_NAMESPACE 
  • trunk/Source/System/GraphOp/OSGMergeGraphOp.cpp

    r1160 r1173  
    203203} 
    204204 
    205 void MergeGraphOp::makeExcludeList(NodePtr& node) 
     205void MergeGraphOp::makeExcludeList(NodePtr node) 
    206206{ 
    207207    /* 
  • trunk/Source/System/GraphOp/OSGMergeGraphOp.h

    r1097 r1173  
    113113    bool mergeOnce(NodePtr node); 
    114114 
    115     void makeExcludeList        (NodePtr& node); 
     115    void makeExcludeList        (NodePtr      node); 
    116116    void processGroups          (NodePtrConst node); 
    117117    void processTransformations (NodePtrConst node); 
  • trunk/Source/System/GraphOp/OSGSharePtrGraphOp.cpp

    r1097 r1173  
    230230 
    231231bool SharePtrGraphOp::isInList(const std::vector<std::string> &tlist, 
    232                                const FieldContainerPtr &fc) 
     232                               const FieldContainerPtr fc) 
    233233{ 
    234234    for(UInt32 k=0;k<tlist.size();++k) 
     
    249249} 
    250250 
    251 FieldContainerPtr SharePtrGraphOp::compareFCs(const FieldContainerPtr &fc) 
     251FieldContainerPtr SharePtrGraphOp::compareFCs(const FieldContainerPtr fc) 
    252252{ 
    253253    if(fc == NullFC) 
     
    440440 * \return true if equal. 
    441441 */ 
    442 bool SharePtrGraphOp::isEqual(const OSG::FieldContainerPtr &a, 
    443                               const OSG::FieldContainerPtr &b) 
     442bool SharePtrGraphOp::isEqual(const FieldContainerPtr a, 
     443                              const FieldContainerPtr b) 
    444444{ 
    445445#if 0 
  • trunk/Source/System/GraphOp/OSGSharePtrGraphOp.h

    r1097 r1173  
    113113 
    114114    bool isInList(const std::vector<std::string> &tlist, 
    115                   const FieldContainerPtr &fc); 
    116     FieldContainerPtr compareFCs(const FieldContainerPtr &fc); 
    117     static bool isEqual(const OSG::FieldContainerPtr &a, 
    118                         const OSG::FieldContainerPtr &b); 
     115                  const FieldContainerPtr fc); 
     116    FieldContainerPtr compareFCs(const FieldContainerPtr fc); 
     117    static bool isEqual(const FieldContainerPtr a, 
     118                        const FieldContainerPtr b); 
    119119 
    120120    //static Action::ResultE clearAttachmentParent(NodePtr &node); 
  • trunk/Source/System/GraphOp/OSGSplitGraphOp.cpp

    r1160 r1173  
    280280    MFUnrecChildNodePtr::const_iterator mfen = node->getMFChildren()->end  (); 
    281281 
    282     std::vector<NodePtr> toAdd; 
    283     std::vector<NodePtr> toSub; 
     282    std::vector<NodeUnrecPtr> toAdd; 
     283    std::vector<NodePtr     > toSub; 
    284284 
    285285    for ( ; mfit != mfen; ++mfit ) 
     
    295295    } 
    296296 
    297     std::vector<NodePtr>::const_iterator vit = toAdd.begin(); 
    298     std::vector<NodePtr>::const_iterator ven = toAdd.end  (); 
    299      
    300     for ( ; vit != ven; ++vit ) 
    301     { 
    302         node->addChild(*vit); 
    303     } 
    304      
    305     vit = toSub.begin(); 
    306     ven = toSub.end  (); 
    307      
    308     for ( ; vit != ven; ++vit ) 
     297    std::vector<NodeUnrecPtr>::const_iterator vait = toAdd.begin(); 
     298    std::vector<NodeUnrecPtr>::const_iterator vaen = toAdd.end  (); 
     299     
     300    for ( ; vait != vaen; ++vait ) 
     301    { 
     302        node->addChild(*vait); 
     303    } 
     304     
     305    std::vector<NodePtr>::const_iterator vsit = toSub.begin(); 
     306    std::vector<NodePtr>::const_iterator vsen = toSub.end  (); 
     307     
     308    for ( ; vsit != vsen; ++vsit ) 
    309309    { 
    310310//        OSG::addRefX(*vit); 
    311         node->subChild(*vit); 
     311        node->subChild(*vsit); 
    312312    } 
    313313    return res; 
    314314} 
    315315 
    316 bool SplitGraphOp::splitNode(const NodePtr& node, std::vector<NodePtr> &split) 
     316bool SplitGraphOp::splitNode(const NodePtr node, std::vector<NodeUnrecPtr> &split) 
    317317{ 
    318318    // PORTME 
  • trunk/Source/System/GraphOp/OSGSplitGraphOp.h

    r1097 r1173  
    108108    bool isLeaf        (NodePtrConst node); 
    109109    bool isGroup       (NodePtrConst node); 
    110     bool splitNode     (const NodePtr& node, std::vector<NodePtr> &split); 
     110    bool splitNode     (const NodePtr node, std::vector<NodeUnrecPtr> &split); 
    111111 
    112112    Action::ResultE traverseEnter(NodePtrConstArg node); 
  • trunk/Source/System/GraphOp/OSGVerifyGraphOp.cpp

    r1097 r1173  
    340340 
    341341 
    342 bool VerifyGraphOp::verifyIndexMap(GeometryPtr &geo, bool &repair) 
     342bool VerifyGraphOp::verifyIndexMap(GeometryPtr geo, bool &repair) 
    343343{ 
    344344    repair = false; 
  • trunk/Source/System/GraphOp/OSGVerifyGraphOp.h

    r1097 r1173  
    107107     
    108108    OSG::Action::ResultE verifyGeometry(NodePtrConst node); 
    109     bool verifyIndexMap(GeometryPtr &geo, bool &repair); 
     109    bool verifyIndexMap(GeometryPtr geo, bool &repair); 
    110110    bool repairGeometry(void);     
    111111 
  • trunk/Source/System/Material/Base/OSGMaterial.cpp

    r1168 r1173  
    226226    Stores the default material used by the Simple Geometry. 
    227227*/ 
    228 static SimpleMaterialRecPtr _defaultMaterial; 
     228static SimpleMaterialMTRecPtr _defaultMaterial; 
    229229 
    230230/*! \ingroup GrpSystemDrawablesGeometrySimpleGeometry 
     
    257257    Stores the default unlit material. 
    258258*/ 
    259 static SimpleMaterialRecPtr _defaultUnlitMaterial; 
     259static SimpleMaterialMTRecPtr _defaultUnlitMaterial; 
    260260 
    261261/*! \ingroup GrpSystemDrawablesGeometrySimpleGeometry 
  • trunk/Source/System/Material/Base/OSGSwitchMaterial.cpp

    r852 r1173  
    9696    // subRefCP wuerde dann nochmal mit dem gleichen ungueltigen pointer  
    9797    // fuer das SwitchMaterial aufgerufen werden und 
    98     // das kracht natΓΌrlich, deswegen wird er jetzt einfach auf NullFC gesetzt! 
     98    // das kracht natuerlich, deswegen wird er jetzt einfach auf NullFC gesetzt! 
    9999 
    100100    _pState = NullFC; 
  • trunk/Source/System/Material/Simple/OSGSimpleTexturedMaterial.cpp

    r1099 r1173  
    100100 
    101101    _textureChunk = NullFC; 
    102     _textureChunk = NullFC; 
    103     _textureChunk = NullFC; 
     102    _texGenChunk = NullFC; 
     103    _texEnvChunk = NullFC; 
    104104 
    105105//    subRefLocalVarX(_textureChunk); 
  • trunk/Source/System/NodeCores/Drawables/Geometry/Base/OSGGeoImmediatePumpGroup.cpp

    r785 r1173  
    119119static const int numFormats = GL_DOUBLE - GL_BYTE + 1; 
    120120 
    121 static char *formatNames[] = 
     121static const char *formatNames[] = 
    122122{   "GL_BYTE", "GL_UNSIGNED_BYTE", "GL_SHORT", "GL_UNSIGNED_SHORT", 
    123123    "GL_INT", "GL_UNSIGNED_INT", "GL_FLOAT", "GL_2_BYTES", 
     
    133133    public: 
    134134 
    135         glextFuncInit(char *name, UInt32 format, UInt32 dim,  
     135        glextFuncInit(const char *name, UInt32 format, UInt32 dim,  
    136136                bool normalizing = false) : 
    137137            _name(name), _format(format), _dim(dim), 
     
    146146    private: 
    147147 
    148         char   *_name; 
    149         UInt32  _format; 
    150         UInt32  _dim; 
    151         bool    _normalizing; 
     148        const char   *_name; 
     149              UInt32  _format; 
     150              UInt32  _dim; 
     151              bool    _normalizing; 
    152152}; 
    153153 
  • trunk/Source/System/NodeCores/Drawables/Geometry/Base/OSGGeoVertexArrayPumpGroup.cpp

    r785 r1173  
    132132static const int numFormats = GL_DOUBLE - GL_BYTE + 1; 
    133133 
    134 static char *formatNames[] = 
     134static const char *formatNames[] = 
    135135{   "GL_BYTE", "GL_UNSIGNED_BYTE", "GL_SHORT", "GL_UNSIGNED_SHORT", 
    136136    "GL_INT", "GL_UNSIGNED_INT", "GL_FLOAT", "GL_2_BYTES", 
     
    146146    public: 
    147147 
    148         glextFuncInit(char *name, UInt32 format, UInt32 dim,  
     148        glextFuncInit(const char *name, UInt32 format, UInt32 dim,  
    149149                bool normalizing = false) : 
    150150            _name(name), _format(format), _dim(dim), 
     
    159159    private: 
    160160 
    161         char   *_name; 
    162         UInt32  _format; 
    163         UInt32  _dim; 
    164         bool    _normalizing; 
     161        const char   *_name; 
     162              UInt32  _format; 
     163              UInt32  _dim; 
     164              bool    _normalizing; 
    165165}; 
    166166 
  • trunk/Source/System/NodeCores/Drawables/Geometry/Properties/OSGTypedGeoIntegralProperty.inl

    r1110 r1173  
    108108void TypedGeoIntegralProperty<GeoPropertyDesc>::resolveLinks(void) 
    109109{ 
     110    Inherited::resolveLinks(); 
     111 
    110112    AspectOffsetStore oOffsets; 
    111113 
  • trunk/Source/System/NodeCores/Drawables/Geometry/Util/OSGSimpleGeometry.cpp

    r1097 r1173  
    7575    \param[in] hor Number of quads in x direction. 
    7676    \param[in] vert Number of quads in y direction. 
    77     \return NodePtr to a newly created Node with a Geometry core. 
     77    \return NodeTransitPtr to a newly created Node with a Geometry core. 
    7878 
    7979    \ingroup GrpSystemDrawablesGeometrySimpleGeometry 
     
    101101    \param[in] hor Number of quads in x direction. 
    102102    \param[in] vert Number of quads in y direction. 
    103     \return GeometryPtr to a newly created Geometry core. 
     103    \return GeometryTransitPtr to a newly created Geometry core. 
    104104 
    105105    \sa OSG::makePlane 
     
    189189    \param[in] doSide If true side faces are created. 
    190190    \param[in] doBttom If true bottom faces are created. 
    191     \return NodePtr to a newly created Node with a Geometry core. 
     191    \return NodeTransitPtr to a newly created Node with a Geometry core. 
    192192 
    193193    \ingroup GrpSystemDrawablesGeometrySimpleGeometry 
     
    215215    \param[in] doSide If true side faces are created. 
    216216    \param[in] doBttom If true bottom faces are created. 
    217     \return GeometryPtr to a newly created Geometry core. 
     217    \return GeometryTransitPtr to a newly created Geometry core. 
    218218 
    219219    \sa OSG::makeCone 
     
    249249    \param[in] doTop If true, top cap faces are created. 
    250250    \param[in] doBttom If true, bottom cap faces are created. 
    251     \return NodePtr to a newly created Node with a Geometry core. 
     251    \return NodeTransitPtr to a newly created Node with a Geometry core. 
    252252 
    253253    \ingroup GrpSystemDrawablesGeometrySimpleGeometry 
     
    277277    \param[in] doTop If true, top cap faces are created. 
    278278    \param[in] doBttom If true, bottom cap faces are created. 
    279     \return GeometryPtr to a newly created Geometry core. 
     279    \return GeometryTransitPtr to a newly created Geometry core. 
    280280 
    281281    \sa OSG::makeCylinder 
     
    315315    \param[in] doTop If true, top cap faces are created. 
    316316    \param[in] doBttom If true, bottom cap faces are created. 
    317     \return NodePtr to a newly created Node with a Geometry core. 
     317    \return NodeTransitPtr to a newly created Node with a Geometry core. 
    318318 
    319319    \ingroup GrpSystemDrawablesGeometrySimpleGeometry 
     
    356356    \param[in] doTop If true, top cap faces are created. 
    357357    \param[in] doBttom If true, bottom cap faces are created. 
    358     \return GeometryPtr to a newly created Geometry core. 
     358    \return GeometryTransitPtr to a newly created Geometry core. 
    359359 
    360360    \ingroup GrpSystemDrawablesGeometrySimpleGeometry 
     
    513513    \param[in] sides Number of subdivisions along the inner radius. 
    514514    \param[in] rings Number of subdivisions along the outer radius. 
    515     \return NodePtr to a newly created Node with a Geometry core. 
     515    \return NodeTransitPtr to a newly created Node with a Geometry core. 
    516516 
    517517    \ingroup GrpSystemDrawablesGeometrySimpleGeometry 
     
    545545    \param[in] sides Number of subdivisions along the inner radius. 
    546546    \param[in] rings Number of subdivisions along the outer radius. 
    547     \return GeometryPtr to a newly created Geometry core. 
     547    \return GeometryTransitPtr to a newly created Geometry core. 
    548548 
    549549    \sa OSG::makeTorus 
     
    785785    \param[in] depth Number of recursive subdivisions to perform. 
    786786    \param[in] radius Radius of sphere. 
    787     \return GeometryPtr to a newly created Geometry core. 
     787    \return GeometryTransitPtr to a newly created Geometry core. 
    788788 
    789789    \sa OSG::makeSphere 
     
    962962    \param[in] longres Number of subdivisions along longitudes. 
    963963    \param[in] radius Radius of sphere. 
    964     \return NodePtr to a newly created Node with a Geometry core. 
     964    \return NodeTransitPtr to a newly created Node with a Geometry core. 
    965965 
    966966    \ingroup GrpSystemDrawablesGeometrySimpleGeometry 
     
    987987    \param[in] longres Number of subdivisions along longitudes. 
    988988    \param[in] radius Radius of sphere. 
    989     \return GeometryPtr to a newly created Geometry core. 
     989    \return GeometryTransitPtr to a newly created Geometry core. 
    990990 
    991991    \sa OSG::makeLatLongSphere 
     
    10941094    \param[in] longres Number of subdivisions along longitudes. 
    10951095    \param[in] radius Radius of sphere. 
    1096     \return NodePtr to a newly created Node with a Geometry core. 
     1096    \return NodeTransitPtr to a newly created Node with a Geometry core. 
    10971097 
    10981098    \ingroup GrpSystemDrawablesGeometrySimpleGeometry 
     
    11251125    \param[in] longres Number of subdivisions along longitudes. 
    11261126    \param[in] radius Radius of sphere. 
    1127     \return GeometryPtr to a newly created Geometry core. 
     1127    \return GeometryTransitPtr to a newly created Geometry core. 
    11281128 
    11291129    \sa OSG::makeLatLongSphere 
     
    12461246    \param[in] longres Number of subdivisions along longitudes. 
    12471247    \param[in] radius Radius of sphere. 
    1248     \return NodePtr to a newly created Node with a Geometry core. 
     1248    \return NodeTransitPtr to a newly created Node with a Geometry core. 
    12491249 
    12501250    \ingroup GrpSystemDrawablesGeometrySimpleGeometry 
     
    12861286    \param[in] longres Number of subdivisions along longitudes. 
    12871287    \param[in] radius Radius of sphere. 
    1288     \return GeometryPtr to a newly created Geometry core. 
     1288    \return GeometryTransitPtr to a newly created Geometry core. 
    12891289 
    12901290    \sa OSG::makeLatLongSphere 
     
    15631563    \param[in] vert Number of quads along the y axis. 
    15641564    \param[in] depth Number of quads along the z axis. 
    1565     \return NodePtr to a newly created Node with a Geometry core. 
     1565    \return NodeTransitPtr to a newly created Node with a Geometry core. 
    15661566 
    15671567    \ingroup GrpSystemDrawablesGeometrySimpleGeometry 
     
    15921592    \param[in] vert Number of quads along the y axis. 
    15931593    \param[in] depth Number of quads along the z axis. 
    1594     \return GeometryPtr to a newly created Geometry core. 
     1594    \return GeometryTransitPtr to a newly created Geometry core. 
    15951595 
    15961596    \sa OSG::makeBox 
     
    17011701 
    17021702    \param[in] depth Subdivision depth. 
    1703     \return NodePtr to a newly created Node with a Geometry core. 
     1703    \return NodeTransitPtr to a newly created Node with a Geometry core. 
    17041704 
    17051705    \ingroup GrpSystemDrawablesGeometrySimpleGeometry 
     
    21802180 
    21812181    \param[in] depth Subdivision depth. 
    2182     \return GeometryPtr to a newly created Geometry core. 
     2182    \return GeometryTransitPtr to a newly created Geometry core. 
    21832183 
    21842184    \sa OSG::makeTeapot 
  • trunk/Source/System/NodeCores/Drawables/Particles/OSGParticleBSP.h

    r882 r1173  
    269269           DataType       &getType      (void); 
    270270 
    271     static Char8          *getSName     (void) { return "SFParticleBSPTree"; } 
    272     static Char8          *getMName     (void) { return "MFParticleBSPTree"; } 
     271    static const Char8    *getSName     (void) { return "SFParticleBSPTree"; } 
     272    static const Char8    *getMName     (void) { return "MFParticleBSPTree"; } 
    273273 
    274274    static ParticleBSPTree getDefault   (void) { return ParticleBSPTree();   } 
  • trunk/Source/System/NodeCores/Drawables/Particles/OSGParticles.cpp

    r997 r1173  
    273273    enum { numFormats = GL_DOUBLE - GL_BYTE + 1 }; 
    274274 
    275     static char *formatNames[]; 
     275    static const char *formatNames[]; 
    276276 
    277277    static pumpFunc ColorFuncs[numFormats][4];  
     
    284284/*! A map from the OpenGL data type to the corresponding name  
    285285*/ 
    286 char *ColTraitBase::formatNames[] =  
     286const char *ColTraitBase::formatNames[] =  
    287287{   "GL_BYTE", "GL_UNSIGNED_BYTE", "GL_SHORT", "GL_UNSIGNED_SHORT",  
    288288    "GL_INT", "GL_UNSIGNED_INT", "GL_FLOAT", "GL_2_BYTES",  
  • trunk/Source/System/NodeCores/Groups/Stage/OSGRenderFunctorFieldTraits.h

    r900 r1173  
    126126        else 
    127127        { 
    128             containerId = getContainerId(pObject); 
     128            containerId = pObject->getId(); 
    129129        } 
    130130