DataPart.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/DataNodes.h"
17 #include "CeeUnstructGrid/DataElements.h"
18 
19 namespace cee {
20 namespace ug {
21 
22 
23 //==================================================================================================
24 //
25 //
26 //
27 //==================================================================================================
28 class CEE_UG_EXPORT DataPart : public RefCountedObject
29 {
30 public:
31  DataPart(int id);
32  virtual ~DataPart();
33 
34  int partId() const;
35 
36  const DataNodes* nodes() const;
37  DataNodes* nodes();
38  void setNodes(DataNodes* nodes);
39 
40  const DataElements* elements() const;
41  DataElements* elements();
42  void setElements(DataElements* elements);
43 
44 private:
45  CEE_PRIVATE_F(DataGeometry);
46  CEE_PRIVATE_F(DataPartScalar);
47  CEE_PRIVATE_F(DataPartVector);
48  CEE_PRIVATE_IMPL(DataPart);
49  CEE_DISALLOW_COPY_AND_ASSIGN(DataPart);
50 };
51 
52 
53 } // namespace ug
54 } // namespace cee
A part in the geometry. Consists of a collection of node coordinates and a collection element connect...
Definition: DataPart.h:28
Namespace cee contains all functionality and structures under the Core component. ...
Definition: AppComponent.cpp:26
Vector result values for a part.
Definition: DataPartVector.h:31
Scalar result values for a part.
Definition: DataPartScalar.h:31
Base class for all reference counted objects with built-in support for intrusive reference counting...
Definition: RefCountedObject.h:34
Collection of coordinates (and optionally ids) of the element nodes in a part.
Definition: DataNodes.h:32
Collection of elements in a part. Examples of element types are points, triangles or hexahedrons...
Definition: DataElements.h:31
The geometry of the model for a certain state.
Definition: DataGeometry.h:28