cee::exp::PropertyBuilderVTFx

class PropertyBuilderVTFx

Finds VTFx properties from model and/or view and builds a property set collection and image resources.

Public Functions

PropertyBuilderVTFx(PropertySetCollection *propSetCollection, ImageResources *resources)

Constructs a builder object and pass as parameters the property set collection and image resources that should be generated.

void addFromModel(const ug::UnstructGridModel &model)

Builds properties from this model and sets them in the property set collection.

void addFromView(const vis::View &view)

Builds properties from this view and sets them in the property set collection.

void addDefaultFramesPerSecond(double defaultFPS)

Adds default frames per second to the property set collection.

void addNumberOfParticleTraceAnimationSteps(int numAnimationSteps)

Adds number of particle trace animation steps to the property set collection.

void addStartAnimation(bool startAnimation)

Adds a flag that indicates if animations should be started when the file is opened.

void addAnimatedCuttingPlane(int index, int numFrames, double distance)

Adds animated cutting plane settings to the property set collection.

void addAnimationFirstFrameDelay(int milliSeconds)

Adds animation first frame delay to the property set collection.

void addAnimationLastFrameDelay(int milliSeconds)

Adds animation first frame delay to the property set collection.

void addViewTitle(const Str &title)

Adds animation first frame delay to the property set collection.