NorMIT-nav
2023.01.05-dev+develop.0da12
An IGT application
cxSphereMetricRep.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
12
#ifndef CXSPHEREMETRICREP_H
13
#define CXSPHEREMETRICREP_H
14
15
#include "cxResourceVisualizationExport.h"
16
17
#include "
cxDataMetricRep.h
"
18
#include "
vtkForwardDeclarations.h
"
19
#include "
cxForwardDeclarations.h
"
20
21
typedef
vtkSmartPointer<class vtkTextActor>
vtkTextActorPtr
;
22
23
namespace
cx
24
{
25
typedef
boost::shared_ptr<class CaptionText3D>
CaptionText3DPtr
;
26
typedef
boost::shared_ptr<class GraphicalArc3D>
GraphicalArc3DPtr
;
27
}
28
29
namespace
cx
30
{
31
32
typedef
boost::shared_ptr<class SphereMetricRep>
SphereMetricRepPtr
;
33
typedef
boost::shared_ptr<class SphereMetric>
SphereMetricPtr
;
34
43
class
cxResourceVisualization_EXPORT
SphereMetricRep
:
public
DataMetricRep
44
{
45
Q_OBJECT
46
public
:
47
static
SphereMetricRepPtr
New(
const
QString& uid =
""
);
48
virtual
~SphereMetricRep
() {}
49
50
virtual
QString
getType
()
const
{
return
"SphereMetricRep"
; }
51
52
protected
:
53
virtual
void
clear();
54
virtual
void
onModifiedStartRender();
55
56
private
:
57
SphereMetricRep
();
58
SphereMetricPtr
getSphereMetric();
59
60
GraphicalPoint3DPtr
mGraphicalPoint;
61
};
62
63
}
64
65
#endif // CXSPHEREMETRICREP_H
cx::GraphicalPoint3DPtr
boost::shared_ptr< class GraphicalPoint3D > GraphicalPoint3DPtr
Definition:
cxForwardDeclarations.h:74
cx
Namespace for all CustusX production code.
Definition:
cx_dev_group_definitions.h:13
cxForwardDeclarations.h
cx::CaptionText3DPtr
boost::shared_ptr< CaptionText3D > CaptionText3DPtr
Definition:
cxGraphicalPrimitives.h:287
cx::SphereMetricRepPtr
boost::shared_ptr< class SphereMetricRep > SphereMetricRepPtr
Definition:
cxSphereMetricRep.h:32
cx::SphereMetricPtr
boost::shared_ptr< class SphereMetric > SphereMetricPtr
Definition:
cxDataRepContainer.h:22
vtkForwardDeclarations.h
cx::SphereMetricRep
Definition:
cxSphereMetricRep.h:43
vtkTextActorPtr
vtkSmartPointer< class vtkTextActor > vtkTextActorPtr
Definition:
cxSphereMetricRep.h:21
cx::DataMetricRep
Base class for all Data Metric reps.
Definition:
cxDataMetricRep.h:39
cxDataMetricRep.h
cx::SphereMetricRep::getType
virtual QString getType() const
Definition:
cxSphereMetricRep.h:50
cx::GraphicalArc3DPtr
boost::shared_ptr< GraphicalArc3D > GraphicalArc3DPtr
Definition:
cxGraphicalPrimitives.h:183
cx::SphereMetricRep::~SphereMetricRep
virtual ~SphereMetricRep()
constructor
Definition:
cxSphereMetricRep.h:48
CX
source
resource
view
Rep3D
cxSphereMetricRep.h
Generated on Thu Jan 5 2023 03:15:55 for NorMIT-nav by
1.8.17