...
Iterates over all objects in a scene.
Methods
Name | Description |
---|---|
Citerator | Class constructor. |
~Citerator | Class destructor. |
Citerator (Cobject)#firstfirst | Gets first object of the scene. |
Citerator (Cobject)#nextnext | Gets next object. |
Anchor | ||||
---|---|---|---|---|
|
...
Code Block | ||||
---|---|---|---|---|
| ||||
Cmaxwell::Cobject::Citerator it; Cmaxwell::Cobject object = it.first( scene ); while( !object.isNull() ) { // Do something with the object object = it.next(); } |
Code Block | ||||
---|---|---|---|---|
| ||||
it = CmaxwellCobjectIterator(); object = it.first( scene ); while not object.isNull(): # Do something with the object object= it.next(); |
...