Medical Imaging Interaction Toolkit  2022.04.99-2e1e005b
Medical Imaging Interaction Toolkit
mitkCircularProfileTubeElement.h
Go to the documentation of this file.
1 /*============================================================================
2 
3 The Medical Imaging Interaction Toolkit (MITK)
4 
5 Copyright (c) German Cancer Research Center (DKFZ)
6 All rights reserved.
7 
8 Use of this source code is governed by a 3-clause BSD license that can be
9 found in the LICENSE file.
10 
11 ============================================================================*/
12 
13 #ifndef _MITK_CircularProfileTubeElement_H
14 #define _MITK_CircularProfileTubeElement_H
15 
16 #include <MitkTubeGraphExports.h>
17 
18 #include "mitkTubeElement.h"
19 
20 namespace mitk
21 {
26  {
27  public:
29  CircularProfileTubeElement(float x, float y, float z, float d = 0.0f);
30  CircularProfileTubeElement(const Point3D, float d = 0.0f);
31  ~CircularProfileTubeElement() override;
32 
36  void SetCoordinates(Point3D coordinates) override;
37 
41  const Point3D &GetCoordinates() const override;
42 
46  void SetDiameter(float d);
47 
51  float GetDiameter() const;
52 
58  bool operator==(const TubeElement &right) const override;
59 
60  private:
61  Point3D m_coordinates;
62  float m_diameter;
63 
64  }; // class
65 
66 } // namespace
67 #endif
MITKCORE_EXPORT bool operator==(const InteractionEvent &a, const InteractionEvent &b)
#define MITKTUBEGRAPH_EXPORT
DataCollection - Class to facilitate loading/accessing structured data.
Abstract class for elements which describes tubular structur.
Class for elements which describes tubular structur with a circular cross section.