Tammo Spalink (tammo+++at++CMU.EDU)
Mon, 26 Jun 1995 16:00:39 -0400 (EDT)
cout << child->getTypeName () << " - ";
pfType *childClassType = child->getClassType ();
cout << childClassType->getName () << "\n";
cout << group->getTypeName () << " - ";
pfType *groupClassType = group->getClassType ();
cout << groupClassType->getName () << "\n";
output:
pfSCS - pfNode
pfGroup - pfGroup
Where the variable 'child' is a child of 'group' in the scene graph. I
am trying to use the pfType class to do a conditional traversal -- I do
not recurse on an object that cannot have children...
Is this output not inconsistent? Why is a pfSCS returning name == pfNode ??
If not could someone let me know how I am supposed to be doing this?
Thanks,
Tammo
This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:51:37 PDT