#include <OSGMergeGraphOp.h>#include <OSGDirectionalLight.h>#include <OSGSpotLight.h>#include <OSGLight.h>#include <OSGPointLight.h>#include <OSGSwitch.h>#include <OSGDistanceLOD.h>#include <OSGBillboard.h>#include <OSGMaterialGroup.h>#include <OSGComponentTransform.h>#include <OSGPrimitiveIterator.h>#include <OSGGeometry.h>#include <OSGGeoFunctions.h>Go to the source code of this file.
Namespaces | |
| namespace | osg |
Functions | |
| UInt32 | countNodes (const NodePtr &node) |
|
|
Definition at line 97 of file OSGMergeGraphOp.cpp. References osg::NullFC. Referenced by osg::MergeGraphOp::traverse(). 00098 { 00099 if (node == NullFC) 00100 return 0; 00101 00102 UInt32 total = 1; 00103 for (UInt32 i = 0; i < node->getNChildren(); ++i) 00104 total += countNodes(node->getChild(i)); 00105 return total; 00106 }
|
1.4.3