Hide menu
cadex::ModelData_SceneGraphElement::LayerIterator Class Reference

Iterator over layers this element belongs to. More...

Public Member Functions

 LayerIterator (const ModelData_SceneGraphElement &theSGE)
 Constructor.
 
bool HasNext () const
 Returns true if iterator points to valid element.
 
ModelData_Layer Next ()
 Returns current layer and moves iterator to the next one.
 

Detailed Description

Iterator over layers this element belongs to.

Provides Java style iterator API. Example:

ModelData_SceneGraphElement::LayerIterator i (aSGE);
while (i.HasNext()) {
ModelData_Layer aLayer = i.Next();
}
Examples
meshing/remeshing/main.cxx.
ModelData_SceneGraphElement()
Constructor.
Definition: ModelData_SceneGraphElement.hxx:44