Group iteration

The CreateIterator3D function is called by the TGraphicGroup3D::Draw function. The returned iterator covers one level of the group. The entire group is covered because the TGraphicGroup3D::Draw functions are called recursively.

    TGraphicIterator TGraphicHierarchy::CreateIterator();
TGraphicIterator3D has First, Next, and Last functions for traversing the group. The order in which graphics are adopted into the group is important because it affects the drawing order and transformation matrix concatenation. This order is determined by the AdoptFirst and AdoptLast functions of the TGraphicGroup3D.


[Contents] [Previous] [Next]
Click the icon to mail questions or corrections about this material to Taligent personnel.
Copyright©1995 Taligent,Inc. All rights reserved.

Generated with WebMaker