Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
mitkCircularProfileTubeElement.h
Go to the documentation of this file.
1 /*===================================================================
2 
3 The Medical Imaging Interaction Toolkit (MITK)
4 Copyright (c) German Cancer Research Center,
5 Division of Medical and Biological Informatics.
6 All rights reserved.
7 
8 This software is distributed WITHOUT ANY WARRANTY; without
9 even the implied warranty of MERCHANTABILITY or FITNESS FOR
10 A PARTICULAR PURPOSE.
11 
12 See LICENSE.txt or http://www.mitk.org for details.
13 
14 ===================================================================*/
15 
16 #ifndef _MITK_CircularProfileTubeElement_H
17 #define _MITK_CircularProfileTubeElement_H
18 
19 #include <MitkTubeGraphExports.h>
20 
21 #include "mitkTubeElement.h"
22 
23 namespace mitk
24 {
29  {
30  public:
32  CircularProfileTubeElement(float x, float y, float z, float d = 0.0f);
33  CircularProfileTubeElement(const Point3D, float d = 0.0f);
35 
39  void SetCoordinates(Point3D coordinates) override;
40 
44  const Point3D &GetCoordinates() const override;
45 
49  void SetDiameter(float d);
50 
54  const float GetDiameter() const;
55 
61  bool operator==(const TubeElement &right) const override;
62 
63  private:
64  Point3D m_coordinates;
65  float m_diameter;
66 
67  }; // class
68 
69 } // namespace
70 #endif
#define MITKTUBEGRAPH_EXPORT
DataCollection - Class to facilitate loading/accessing structured data.
Abstract class for elements which describes tubular structur.
MITKCORE_EXPORT bool operator==(const InteractionEvent &a, const InteractionEvent &b)
Class for elements which describes tubular structur with a circular cross section.