cisst-saw
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
vctPlot2DOpenGL.h
Go to the documentation of this file.
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /* ex: set filetype=cpp softtabstop=4 shiftwidth=4 tabstop=4 cindent expandtab: */
3 
4 /*
5 
6  Author(s): Anton Deguet
7  Created on: 2010-05-05
8 
9  (C) Copyright 2010-2013 Johns Hopkins University (JHU), All Rights Reserved.
10 
11 --- begin cisst license - do not edit ---
12 
13 This software is provided "as is" under an open source license, with
14 no warranty. The complete license can be found in license.txt and
15 http://www.cisst.org/cisst/license.txt.
16 
17 --- end cisst license ---
18 */
19 
20 #ifndef _vctPlot2DOpenGL_h
21 #define _vctPlot2DOpenGL_h
22 
24 
25 // Always include last
26 #include <cisstVector/vctExport.h>
27 
30 {
31  public:
32 
33  vctPlot2DOpenGL(void);
34  virtual ~vctPlot2DOpenGL(void) {};
35 
36  protected:
37 
40  virtual void RenderInitialize(void);
41  virtual void RenderResize(double width, double height);
42  virtual void Render(void); // todo, move render to base class, not virtual
43 
44  // called by Render(void)
45  virtual void Render(const VerticalLine * line);
46  virtual void Render(const Scale * scale);
47  virtual void Render(const Signal * signal);
49 };
50 
51 #endif // _vctPlot2DOpenGL_h
#define CISST_EXPORT
Definition: cmnExportMacros.h:50
virtual void RenderInitialize(void)=0
virtual void Render(void)=0
Definition: vctPlot2DOpenGL.h:29
Macros to export the symbols of cisstVector (in a Dll).
virtual ~vctPlot2DOpenGL(void)
Definition: vctPlot2DOpenGL.h:34
Definition: vctPlot2DBase.h:44
virtual void RenderResize(double width, double height)=0