Medical Imaging Interaction Toolkit  2026.06.00
Medical Imaging Interaction Toolkit
mitkCylinder.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 mitkCylinder_h
14 #define mitkCylinder_h
15 
17 #include <mitkBoundingObject.h>
18 
19 namespace mitk
20 {
32  {
33  public:
35  itkFactorylessNewMacro(Self);
36  itkCloneMacro(Self);
37 
43 
52  bool IsInside(const Point3D &p) const override;
53 
54  protected:
56  ~Cylinder() override;
57  };
58 }
59 #endif
#define MITKDATATYPESEXT_EXPORT
Abstract superclass of all bounding objects (cylinder, cuboid, cone, ellipsoid, etc....
Bounding object shaped as a cylinder.
Definition: mitkCylinder.h:32
mitk::ScalarType GetVolume() override
Calculate the cylinder volume from the geometry extents.
~Cylinder() override
bool IsInside(const Point3D &p) const override
Test whether a world-coordinate point lies inside the cylinder.
mitkClassMacro(Cylinder, BoundingObject)
Find image slices visible on a given plane.
double ScalarType
Scalar type used throughout MITK for geometric computations.