PropertyApplierPlot2d.h
1 //##################################################################################################
2 //
3 // Ceetron Desktop Components
4 // Component: UnstructGrid
5 //
6 // --------------------------------------------------------------------------------------------
7 // Copyright (C) 2016, 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 "CeeVisualization/OverlayItem.h"
17 #include "CeePlot2d/OverlayPlot.h"
18 #include "CeeCore/PtrRef.h"
19 
20 namespace cee {
21 class PropertySetCollection;
22 
23 namespace ug {
24 class DataSourceVTFx;
25 
26 
27 //==================================================================================================
28 //
29 // Create overlay plots from properties in a property set collection and the referenced data source
30 //
31 //==================================================================================================
32 class CEE_UG_EXPORT PropertyApplierPlot2d
33 {
34 public:
35  PropertyApplierPlot2d(PropertySetCollection* propSetCollection, DataSourceVTFx* dataSource);
37 
38  size_t plotCount() const;
39  PtrRef<plt::OverlayPlot> createOverlayPlot(size_t plotIndex, vis::Font* font);
40 
41 private:
42  CEE_PRIVATE_IMPL(PropertyApplierPlot2d);
43  CEE_DISALLOW_COPY_AND_ASSIGN(PropertyApplierPlot2d);
44 };
45 
46 } // namespace ug
47 } // namespace cee
Creates overlay plots from VTFx properties in a property set collection and the corresponding data so...
Definition: PropertyApplierPlot2d.h:32
Namespace cee contains all functionality and structures under the Core component. ...
Definition: AppComponent.cpp:26
Smart pointer class used for handling reference counted objects (that derive from Object)...
Definition: PtrRef.h:26
Data source interface for VTFx model files.
Definition: DataSourceVTFx.h:37
A collection of property sets.
Definition: PropertySetCollection.h:29
A font used for text drawing.
Definition: Font.h:30