//------------------------------ bool SceneGraphWriter::writeNodes( const COLLADAFW::NodePointerArray& nodesToWriter ) { for ( size_t i = 0, count = nodesToWriter.getCount(); i < count; ++i) { writeNode(nodesToWriter[i]); } return true; }
//------------------------------ void SceneGraphWriter::createUniqueIdNodeMap( const COLLADAFW::NodePointerArray& nodes ) { for ( size_t i = 0, cout = nodes.getCount(); i < cout; ++i) { COLLADAFW::Node* node = nodes[i]; createUniqueIdNodeMap( node ); } }
//------------------------------ bool SceneGraphCreator::importNodes( const COLLADAFW::NodePointerArray& nodeArray, INode* parentINode ) { for ( size_t i = 0, count = nodeArray.getCount(); i < count; ++i) { ImpNode* newNode = importNode(nodeArray[i], parentINode); } return true; }
//------------------------------ bool NodeImporter::importNodes ( const COLLADAFW::NodePointerArray& nodes ) { for ( size_t i = 0, count = nodes.getCount(); i < count; ++i) { if ( !importNode( nodes[i] ) ) return false; } return true; }