ExportCgeo.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 "CeeCore/RefCountedObject.h"
17 #include "CeeCore/Str.h"
18 
19 #include <vector>
20 
21 namespace cee {
22 
23 namespace ug {
24 class UnstructGridModel;
25 }
26 
27 namespace exp {
28 
29 //==================================================================================================
30 //
31 // Export selected view to cgeo
32 //
33 //==================================================================================================
34 class CEE_EXP_EXPORT ExportCgeo
35 {
36 public:
37  ExportCgeo(ug::UnstructGridModel* model, size_t frameIndex);
38  ~ExportCgeo();
39 
40  bool save(const Str& fileName);
41 
42 private:
43  CEE_PRIVATE_IMPL(ExportCgeo);
44  CEE_DISALLOW_COPY_AND_ASSIGN(ExportCgeo);
45 };
46 
47 } // namespace ug
48 } // 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
Export the given frame to a .cgeo file.
Definition: ExportCgeo.h:34
UnstructGridModel is a subclass of Model which adds specific model structure and functionality for re...
Definition: UnstructGridModel.h:72