cee::ug::PartSettingsIterator

class PartSettingsIterator

Part settings iterator.

The part settings iterator is a simple way to apply settings for multiple parts. Provided for convenience.

cee::ug::PartSettingsIterator it(ugModel.get());
while (it.hasNext())
{
    cee::ug::PartSettings* partSettings = it.next();
    partSettings->setFringesVisible(true);
}

See also

PartSettings

Public Functions

PartSettingsIterator(UnstructGridModel *model)

Constructs an iterator for all parts in the given model.

PartSettingsIterator(UnstructGridModel *model, size_t globalGeometryIndex)

Constructs an iterator for all parts in the given model and geometry index.

bool hasNext() const

Returns true if the iterator contains more elements.

PartSettings *next()

Returns the next element.