NorMIT-nav
22.09
An IGT application
cxFrameMetricRep.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 CXFRAMEMETRICREP_H
12
#define CXFRAMEMETRICREP_H
13
14
#include "cxResourceVisualizationExport.h"
15
16
#include "
cxDataMetricRep.h
"
17
#include "
cxGraphicalPrimitives.h
"
18
#include "
cxFrameMetric.h
"
19
#include "
cxViewportListener.h
"
20
21
namespace
cx
22
{
23
typedef
boost::shared_ptr<class GraphicalAxes3D>
GraphicalAxes3DPtr
;
24
}
25
26
namespace
cx
27
{
28
29
typedef
boost::shared_ptr<class FrameMetricRep>
FrameMetricRepPtr
;
30
39
class
cxResourceVisualization_EXPORT
FrameMetricRep
:
public
DataMetricRep
40
{
41
Q_OBJECT
42
public
:
43
static
FrameMetricRepPtr
New(
const
QString& uid=
""
);
44
virtual
~FrameMetricRep
() {}
45
virtual
QString
getType
()
const
{
return
"FrameMetricRep"
; }
46
47
protected
:
48
virtual
void
clear();
49
virtual
void
onModifiedStartRender();
50
51
private
:
52
FrameMetricRep
();
53
FrameMetricPtr
getFrameMetric();
54
55
GraphicalAxes3DPtr
mAxes;
56
};
57
58
}
// namespace cx
59
60
#endif // CXFRAMEMETRICREP_H
cx::FrameMetricRep::~FrameMetricRep
virtual ~FrameMetricRep()
constructor
Definition:
cxFrameMetricRep.h:44
cx::FrameMetricPtr
boost::shared_ptr< class FrameMetric > FrameMetricPtr
Definition:
cxFrameMetric.h:23
cx
Namespace for all CustusX production code.
Definition:
cx_dev_group_definitions.h:13
cxFrameMetric.h
cxGraphicalPrimitives.h
cx::FrameMetricRepPtr
boost::shared_ptr< class FrameMetricRep > FrameMetricRepPtr
Definition:
cxFrameMetricRep.h:29
cxViewportListener.h
cx::GraphicalAxes3DPtr
boost::shared_ptr< class GraphicalAxes3D > GraphicalAxes3DPtr
Definition:
cxGraphicalAxes3D.h:24
cx::FrameMetricRep
Definition:
cxFrameMetricRep.h:39
cx::DataMetricRep
Base class for all Data Metric reps.
Definition:
cxDataMetricRep.h:39
cxDataMetricRep.h
cx::FrameMetricRep::getType
virtual QString getType() const
Definition:
cxFrameMetricRep.h:45
CX
source
resource
view
Rep3D
cxFrameMetricRep.h
Generated on Tue Sep 13 2022 11:06:17 for NorMIT-nav by
1.8.17