cisst-saw
Loading...
Searching...
No Matches
vctForceTorque3DQtWidget.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, Dorothy Hu
6 Created on: 2017-01-20
7
8 (C) Copyright 2017-2020 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 _vctForceTorque3DQtWidget_h
20#define _vctForceTorque3DQtWidget_h
21
24#include <QWidget>
25
26class QLabel;
27
28// Always include last
30
32{
33 Q_OBJECT;
34
35public:
38
39protected:
40 virtual void closeEvent(QCloseEvent * event);
41
42private:
43 void setupUi(void);
44 vctVector3DQtWidget * QVector;
45
46 // force vs. torque
47 int PlotIndex;
48
49 public:
50 void SetValue(const vct3 & force, const vct3 & torque);
51
52
53private slots:
54 void SlotPlotIndex(int newAxis);
55};
56
58
59#endif // _vctForceTorque3DQtWidget_h
Definition vctForceTorque3DQtWidget.h:32
~vctForceTorque3DQtWidget()
Definition vctForceTorque3DQtWidget.h:37
void SetValue(const vct3 &force, const vct3 &torque)
virtual void closeEvent(QCloseEvent *event)
Definition vctVector3DQtWidget.h:36
#define CMN_DECLARE_SERVICES_INSTANTIATION(className)
Definition cmnClassRegisterMacros.h:199
#define CISST_EXPORT
Definition cmnExportMacros.h:50
Macros to export the symbols of cisstVectorQt (in a Dll).
vctFixedSizeVector< double, 3 > vct3
Definition vctFixedSizeVectorTypes.h:46