Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
mitkCuboid.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,
6 Division of Medical and Biological Informatics.
7 All rights reserved.
8 
9 This software is distributed WITHOUT ANY WARRANTY; without
10 even the implied warranty of MERCHANTABILITY or FITNESS FOR
11 A PARTICULAR PURPOSE.
12 
13 See LICENSE.txt or http://www.mitk.org for details.
14 
15 ===================================================================*/
16 
17 #ifndef MITCUBOID_H_HEADER_INCLUDED
18 #define MITCUBOID_H_HEADER_INCLUDED
19 
21 #include "mitkBoundingObject.h"
22 
23 namespace mitk
24 {
25  //##Documentation
26  //## @brief Data class containing an cuboid
27  //## @ingroup Data
29  {
30  public:
32  itkFactorylessNewMacro(Self) itkCloneMacro(Self)
33 
34  virtual mitk::ScalarType GetVolume() override;
35  virtual bool IsInside(const Point3D &p) const override;
36 
37  protected:
38  Cuboid();
39  virtual ~Cuboid();
40  };
41 }
42 #endif /* MITCUBOID_H_HEADER_INCLUDED */
Base of all data objects.
Definition: mitkBaseData.h:39
#define MITKDATATYPESEXT_EXPORT
double ScalarType
DataCollection - Class to facilitate loading/accessing structured data.
superclass of all bounding objects (cylinder, cuboid,...)
Data class containing an cuboid.
Definition: mitkCuboid.h:28
#define mitkClassMacro(className, SuperClassName)
Definition: mitkCommon.h:44