RTK  2.6.0
Reconstruction Toolkit
rtkSheppLoganPhantom.h
Go to the documentation of this file.
1 /*=========================================================================
2  *
3  * Copyright RTK Consortium
4  *
5  * Licensed under the Apache License, Version 2.0 (the "License");
6  * you may not use this file except in compliance with the License.
7  * You may obtain a copy of the License at
8  *
9  * https://www.apache.org/licenses/LICENSE-2.0.txt
10  *
11  * Unless required by applicable law or agreed to in writing, software
12  * distributed under the License is distributed on an "AS IS" BASIS,
13  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  * See the License for the specific language governing permissions and
15  * limitations under the License.
16  *
17  *=========================================================================*/
18 
19 #ifndef rtkSheppLoganPhantom_h
20 #define rtkSheppLoganPhantom_h
21 
22 #include "RTKExport.h"
23 #include "rtkGeometricPhantom.h"
24 #include "rtkQuadricShape.h"
25 
26 namespace rtk
27 {
41 class RTK_EXPORT SheppLoganPhantom : public GeometricPhantom
42 {
43 public:
44  ITK_DISALLOW_COPY_AND_MOVE(SheppLoganPhantom);
45 
51 
56 
58  itkNewMacro(Self);
59 
61  itkOverrideGetNameOfClassMacro(SheppLoganPhantom);
62 
63 protected:
65  ~SheppLoganPhantom() override = default;
66 
67 private:
68  void
69  SetEllipsoid(ScalarType spax,
70  ScalarType spay,
71  ScalarType spaz,
72  ScalarType centerx,
73  ScalarType centery,
74  ScalarType centerz,
75  ScalarType angle,
76  ScalarType density);
77 };
78 
79 } // namespace rtk
80 #endif // rtkSheppLoganPhantom_h
Container for a geometric phantom, i.e., a set of ConvexShapes.
Superclass::ScalarType ScalarType
Superclass::PointType PointType
class ITK_FORWARD_EXPORT DataObject
ConvexShape::ScalarType ScalarType
Superclass::VectorType VectorType
SheppLogan phantom as defined in "Principles of CT imaging" by Kak & Slaney.