rem: cout << "Node (OSGNodePtr):           " << p1->getType().getId() << endl << "(OSGNode::getStaticType()) : " << OSGNode::getStaticType().getId() << endl << "(OSGFieldContainerPtr)     : " << pb1->getType().getId() << endl
add: cout << "Node (NodePtr):           " << p1->getType().getId() << endl << "(Node::getStaticType()) : " << Node::getStaticType().getId() << endl << "(FieldContainerPtr)     : " << pb1->getType().getId() << endl
context: int main (int argc, char **argv){    osgInit( argc, argv );//    osgLog().setLogLevel(OSG::LOG_DEBUG);    OSGNodePtr  p1 = OSGNode::create();    OSGGroupPtr g1 = OSGGroup::create();    OSGTransformPtr t1 = OSGTransform::create();    OSGFieldContainerPtr pb1 = p1;    OSGFieldContainerPtr gb1 = g1;    OSGFieldContainerPtr tb1 = t1;    cout << "Types:" << endl;    cout << "Node (OSGNodePtr):           " << p1->getType().getId() << endl         << "(OSGNode::getStaticType()) : " << OSGNode::getStaticType().getId() << endl         << "(OSGFieldContainerPtr)     : " << pb1->getType().getId() << endl         << "Fields: " << endl;    p1->getType().print();    cout << endl;    cout << "Nodes:" << endl;    cout << "Group (OSGGroupPtr):           " << g1->getType().getId() << endl         << "(OSGGroupPtr::getStaticType()):" << OSGGroup::getStaticType().getId() << endl         << "(OSGFieldContainerPtr):        " << gb1->getType().getId() << endl         << "Fields: " << endl;    g1->getType().print();    cout << endl;    cout << "Transform (OSGTransformPtr):       " << t1->getType().getId() << endl         << "(OSGTransformPtr::getStaticType()):" << OSGTransform::getStaticType().getId() << endl         << "(OSGFieldContainerPtr):            " << tb1->getType().getId() << endl         << "Fields: " << endl;    t1->getType().print();    cout << endl;    // create a test tree    OSGNodePtr  p2 = OSGNode::create();    OSGNodePtr  p3 = OSGNode::create();    OSGNodePtr  p4 = OSGNode::create();    OSGNodePtr  p5 = OSGNode::create();    OSGTransformPtr t2 = OSGTransform::create();    OSGGroupPtr g2 = OSGGroup::create();        p1->setCore( g1 );    p2->setCore( t1 );    p3->setCore( g2 );    p4->setCore( t2 );    p5->setCore( t2 );    p1->addChild( p2 );    p2->addChild( p3 );    p2->addChild( p4 );    p4->addChild( p5 );    OSGMatrix m1,m2;    m1.setIdentity();    m1.setScale( 2,2,2 );    m2.setIdentity();    m2.setTranslate( 1,1,1 );    t1->getSFMatrix()->setValue( m1 );      t2->getSFMatrix()->setValue( m2 );      cout << "Testtree:" << endl;    p1->print();    cout << "ToWorlds:" << endl;    cout << "p1:" << endl << p1->getToWorld() << endl;    cout << "p2:" << endl << p2->getToWorld() << endl;    cout << "p3:" << endl << p3->getToWorld() << endl;    cout << "p4:" << endl << p4->getToWorld() << endl;    cout << "p5:" << endl << p5->getToWorld() << endl;    p1 = OSGNullNode;    p1.dump();    p1 = OSGFieldContainerFactory::the().createNode("Node");    p1.dump();    p1 = OSGFieldContainerFactory::the().createNode("Transform");    p1.dump();    OSGNodeCorePtr nc1 = OSGNullNodeCore;    nc1.dump();    nc1 = OSGFieldContainerFactory::the().createNodeCore("Transform");    nc1.dump();    return 0;}