Viewer.h
1 //##################################################################################################
2 //
3 // Ceetron Desktop Components
4 // Component: Visualization
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 "CeeVisualization/Base.h"
16 
17 namespace cvf {
18  class OpenGLContext;
19 }
20 
21 namespace cee {
22 namespace vis {
23 
24 
25 //==================================================================================================
26 //
27 //
28 //
29 //==================================================================================================
30 class CEE_VIS_EXPORT Viewer
31 {
32 public:
33  Viewer();
34  virtual ~Viewer();
35 
36 private:
37  virtual void internal_requestRedraw() = 0;
38  virtual void internal_requestImmediateRedraw() = 0;
39  virtual bool internal_makeOpenGLContextCurrent() = 0;
40  virtual cvf::OpenGLContext* internal_cvfOpenGLContext() = 0;
41 
42 private:
43  CEE_PRIVATE_F(View);
44  CEE_DISALLOW_COPY_AND_ASSIGN(Viewer);
45 };
46 
47 } // namespace vis
48 } // namespace cee
Definition: LogEvent.h:19
Namespace cee contains all functionality and structures under the Core component. ...
Definition: AppComponent.cpp:26
Thin wrapper class for integrating Ceetron Desktop Components with a UI toolkit.
Definition: Viewer.h:30
Provides a render area in the user control/widget to enable visualization of the current model data a...
Definition: View.h:40