DataStateSpec.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 "CeeUnstructGrid/ResultInfo.h"
17 
18 #include "CeeCore/RefCountedObject.h"
19 
20 #include <vector>
21 
22 namespace cee {
23 namespace ug {
24 
25 
26 //==================================================================================================
27 //
28 //
29 //
30 //==================================================================================================
31 class CEE_UG_EXPORT DataStateSpec
32 {
33 public:
34  DataStateSpec();
35  ~DataStateSpec();
36 
37  std::vector<int> scalarResultIds() const;
38  void setScalarResultIds(const std::vector<int>& scalarIds);
39 
40  std::vector<int> vectorResultIds() const;
41  void setVectorResultIds(const std::vector<int>& vectorIds);
42 
43  std::vector<int> displacementResultIds() const;
44  void setDisplacementResultIds(const std::vector<int>& displacementIds);
45 
46  std::vector<int> symmetricTensorResultIds() const;
47  void setSymmetricTensorResultIds(const std::vector<int>& symmetricTensorIds);
48 
49  void setResultIds(const std::vector<ResultInfo>& resultInfos);
50 
51  bool loadTransformationResult() const;
52  void setLoadTransformationResult(bool load);
53 
54  std::vector<int> setIds() const;
55  void setSetIds(const std::vector<int>& setIds);
56 
57 private:
58  CEE_PRIVATE_IMPL(DataStateSpec);
59  CEE_DISALLOW_COPY_AND_ASSIGN(DataStateSpec);
60 };
61 
62 
63 } // namespace ug
64 } // namespace cee
Namespace cee contains all functionality and structures under the Core component. ...
Definition: AppComponent.cpp:26
Specification of data to load for a state.
Definition: DataStateSpec.h:31