PropertyBuilder.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 "CeeUnstructGrid/Base.h"
16 #include "CeeCore/Pimpl.h"
17 #include "CeeVisualization/View.h"
18 #include "CeeUnstructGrid/UnstructGridModel.h"
19 
20 namespace cee {
21 class PropertySetCollection;
22 class ImageResources;
23 
24 namespace ug {
25 
26 
27 //==================================================================================================
28 //
29 //
30 //
31 //==================================================================================================
32 class CEE_UG_EXPORT PropertyBuilder
33 {
34 public:
35  PropertyBuilder(PropertySetCollection* collection, ImageResources* resources);
36  ~PropertyBuilder();
37 
38  bool addFromView(const cee::vis::View& view);
39  bool addFromModel(const UnstructGridModel& model);
40 
41 private:
42  CEE_PRIVATE_IMPL(PropertyBuilder);
43  CEE_DISALLOW_COPY_AND_ASSIGN(PropertyBuilder);
44 };
45 
46 
47 } // namespace ug
48 } // namespace cee
Namespace cee contains all functionality and structures under the Core component. ...
Definition: AppComponent.cpp:26
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
Definition: PropertyBuilder.h:32