NorMIT-nav
22.09
An IGT application
cxStringPropertyClipPlane.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 CXSTRINGPROPERTYCLIPPLANE_H
13
#define CXSTRINGPROPERTYCLIPPLANE_H
14
15
#include "cxGuiExport.h"
16
#include "
cxStringPropertyBase.h
"
17
#include "
cxForwardDeclarations.h
"
18
#include "
cxInteractiveClipper.h
"
19
20
namespace
cx
21
{
22
typedef
boost::shared_ptr<class StringPropertyClipPlane>
StringPropertyClipPlanePtr
;
23
26
class
cxGui_EXPORT
StringPropertyClipPlane
:
public
StringPropertyBase
27
{
28
Q_OBJECT
29
public
:
30
static
StringPropertyClipPlanePtr
New
(
InteractiveClipperPtr
clipper)
31
{
32
return
StringPropertyClipPlanePtr
(
new
StringPropertyClipPlane
(clipper));
33
}
34
StringPropertyClipPlane
(
InteractiveClipperPtr
clipper);
35
virtual
~StringPropertyClipPlane
() {}
36
37
public
:
38
// basic methods
39
virtual
QString getDisplayName()
const
;
40
virtual
bool
setValue(
const
QString& value);
41
virtual
QString getValue()
const
;
42
43
public
:
44
// optional methods
45
virtual
QString getHelp()
const
;
46
virtual
QStringList getValueRange()
const
;
47
void
setClipper(
InteractiveClipperPtr
clipper);
48
49
InteractiveClipperPtr
mInteractiveClipper
;
50
};
51
52
}
//cx
53
54
#endif // CXSTRINGPROPERTYCLIPPLANE_H
cx
Namespace for all CustusX production code.
Definition:
cx_dev_group_definitions.h:13
cxForwardDeclarations.h
cx::StringPropertyClipPlane::New
static StringPropertyClipPlanePtr New(InteractiveClipperPtr clipper)
Definition:
cxStringPropertyClipPlane.h:30
cx::StringPropertyClipPlane::~StringPropertyClipPlane
virtual ~StringPropertyClipPlane()
Definition:
cxStringPropertyClipPlane.h:35
cxInteractiveClipper.h
cx::StringPropertyClipPlane::mInteractiveClipper
InteractiveClipperPtr mInteractiveClipper
Definition:
cxStringPropertyClipPlane.h:49
cx::StringPropertyClipPlanePtr
boost::shared_ptr< class StringPropertyClipPlane > StringPropertyClipPlanePtr
Definition:
cxClipperWidget.h:28
cx::InteractiveClipperPtr
boost::shared_ptr< class InteractiveClipper > InteractiveClipperPtr
Definition:
cxForwardDeclarations.h:155
cxStringPropertyBase.h
cx::StringPropertyBase
Abstract interface for interaction with internal string-valued data.
Definition:
cxStringPropertyBase.h:65
cx::StringPropertyClipPlane
Definition:
cxStringPropertyClipPlane.h:26
CX
source
gui
properties
cxStringPropertyClipPlane.h
Generated on Tue Sep 13 2022 11:06:12 for NorMIT-nav by
1.8.17