OverlayColorLegend.h
1 //##################################################################################################
2 //
3 // Ceetron Desktop Components
4 // Component: UnstructGrid
5 //
6 // --------------------------------------------------------------------------------------------
7 // Copyright (C) 2012, 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 
18 namespace cee {
19 namespace ug {
20 
21 //==================================================================================================
22 //
23 //
24 //
25 //==================================================================================================
26 class CEE_UG_EXPORT OverlayColorLegend : public vis::OverlayItem
27 {
28 public:
29  virtual ~OverlayColorLegend();
30 
31  int resultId() const;
32 
33  virtual unsigned int width() const;
34  virtual unsigned int height() const;
35  virtual void setSize(unsigned int width, unsigned int height);
36 
37  virtual int priority() const;
38  virtual void setPriority(int priority);
39 
40 private:
41  virtual cvf::OverlayItem* internal_cvfOverlayItem();
42 
43 private:
45  CEE_PRIVATE_F(UnstructGridModel);
46  CEE_PRIVATE_IMPL(OverlayColorLegend);
47  CEE_DISALLOW_COPY_AND_ASSIGN(OverlayColorLegend);
48 };
49 
50 
51 } // namespace ug
52 } // namespace cee
Namespace cee contains all functionality and structures under the Core component. ...
Definition: AppComponent.cpp:26
Abstract interface for overlay items.
Definition: OverlayItem.h:31
A color legend to show as overlay in the view.
Definition: OverlayColorLegend.h:26
UnstructGridModel is a subclass of Model which adds specific model structure and functionality for re...
Definition: UnstructGridModel.h:72