NorMIT-nav
22.09
An IGT application
cxSpaceListener.h
Go to the documentation of this file.
1
/*=========================================================================
2
This file is part of CustusX, an Image Guided Therapy Application.
3
4
Copyright (c) SINTEF Department of Medical Technology.
5
All rights reserved.
6
7
CustusX is released under a BSD 3-Clause license.
8
9
See Lisence.txt (https://github.com/SINTEFMedtek/CustusX/blob/master/License.txt) for details.
10
=========================================================================*/
11
#ifndef CXSPACELISTENER_H
12
#define CXSPACELISTENER_H
13
14
#include "cxResourceExport.h"
15
16
#include "
cxCoordinateSystemHelpers.h
"
17
#include <QObject>
18
19
namespace
cx
20
{
21
30
class
cxResource_EXPORT
SpaceListener
:
public
QObject
31
{
32
Q_OBJECT
33
34
public
:
35
virtual
~SpaceListener
() {}
36
virtual
void
setSpace(
CoordinateSystem
space) = 0;
37
virtual
CoordinateSystem
getSpace()
const
= 0;
38
signals:
39
void
changed();
40
};
41
typedef
boost::shared_ptr<SpaceListener>
SpaceListenerPtr
;
42
43
}
// namespace cx
44
45
#endif // CXSPACELISTENER_H
cx::SpaceListenerPtr
boost::shared_ptr< class SpaceListener > SpaceListenerPtr
Definition:
cxAxisConnector.h:23
cx::SpaceListener::~SpaceListener
virtual ~SpaceListener()
Definition:
cxSpaceListener.h:35
cx
Namespace for all CustusX production code.
Definition:
cx_dev_group_definitions.h:13
cx::SpaceListener
Class that listens to changes in a coordinate system, and emits a signal if that system changes.
Definition:
cxSpaceListener.h:30
cxCoordinateSystemHelpers.h
cx::CoordinateSystem
Identification of a Coordinate system.
Definition:
cxCoordinateSystemHelpers.h:31
CX
source
resource
core
utilities
cxSpaceListener.h
Generated on Tue Sep 13 2022 11:06:16 for NorMIT-nav by
1.8.17