Medical Imaging Interaction Toolkit  2026.06.00
Medical Imaging Interaction Toolkit
mitkCone.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 mitkCone_h
14 #define mitkCone_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  protected:
54  Cone();
55  ~Cone() override;
56  };
57 }
58 #endif
#define MITKDATATYPESEXT_EXPORT
Abstract superclass of all bounding objects (cylinder, cuboid, cone, ellipsoid, etc....
Bounding object shaped as a cone.
Definition: mitkCone.h:32
~Cone() override
mitkClassMacro(Cone, BoundingObject)
mitk::ScalarType GetVolume() override
Calculate the cone volume from the geometry extents.
bool IsInside(const Point3D &p) const override
Test whether a world-coordinate point lies inside the cone.
Find image slices visible on a given plane.
double ScalarType
Scalar type used throughout MITK for geometric computations.