Medical Imaging Interaction Toolkit  2023.04.00
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 mitkCircularProfileTubeElement_h
14 #define mitkCircularProfileTubeElement_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
mitk::CircularProfileTubeElement
Class for elements which describes tubular structur with a circular cross section.
Definition: mitkCircularProfileTubeElement.h:25
MITKTUBEGRAPH_EXPORT
#define MITKTUBEGRAPH_EXPORT
Definition: MitkTubeGraphExports.h:15
mitk::TubeElement
Abstract class for elements which describes tubular structur.
Definition: mitkTubeElement.h:25
mitkTubeElement.h
mitk
DataCollection - Class to facilitate loading/accessing structured data.
Definition: RenderingTests.dox:1
mitk::operator==
MITKCORE_EXPORT bool operator==(const InteractionEvent &a, const InteractionEvent &b)
mitk::Point< ScalarType, 3 >
MitkTubeGraphExports.h