Medical Imaging Interaction Toolkit  2024.12.99-0da743f6
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 (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 mitkCuboid_h
14 #define mitkCuboid_h
15 
17 #include "mitkBoundingObject.h"
18 
19 namespace mitk
20 {
21  //##Documentation
22  //## @brief Data class containing an cuboid
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  Cuboid();
36  ~Cuboid() override;
37  };
38 }
39 #endif
MitkDataTypesExtExports.h
MITKDATATYPESEXT_EXPORT
#define MITKDATATYPESEXT_EXPORT
Definition: MitkDataTypesExtExports.h:15
mitk
Find image slices visible on a given plane.
Definition: RenderingTests.dox:1
mitk::Point< ScalarType, 3 >
mitk::BaseData
Base of all data objects.
Definition: mitkBaseData.h:42
mitk::Cuboid
Data class containing an cuboid.
Definition: mitkCuboid.h:24
mitkBoundingObject.h
mitkClassMacro
#define mitkClassMacro(className, SuperClassName)
Definition: mitkCommon.h:36
mitk::BoundingObject
superclass of all bounding objects (cylinder, cuboid,...)
Definition: mitkBoundingObject.h:27
mitk::ScalarType
double ScalarType
Definition: mitkNumericConstants.h:20