cisst-saw
Toggle main menu visibility
Loading...
Searching...
No Matches
tmp
cisst-saw
cisst
cisstVector
vctQtWidgetFrame4x4.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): Praneeth Sadda
7
Created on: 2012-02-09
8
9
(C) Copyright 2012 Johns Hopkins University (JHU), All Rights
10
Reserved.
11
12
--- begin cisst license - do not edit ---
13
14
This software is provided "as is" under an open source license, with
15
no warranty. The complete license can be found in license.txt and
16
http://www.cisst.org/cisst/license.txt.
17
18
--- end cisst license ---
19
20
*/
21
22
#ifndef _vctQtWidgetFrame4x4_h
23
#define _vctQtWidgetFrame4x4_h
24
25
#include <QTableWidget>
26
27
#include <
cisstVector/vctFrame4x4.h
>
28
#include <
cisstVector/vctFrameBase.h
>
29
30
// Always include last
31
#include <
cisstVector/vctExportQt.h
>
32
33
// -- for doubles
34
class
CISST_EXPORT
vctQtWidgetFrame4x4DoubleRead
:
public
QTableWidget
35
{
36
Q_OBJECT;
37
public
:
38
vctQtWidgetFrame4x4DoubleRead
(
void
);
39
virtual
bool
SetValue
(
const
vctFrame4x4<double>
& value);
40
41
template
<
class
_rotationType>
42
bool
SetValue
(
const
vctFrameBase<_rotationType>
& value) {
43
return
SetValue
(
vctFrame4x4<double>
(value));
44
}
45
};
46
47
class
CISST_EXPORT
vctQtWidgetFrame4x4DoubleWrite
:
public
QTableWidget
48
{
49
Q_OBJECT;
50
public
:
51
vctQtWidgetFrame4x4DoubleWrite
(
void
);
52
virtual
bool
SetValue
(
const
vctFrame4x4<double>
& value);
53
virtual
bool
GetValue
(
vctFrame4x4<double>
& placeHolder)
const
;
54
};
55
56
#endif
// _vctQtWidgetFrame4x4_h
vctFrame4x4
Template base class for a 4x4 frame.
Definition
vctFrame4x4.h:51
vctFrameBase
Template base class for a frame.
Definition
vctFrameBase.h:49
vctQtWidgetFrame4x4DoubleRead::SetValue
virtual bool SetValue(const vctFrame4x4< double > &value)
vctQtWidgetFrame4x4DoubleRead::SetValue
bool SetValue(const vctFrameBase< _rotationType > &value)
Definition
vctQtWidgetFrame4x4.h:42
vctQtWidgetFrame4x4DoubleRead::vctQtWidgetFrame4x4DoubleRead
vctQtWidgetFrame4x4DoubleRead(void)
vctQtWidgetFrame4x4DoubleWrite::GetValue
virtual bool GetValue(vctFrame4x4< double > &placeHolder) const
vctQtWidgetFrame4x4DoubleWrite::SetValue
virtual bool SetValue(const vctFrame4x4< double > &value)
vctQtWidgetFrame4x4DoubleWrite::vctQtWidgetFrame4x4DoubleWrite
vctQtWidgetFrame4x4DoubleWrite(void)
CISST_EXPORT
#define CISST_EXPORT
Definition
cmnExportMacros.h:50
vctExportQt.h
Macros to export the symbols of cisstVectorQt (in a Dll).
vctFrame4x4.h
Declaration of vctFrame4x4.
vctFrameBase.h
Declaration of vctFrameBase.
Generated by
1.18.0