ITK 6.0.0
Insight Toolkit
 
Loading...
Searching...
No Matches
itk::DCMTKTransformIO< TInternalComputationValueType > Class Template Reference

#include <itkDCMTKTransformIO.h>

Detailed Description

template<typename TInternalComputationValueType>
class itk::DCMTKTransformIO< TInternalComputationValueType >

Read spatial transforms stored as DICOM Spatial-Registration Objects (SOP class UID_SpatialRegistrationStorage) via DCMTK.

Each MatrixRegistration item is materialized as the most-specific ITK transform indicated by FrameOfReferenceTransformationMatrixType (RIGID, RIGID_SCALE, or AFFINE). When a target Frame-of-Reference UID is set via SetFrameOfReferenceUID(), items not matching that UID are skipped. Write support is not implemented.

Definition at line 42 of file itkDCMTKTransformIO.h.

+ Inheritance diagram for itk::DCMTKTransformIO< TInternalComputationValueType >:
+ Collaboration diagram for itk::DCMTKTransformIO< TInternalComputationValueType >:

Public Types

using ConstTransformListType = typename Superclass::ConstTransformListType
 
using Pointer = SmartPointer<Self>
 
using Self = DCMTKTransformIO
 
using Superclass = TransformIOBaseTemplate<TInternalComputationValueType>
 
using TransformListType = typename Superclass::TransformListType
 
using TransformType = typename Superclass::TransformType
 
- Public Types inherited from itk::TransformIOBaseTemplate< TInternalComputationValueType >
using ConstTransformListType
 
using ConstTransformPointer
 
using FixedParametersValueType
 
using ParametersValueType
 
using Pointer
 
using ScalarType
 
using Self
 
using Superclass
 
using TransformListType
 
using TransformPointer
 
using TransformType
 
- Public Types inherited from itk::LightProcessObject
using ConstPointer = SmartPointer<const Self>
 
using Pointer = SmartPointer<Self>
 
using Self = LightProcessObject
 
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

bool CanReadFile (const char *) override
 
bool CanWriteFile (const char *) override
 
virtual::itk::LightObject::Pointer CreateAnother () const
 
virtual const char * GetFrameOfReferenceUID () const
 
virtual const char * GetNameOfClass () const
 
void Read () override
 
virtual void SetFrameOfReferenceUID (const char *_arg)
 
void Write () override
 
- Public Member Functions inherited from itk::TransformIOBaseTemplate< TInternalComputationValueType >
void CorrectTransformPrecisionType (std::string &inputTransformName)
 
void CorrectTransformPrecisionType (std::string &inputTransformName)
 
void CorrectTransformPrecisionType (std::string &inputTransformName)
 
void CorrectTransformPrecisionType (std::string &inputTransformName)
 
void SetTransformList (ConstTransformListType &transformList)
 
void SetTransformList (ConstTransformListType &transformList)
 
virtual void SetFileName (const char *_arg)
 
virtual const char * GetFileName () const
 
virtual void SetFileName (const char *_arg)
 
virtual const char * GetFileName () const
 
TransformListType & GetTransformList ()
 
TransformListType & GetReadTransformList ()
 
ConstTransformListType & GetWriteTransformList ()
 
TransformListType & GetTransformList ()
 
TransformListType & GetReadTransformList ()
 
ConstTransformListType & GetWriteTransformList ()
 
virtual void SetAppendMode (bool _arg)
 
virtual bool GetAppendMode () const
 
virtual void AppendModeOn ()
 
virtual void AppendModeOff ()
 
virtual void SetAppendMode (bool _arg)
 
virtual bool GetAppendMode () const
 
virtual void AppendModeOn ()
 
virtual void AppendModeOff ()
 
virtual void SetUseCompression (bool _arg)
 
virtual bool GetUseCompression () const
 
virtual void UseCompressionOn ()
 
virtual void UseCompressionOff ()
 
virtual void SetUseCompression (bool _arg)
 
virtual bool GetUseCompression () const
 
virtual void UseCompressionOn ()
 
virtual void UseCompressionOff ()
 
- Public Member Functions inherited from itk::LightProcessObject
virtual void AbortGenerateDataOff ()
 
virtual void AbortGenerateDataOn ()
 
virtual::itk::LightObject::Pointer CreateAnother () const
 
virtual const bool & GetAbortGenerateData () const
 
virtual void SetAbortGenerateData (bool _arg)
 
virtual void UpdateOutputData ()
 
void UpdateProgress (float amount)
 
virtual void SetProgress (float _arg)
 
virtual const float & GetProgress () 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
 
LightObject::Pointer CreateAnother () const override
 
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 itk::TransformIOBaseTemplate< TInternalComputationValueType >
static void CorrectTransformPrecisionType (std::string &inputTransformName)
 
static void CorrectTransformPrecisionType (std::string &inputTransformName)
 
- Static Public Member Functions inherited from itk::LightProcessObject
static Pointer New ()
 
- 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

 DCMTKTransformIO ()
 
void PrintSelf (std::ostream &os, Indent indent) const override
 
 ~DCMTKTransformIO () override
 
- Protected Member Functions inherited from itk::TransformIOBaseTemplate< TInternalComputationValueType >
void CreateTransform (TransformPointer &ptr, const std::string &ClassName)
 
void CreateTransform (TransformPointer &ptr, const std::string &ClassName)
 
std::string GetTypeNameString ()
 
std::string GetTypeNameString ()
 
std::string GetTypeNameString ()
 
std::string GetTypeNameString ()
 
void OpenStream (std::ofstream &outputStream, bool binary)
 
void OpenStream (std::ofstream &outputStream, bool binary)
 
void PrintSelf (std::ostream &os, Indent indent) const override
 
void PrintSelf (std::ostream &os, Indent indent) const override
 
 TransformIOBaseTemplate ()
 
 TransformIOBaseTemplate ()
 
 ~TransformIOBaseTemplate () override
 
 ~TransformIOBaseTemplate () override
 
- Protected Member Functions inherited from itk::LightProcessObject
virtual void GenerateData ()
 
 LightProcessObject ()
 
 ~LightProcessObject () override
 
- Protected Member Functions inherited from itk::Object
 Object ()
 
bool PrintObservers (std::ostream &os, Indent indent) const
 
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 Attributes

std::string m_FrameOfReferenceUID
 

Additional Inherited Members

- Static Protected Member Functions inherited from itk::TransformIOBaseTemplate< TInternalComputationValueType >
static std::string GetTypeNameString ()
 
static std::string GetTypeNameString ()
 
- Protected Attributes inherited from itk::LightObject
std::atomic< int > m_ReferenceCount {}
 

Member Typedef Documentation

◆ ConstTransformListType

template<typename TInternalComputationValueType>
using itk::DCMTKTransformIO< TInternalComputationValueType >::ConstTransformListType = typename Superclass::ConstTransformListType

Definition at line 53 of file itkDCMTKTransformIO.h.

◆ Pointer

template<typename TInternalComputationValueType>
using itk::DCMTKTransformIO< TInternalComputationValueType >::Pointer = SmartPointer<Self>

Definition at line 49 of file itkDCMTKTransformIO.h.

◆ Self

template<typename TInternalComputationValueType>
using itk::DCMTKTransformIO< TInternalComputationValueType >::Self = DCMTKTransformIO

Definition at line 47 of file itkDCMTKTransformIO.h.

◆ Superclass

template<typename TInternalComputationValueType>
using itk::DCMTKTransformIO< TInternalComputationValueType >::Superclass = TransformIOBaseTemplate<TInternalComputationValueType>

Definition at line 48 of file itkDCMTKTransformIO.h.

◆ TransformListType

template<typename TInternalComputationValueType>
using itk::DCMTKTransformIO< TInternalComputationValueType >::TransformListType = typename Superclass::TransformListType

Definition at line 52 of file itkDCMTKTransformIO.h.

◆ TransformType

template<typename TInternalComputationValueType>
using itk::DCMTKTransformIO< TInternalComputationValueType >::TransformType = typename Superclass::TransformType

Definition at line 51 of file itkDCMTKTransformIO.h.

Constructor & Destructor Documentation

◆ DCMTKTransformIO()

template<typename TInternalComputationValueType>
itk::DCMTKTransformIO< TInternalComputationValueType >::DCMTKTransformIO ( )
protected

Referenced by GetNameOfClass().

◆ ~DCMTKTransformIO()

template<typename TInternalComputationValueType>
itk::DCMTKTransformIO< TInternalComputationValueType >::~DCMTKTransformIO ( )
overrideprotected

Member Function Documentation

◆ CanReadFile()

template<typename TInternalComputationValueType>
bool itk::DCMTKTransformIO< TInternalComputationValueType >::CanReadFile ( const char * )
overridevirtual

Determine the file type. Returns true if this ImageIO can read the file specified.

Implements itk::TransformIOBaseTemplate< TInternalComputationValueType >.

◆ CanWriteFile()

template<typename TInternalComputationValueType>
bool itk::DCMTKTransformIO< TInternalComputationValueType >::CanWriteFile ( const char * )
overridevirtual

Determine the file type. Returns true if this ImageIO can read the file specified.

Implements itk::TransformIOBaseTemplate< TInternalComputationValueType >.

◆ CreateAnother()

template<typename TInternalComputationValueType>
virtual::itk::LightObject::Pointer itk::DCMTKTransformIO< TInternalComputationValueType >::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 itk::LightObject.

◆ GetFrameOfReferenceUID()

template<typename TInternalComputationValueType>
virtual const char * itk::DCMTKTransformIO< TInternalComputationValueType >::GetFrameOfReferenceUID ( ) const
virtual

◆ GetNameOfClass()

template<typename TInternalComputationValueType>
virtual const char * itk::DCMTKTransformIO< TInternalComputationValueType >::GetNameOfClass ( ) const
virtual

Run-time type information (and related methods).

Reimplemented from itk::TransformIOBaseTemplate< TInternalComputationValueType >.

References DCMTKTransformIO().

◆ New()

template<typename TInternalComputationValueType>
static Pointer itk::DCMTKTransformIO< TInternalComputationValueType >::New ( )
static

◆ PrintSelf()

template<typename TInternalComputationValueType>
void itk::DCMTKTransformIO< TInternalComputationValueType >::PrintSelf ( std::ostream & os,
Indent indent ) const
overrideprotectedvirtual

Methods invoked by Print() to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.

Reimplemented from itk::LightObject.

◆ Read()

template<typename TInternalComputationValueType>
void itk::DCMTKTransformIO< TInternalComputationValueType >::Read ( )
overridevirtual

Reads the data from disk into the memory buffer provided.

Implements itk::TransformIOBaseTemplate< TInternalComputationValueType >.

◆ SetFrameOfReferenceUID()

template<typename TInternalComputationValueType>
virtual void itk::DCMTKTransformIO< TInternalComputationValueType >::SetFrameOfReferenceUID ( const char * _arg)
virtual

Set/Get the desired Frame of Reference UID, tag 0020|0052, for the transform to be extracted.

◆ Write()

template<typename TInternalComputationValueType>
void itk::DCMTKTransformIO< TInternalComputationValueType >::Write ( )
overridevirtual

Writes the data to disk from the memory buffer provided. Make sure that the IORegions has been set properly. The buffer is cast to a pointer to the beginning of the image data.

Implements itk::TransformIOBaseTemplate< TInternalComputationValueType >.

Member Data Documentation

◆ m_FrameOfReferenceUID

template<typename TInternalComputationValueType>
std::string itk::DCMTKTransformIO< TInternalComputationValueType >::m_FrameOfReferenceUID
private

Definition at line 93 of file itkDCMTKTransformIO.h.


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