ITK 6.0.0
Insight Toolkit
 
Loading...
Searching...
No Matches
rtk::SheppLoganPhantom Class Reference

#include <rtkSheppLoganPhantom.h>

Detailed Description

SheppLogan phantom as defined in "Principles of CT imaging" by Kak & Slaney.

See https://www.slaney.org/pct/pct-errata.html for the correction of the phantom definition.

Test
rtkfdktest.cxx
Author
Simon Rit

Definition at line 41 of file rtkSheppLoganPhantom.h.

+ Inheritance diagram for rtk::SheppLoganPhantom:
+ Collaboration diagram for rtk::SheppLoganPhantom:

Public Types

using ConstPointer = itk::SmartPointer<const Self>
 
using Pointer = itk::SmartPointer<Self>
 
using PointType = QuadricShape::PointType
 
using ScalarType = QuadricShape::ScalarType
 
using Self = SheppLoganPhantom
 
using Superclass = itk::DataObject
 
using VectorType = QuadricShape::VectorType
 
- Public Types inherited from rtk::GeometricPhantom
using ConstPointer = itk::SmartPointer<const Self>
 
using ConvexShapePointer = ConvexShape::Pointer
 
using ConvexShapeVector = std::vector<ConvexShapePointer>
 
using Pointer = itk::SmartPointer<Self>
 
using PointType = ConvexShape::PointType
 
using RotationMatrixType = ConvexShape::RotationMatrixType
 
using ScalarType = ConvexShape::ScalarType
 
using Self = GeometricPhantom
 
using Superclass = itk::DataObject
 
using VectorType = ConvexShape::VectorType
 
- Public Types inherited from itk::DataObject
using ConstPointer = SmartPointer<const Self>
 
using DataObjectIdentifierType = std::string
 
using DataObjectPointerArraySizeType = std::vector<Pointer>::size_type
 
using Pointer = SmartPointer<Self>
 
using Self = DataObject
 
using Superclass = Object
 
- Public Types inherited from itk::Object
using ConstPointer = SmartPointer<const Self>
 
using Pointer = SmartPointer<Self>
 
using Self = Object
 
using Superclass = LightObject
 
- Public Types inherited from itk::LightObject
using ConstPointer = SmartPointer<const Self>
 
using Pointer = SmartPointer<Self>
 
using Self = LightObject
 

Public Member Functions

virtual::itk::LightObject::Pointer CreateAnother () const
 
virtual const char * GetNameOfClass () const
 
- Public Member Functions inherited from rtk::GeometricPhantom
void AddClipPlane (const VectorType &dir, const ScalarType &pos)
 
void AddConvexShape (const ConvexShape *co)
 
virtual const ConvexShapeVector & GetConvexShapes () const
 
virtual void Rescale (const VectorType &r)
 
virtual void Rotate (const RotationMatrixType &r)
 
virtual void Translate (const VectorType &t)
 
- Public Member Functions inherited from itk::DataObject
virtual void CopyInformation (const DataObject *)
 
virtual void DataHasBeenGenerated ()
 
void DisconnectPipeline ()
 
bool GetDataReleased () const
 
virtual const bool & GetReleaseDataFlag () const
 
SmartPointer< ProcessObject > GetSource () const
 
DataObjectPointerArraySizeType GetSourceOutputIndex () const
 
const DataObjectIdentifierType & GetSourceOutputName () const
 
virtual ModifiedTimeType GetUpdateMTime () const
 
virtual void Graft (const DataObject *)
 
virtual void Initialize ()
 
virtual void PrepareForNewData ()
 
virtual void PropagateRequestedRegion ()
 
void ReleaseData ()
 
virtual void ReleaseDataFlagOff ()
 
virtual void ReleaseDataFlagOn ()
 
virtual bool RequestedRegionIsOutsideOfTheBufferedRegion ()
 
virtual void ResetPipeline ()
 
void SetReleaseDataFlag (bool flag)
 
virtual void SetRequestedRegion (const DataObject *)
 
virtual void SetRequestedRegionToLargestPossibleRegion ()
 
bool ShouldIReleaseData () const
 
virtual void Update ()
 
virtual void UpdateOutputData ()
 
virtual void UpdateOutputInformation ()
 
void UpdateSource () const
 
virtual bool VerifyRequestedRegion ()
 
void SetPipelineMTime (ModifiedTimeType time)
 
virtual const ModifiedTimeType & GetPipelineMTime () const
 
virtual void SetRealTimeStamp (RealTimeStamp _arg)
 
virtual const RealTimeStamp & GetRealTimeStamp () const
 
- Public Member Functions inherited from itk::Object
unsigned long AddObserver (const EventObject &event, Command *cmd) const
 
unsigned long AddObserver (const EventObject &event, std::function< void(const EventObject &)> function) const
 
virtual void DebugOff () const
 
virtual void DebugOn () const
 
Command * GetCommand (unsigned long tag)
 
bool GetDebug () const
 
MetaDataDictionary & GetMetaDataDictionary ()
 
const MetaDataDictionary & GetMetaDataDictionary () const
 
virtual ModifiedTimeType GetMTime () const
 
virtual const TimeStamp & GetTimeStamp () const
 
bool HasObserver (const EventObject &event) const
 
void InvokeEvent (const EventObject &)
 
void InvokeEvent (const EventObject &) const
 
virtual void Modified () const
 
void Register () const override
 
void RemoveAllObservers ()
 
void RemoveObserver (unsigned long tag) const
 
void SetDebug (bool debugFlag) const
 
void SetReferenceCount (int) override
 
void UnRegister () const noexcept override
 
void SetMetaDataDictionary (const MetaDataDictionary &rhs)
 
void SetMetaDataDictionary (MetaDataDictionary &&rrhs)
 
virtual void SetObjectName (std::string _arg)
 
virtual const std::string & GetObjectName () const
 
- Public Member Functions inherited from itk::LightObject
Pointer Clone () const
 
virtual void Delete ()
 
virtual int GetReferenceCount () const
 
void Print (std::ostream &os, Indent indent=0) const
 

Static Public Member Functions

static Pointer New ()
 
- Static Public Member Functions inherited from rtk::GeometricPhantom
static Pointer New ()
 
- Static Public Member Functions inherited from itk::DataObject
static bool GetGlobalReleaseDataFlag ()
 
static void GlobalReleaseDataFlagOff ()
 
static void GlobalReleaseDataFlagOn ()
 
static Pointer New ()
 
static void SetGlobalReleaseDataFlag (bool val)
 
- Static Public Member Functions inherited from itk::Object
static bool GetGlobalWarningDisplay ()
 
static void GlobalWarningDisplayOff ()
 
static void GlobalWarningDisplayOn ()
 
static Pointer New ()
 
static void SetGlobalWarningDisplay (bool val)
 
- Static Public Member Functions inherited from itk::LightObject
static void BreakOnError ()
 
static Pointer New ()
 

Protected Member Functions

 SheppLoganPhantom ()
 
 ~SheppLoganPhantom () override=default
 
- Protected Member Functions inherited from rtk::GeometricPhantom
 GeometricPhantom ()=default
 
 ~GeometricPhantom () override=default
 
- Protected Member Functions inherited from itk::DataObject
 DataObject ()
 
void PrintSelf (std::ostream &os, Indent indent) const override
 
virtual void PropagateResetPipeline ()
 
 ~DataObject () override
 
- Protected Member Functions inherited from itk::Object
 Object ()
 
bool PrintObservers (std::ostream &os, Indent indent) const
 
void PrintSelf (std::ostream &os, Indent indent) const override
 
virtual void SetTimeStamp (const TimeStamp &timeStamp)
 
 ~Object () override
 
- Protected Member Functions inherited from itk::LightObject
virtual LightObject::Pointer InternalClone () const
 
 LightObject ()
 
virtual void PrintHeader (std::ostream &os, Indent indent) const
 
virtual void PrintTrailer (std::ostream &os, Indent indent) const
 
virtual ~LightObject ()
 

Private Member Functions

void SetEllipsoid (ScalarType spax, ScalarType spay, ScalarType spaz, ScalarType centerx, ScalarType centery, ScalarType centerz, ScalarType angle, ScalarType density)
 

Additional Inherited Members

- Protected Attributes inherited from itk::LightObject
std::atomic< int > m_ReferenceCount {}
 

Member Typedef Documentation

◆ ConstPointer

◆ Pointer

◆ PointType

◆ ScalarType

Convenient type alias.

Definition at line 53 of file rtkSheppLoganPhantom.h.

◆ Self

Standard class type alias.

Definition at line 47 of file rtkSheppLoganPhantom.h.

◆ Superclass

◆ VectorType

Constructor & Destructor Documentation

◆ SheppLoganPhantom()

rtk::SheppLoganPhantom::SheppLoganPhantom ( )
protected

Referenced by GetNameOfClass().

◆ ~SheppLoganPhantom()

rtk::SheppLoganPhantom::~SheppLoganPhantom ( )
overrideprotecteddefault

Member Function Documentation

◆ CreateAnother()

virtual::itk::LightObject::Pointer rtk::SheppLoganPhantom::CreateAnother ( ) const
virtual

Create an object from an instance, potentially deferring to a factory. This method allows you to create an instance of an object that is exactly the same type as the referring object. This is useful in cases where an object has been cast back to a base class.

Reimplemented from rtk::GeometricPhantom.

◆ GetNameOfClass()

virtual const char * rtk::SheppLoganPhantom::GetNameOfClass ( ) const
virtual

Run-time type information (and related methods).

Reimplemented from rtk::GeometricPhantom.

References SheppLoganPhantom().

◆ New()

static Pointer rtk::SheppLoganPhantom::New ( )
static

Method for creation through the object factory.

◆ SetEllipsoid()

void rtk::SheppLoganPhantom::SetEllipsoid ( ScalarType spax,
ScalarType spay,
ScalarType spaz,
ScalarType centerx,
ScalarType centery,
ScalarType centerz,
ScalarType angle,
ScalarType density )
private

The documentation for this class was generated from the following file: