cisst-saw
Loading...
Searching...
No Matches
vctPlot2DOpenGLQtWidget.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 Author(s): Anton Deguet
6 Created on: 2010-05-05
7
8 (C) Copyright 2010-2021 Johns Hopkins University (JHU), All Rights Reserved.
9
10--- begin cisst license - do not edit ---
11
12This software is provided "as is" under an open source license, with
13no warranty. The complete license can be found in license.txt and
14http://www.cisst.org/cisst/license.txt.
15
16--- end cisst license ---
17*/
18
19#ifndef _vctPlot2DOpenGLQtWidget_h
20#define _vctPlot2DOpenGLQtWidget_h
21
24
25// Always include last
27
29{
30 Q_OBJECT;
31
32public:
33 vctPlot2DOpenGLQtWidget(QWidget * parent = 0);
35
37 DisplayYRangeScale = scale;
38 }
39
40protected:
41
44 virtual void initializeGL(void);
45 virtual void resizeGL(int w, int h);
46 virtual void paintGL(void);
47 virtual void keyPressEvent(QKeyEvent * event);
49
50public slots:
51 void ShowContextMenu(const QPoint & pos);
52 void FreezeSlot(bool);
53 void FitXSlot(void);
54 void FitYSlot(void);
59
60 protected:
62};
63
64#endif // _vctPlot2DOpenGLQtWidget_h
Definition vctPlot2DBase.h:184
~vctPlot2DOpenGLQtWidget(void)
Definition vctPlot2DOpenGLQtWidget.h:34
void SetContinuousExpandYResetSlot(void)
vctPlot2DBase::Scale * DisplayYRangeScale
Definition vctPlot2DOpenGLQtWidget.h:61
virtual void keyPressEvent(QKeyEvent *event)
void SetDisplayYRangeScale(vctPlot2DBase::Scale *scale)
Definition vctPlot2DOpenGLQtWidget.h:36
void ShowContextMenu(const QPoint &pos)
virtual void resizeGL(int w, int h)
vctPlot2DOpenGLQtWidget(QWidget *parent=0)
void SetContinuousFitYSlot(bool)
virtual void initializeGL(void)
virtual void paintGL(void)
void SetContinuousFitXSlot(bool)
void SetContinuousExpandYSlot(bool)
#define CISST_EXPORT
Definition cmnExportMacros.h:50
Macros to export the symbols of cisstVectorQt (in a Dll).
QGLWidget vctQtOpenGLBaseWidget
Definition vctForwardDeclarationsQt.h:31