Medical Imaging Interaction Toolkit  2018.4.99-07c45cb1
Medical Imaging Interaction Toolkit
mitkEllipsoid.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 MITKELLIPSEDATA_H_HEADER_INCLUDED
14 #define MITKELLIPSEDATA_H_HEADER_INCLUDED
15 
17 #include "mitkBoundingObject.h"
18 
19 namespace mitk
20 {
21  //##Documentation
22  //## @brief Data class containing an ellipsoid
23  //## @ingroup Data
25  {
26  public:
28  itkFactorylessNewMacro(Self);
29  itkCloneMacro(Self);
30 
31  mitk::ScalarType GetVolume() override;
32  bool IsInside(const Point3D &p) const override;
33 
34  protected:
35  Ellipsoid();
36  ~Ellipsoid() override;
37  };
38 }
39 #endif /* MITKELLIPSEDATA_H_HEADER_INCLUDED */
Base of all data objects.
Definition: mitkBaseData.h:37
#define MITKDATATYPESEXT_EXPORT
double ScalarType
DataCollection - Class to facilitate loading/accessing structured data.
superclass of all bounding objects (cylinder, cuboid,...)
#define mitkClassMacro(className, SuperClassName)
Definition: mitkCommon.h:40
Data class containing an ellipsoid.
Definition: mitkEllipsoid.h:24