Exercise 1 - Task
Create an application that retrieves the <Environment Root> object in “belle31.stf”, and returns the number of <Polygon> objects under its hierarchy.
Hints:
- Use source file “sample_iterator.cpp” to get you started.
- To find all <Polygon> objects, consider using a recursive function, or see the seSearchIterator utility class.
- “Fundamentals for Accessing Transmittals” tutorial.
- Consider other object you may find in the hierarchy, for example <Model> objects.
- If you want to keep track of objects you have seen, consider using Object IDs (may be <Model>s? why?).