Fraxinus  2023.01.05-dev+develop.0da12
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  {
33  }
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 
50 };
51 
52 }//cx
53 
54 #endif // CXSTRINGPROPERTYCLIPPLANE_H
InteractiveClipperPtr mInteractiveClipper
Abstract interface for interaction with internal string-valued data.
boost::shared_ptr< class InteractiveClipper > InteractiveClipperPtr
static StringPropertyClipPlanePtr New(InteractiveClipperPtr clipper)
boost::shared_ptr< class StringPropertyClipPlane > StringPropertyClipPlanePtr
Namespace for all CustusX production code.