class DisplacementSettings : public RefCountedObject

Settings for a specific displacement result.

A displacement result is a collection of displacement values. Displacement results are always node based. The displacement result has settings that can be configured to tailor the visual appearance of your result data.

Each displacement result has its own settings. Get displacement settings for a specific displacement result by calling UnstructGridModel::displacementSettings() with the requested id.

cee::ug::DisplacementSettings* settings = ugModel->displacementSettings(displacementId);

Public Functions

double scaleFactor() const

Returns scale factor.

void setScaleFactor(double scaleFactor)

Sets the absolute scale factor to scaleFactor.


The specified scale factor must be greater that 0.