PropertyBuilderVTFx.h
1 //##################################################################################################
2 //
3 // Ceetron Desktop Components
4 // Component: UnstructGrid
5 //
6 // --------------------------------------------------------------------------------------------
7 // Copyright (C) 2011, Ceetron AS
8 // This is UNPUBLISHED PROPRIETARY SOURCE CODE of Ceetron AS. The contents of this file may
9 // not be disclosed to third parties, copied or duplicated in any form, in whole or in part,
10 // without the prior written permission of Ceetron AS.
11 //##################################################################################################
12 
13 #pragma once
14 
15 #include "CeeExport/Base.h"
16 #include "CeeExport/ExportVTFx.h"
17 
18 namespace cee {
19 
20 class PropertySetCollection;
21 class ImageResources;
22 
23 namespace vis {
24 class View;
25 }
26 
27 namespace ug {
28 class UnstructGridModel;
29 }
30 
31 namespace plt {
32 class OverlayPlot;
33 }
34 
35 namespace exp {
36 
37 
38 //==================================================================================================
39 //
40 // PropertyBuilderVTFx
41 //
42 //==================================================================================================
43 class CEE_EXP_EXPORT PropertyBuilderVTFx
44 {
45 public:
46  PropertyBuilderVTFx(PropertySetCollection* propSetCollection, ImageResources* resources);
48 
49  void addFromModel(const ug::UnstructGridModel& model);
50  void addFromView(const vis::View& view);
51 
52  void addDefaultFramesPerSecond(double defaultFPS);
53  void addNumberOfParticleTraceAnimationSteps(int numAnimationSteps);
54  void addStartAnimation(bool startAnimation);
55 
56  void addAnimatedCuttingPlane(int index, int numFrames, double distance);
57  void addAnimationFirstFrameDelay(int milliSeconds);
58  void addAnimationLastFrameDelay(int milliSeconds);
59  void addViewTitle(const Str& title);
60 
61 private:
62  CEE_PRIVATE_IMPL(PropertyBuilderVTFx);
63  CEE_DISALLOW_COPY_AND_ASSIGN(PropertyBuilderVTFx);
64 };
65 
66 } // namespace ug
67 } // namespace cee
Namespace cee contains all functionality and structures under the Core component. ...
Definition: AppComponent.cpp:26
A general unicode based string class.
Definition: Str.h:28
Finds VTFx properties from model and/or view and builds a property set collection and image resources...
Definition: PropertyBuilderVTFx.h:43
A collection of property sets.
Definition: PropertySetCollection.h:29
Provides a render area in the user control/widget to enable visualization of the current model data a...
Definition: View.h:40
Class for storing image resources.
Definition: ImageResources.h:30
UnstructGridModel is a subclass of Model which adds specific model structure and functionality for re...
Definition: UnstructGridModel.h:72