cisst-saw
Toggle main menu visibility
Loading...
Searching...
No Matches
tmp
cisst-saw
cisst
cisstVector
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
12
This software is provided "as is" under an open source license, with
13
no warranty. The complete license can be found in license.txt and
14
http://www.cisst.org/cisst/license.txt.
15
16
--- end cisst license ---
17
*/
18
19
#ifndef _vctForceTorque3DQtWidget_h
20
#define _vctForceTorque3DQtWidget_h
21
22
#include <
cisstVector/vctForwardDeclarationsQt.h
>
23
#include <
cisstVector/vctVector3DQtWidget.h
>
24
#include <QWidget>
25
26
class
QLabel;
27
28
// Always include last
29
#include <
cisstVector/vctExportQt.h
>
30
31
class
CISST_EXPORT
vctForceTorque3DQtWidget
:
public
QWidget
32
{
33
Q_OBJECT;
34
35
public
:
36
vctForceTorque3DQtWidget
(
void
);
37
~vctForceTorque3DQtWidget
(){}
38
39
protected
:
40
virtual
void
closeEvent
(QCloseEvent * event);
41
42
private
:
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
53
private
slots:
54
void
SlotPlotIndex(
int
newAxis);
55
};
56
57
CMN_DECLARE_SERVICES_INSTANTIATION
(
vctForceTorque3DQtWidget
);
58
59
#endif
// _vctForceTorque3DQtWidget_h
vctForceTorque3DQtWidget
Definition
vctForceTorque3DQtWidget.h:32
vctForceTorque3DQtWidget::vctForceTorque3DQtWidget
vctForceTorque3DQtWidget(void)
vctForceTorque3DQtWidget::~vctForceTorque3DQtWidget
~vctForceTorque3DQtWidget()
Definition
vctForceTorque3DQtWidget.h:37
vctForceTorque3DQtWidget::SetValue
void SetValue(const vct3 &force, const vct3 &torque)
vctForceTorque3DQtWidget::closeEvent
virtual void closeEvent(QCloseEvent *event)
vctVector3DQtWidget
Definition
vctVector3DQtWidget.h:36
CMN_DECLARE_SERVICES_INSTANTIATION
#define CMN_DECLARE_SERVICES_INSTANTIATION(className)
Definition
cmnClassRegisterMacros.h:199
CISST_EXPORT
#define CISST_EXPORT
Definition
cmnExportMacros.h:50
vctExportQt.h
Macros to export the symbols of cisstVectorQt (in a Dll).
vct3
vctFixedSizeVector< double, 3 > vct3
Definition
vctFixedSizeVectorTypes.h:46
vctForwardDeclarationsQt.h
vctVector3DQtWidget.h
Generated by
1.18.0