Slicer  4.11
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
List of all members | Public Types | Public Member Functions | Static Public Member Functions
itk::DCMTKFileReader Class Reference

#include <Modules/CLI/PETStandardUptakeValueComputation/itkDCMTKFileReader.h>

Public Types

typedef DCMTKFileReader Self
 

Public Member Functions

 DCMTKFileReader ()=default
 
int GetDimensions (unsigned short &rows, unsigned short &columns)
 
int GetDirCosines (vnl_vector< double > &dir1, vnl_vector< double > &dir2, vnl_vector< double > &dir3)
 
int GetElementCS (unsigned short group, unsigned short element, std::string &target, bool throwException=true)
 
int GetElementDA (unsigned short group, unsigned short element, std::string &target, bool throwException=true)
 
template<typename TType >
int GetElementDS (unsigned short group, unsigned short element, unsigned short count, TType *target, bool throwException=true)
 
int GetElementDS (unsigned short group, unsigned short element, std::string &target, bool throwException=true)
 
template<typename TType >
int GetElementDSorOB (unsigned short group, unsigned short element, TType &target, bool throwException=true)
 
int GetElementFD (unsigned short group, unsigned short element, double &target, bool throwException=true)
 
int GetElementFD (unsigned short group, unsigned short element, double *&target, bool throwException=true)
 
int GetElementFL (unsigned short group, unsigned short element, float &target, bool throwException=true)
 
int GetElementFLorOB (unsigned short group, unsigned short element, float &target, bool throwException=true)
 
int GetElementIS (unsigned short group, unsigned short element, ::itk::int32_t &target, bool throwException=true)
 
int GetElementISorOB (unsigned short group, unsigned short element, ::itk::int32_t &target, bool throwException=true)
 
int GetElementLO (unsigned short group, unsigned short element, std::string &target, bool throwException=true)
 
int GetElementLO (unsigned short group, unsigned short element, std::vector< std::string > &target, bool throwException=true)
 
int GetElementOB (unsigned short group, unsigned short element, std::string &target, bool throwException=true)
 
int GetElementPN (unsigned short group, unsigned short element, std::string &target, bool throwException=true)
 
int GetElementSQ (unsigned short group, unsigned short entry, DCMTKSequence &sequence, bool throwException=true)
 
int GetElementTM (unsigned short group, unsigned short element, std::string &target, bool throwException=true)
 
int GetElementUI (unsigned short group, unsigned short entry, std::string &target, bool throwException=true)
 
int GetElementUS (unsigned short group, unsigned short element, unsigned short &target, bool throwException=true)
 
int GetElementUS (unsigned short group, unsigned short element, unsigned short *&target, bool throwException=true)
 
const std::string & GetFileName () const
 
long GetFileNumber () const
 
int GetFrameCount () const
 
ImageIOBase::IOComponentType GetImageDataType ()
 
ImageIOBase::IOPixelType GetImagePixelType ()
 
int GetOrigin (double *origin)
 
int GetSlopeIntercept (double &slope, double &intercept)
 
int GetSpacing (double *spacing)
 
E_TransferSyntax GetTransferSyntax () const
 
void LoadFile ()
 
void SetFileName (const std::string &fileName)
 
 ~DCMTKFileReader ()
 

Static Public Member Functions

static void AddDictEntry (DcmDictEntry *entry)
 

Detailed Description

Definition at line 142 of file itkDCMTKFileReader.h.

Member Typedef Documentation

◆ Self

Definition at line 145 of file itkDCMTKFileReader.h.

Constructor & Destructor Documentation

◆ DCMTKFileReader()

itk::DCMTKFileReader::DCMTKFileReader ( )
default

◆ ~DCMTKFileReader()

itk::DCMTKFileReader::~DCMTKFileReader ( )

Member Function Documentation

◆ AddDictEntry()

static void itk::DCMTKFileReader::AddDictEntry ( DcmDictEntry *  entry)
static

◆ GetDimensions()

int itk::DCMTKFileReader::GetDimensions ( unsigned short &  rows,
unsigned short &  columns 
)

◆ GetDirCosines()

int itk::DCMTKFileReader::GetDirCosines ( vnl_vector< double > &  dir1,
vnl_vector< double > &  dir2,
vnl_vector< double > &  dir3 
)

◆ GetElementCS()

int itk::DCMTKFileReader::GetElementCS ( unsigned short  group,
unsigned short  element,
std::string &  target,
bool  throwException = true 
)

Get a DecimalString Item as a single string

◆ GetElementDA()

int itk::DCMTKFileReader::GetElementDA ( unsigned short  group,
unsigned short  element,
std::string &  target,
bool  throwException = true 
)

◆ GetElementDS() [1/2]

template<typename TType >
int itk::DCMTKFileReader::GetElementDS ( unsigned short  group,
unsigned short  element,
unsigned short  count,
TType *  target,
bool  throwException = true 
)
inline

Get an array of data values, as contained in a DICOM DecimalString Item

Definition at line 169 of file itkDCMTKFileReader.h.

◆ GetElementDS() [2/2]

int itk::DCMTKFileReader::GetElementDS ( unsigned short  group,
unsigned short  element,
std::string &  target,
bool  throwException = true 
)

Get a DecimalString Item as a single string

◆ GetElementDSorOB()

template<typename TType >
int itk::DCMTKFileReader::GetElementDSorOB ( unsigned short  group,
unsigned short  element,
TType &  target,
bool  throwException = true 
)
inline

Definition at line 214 of file itkDCMTKFileReader.h.

◆ GetElementFD() [1/2]

int itk::DCMTKFileReader::GetElementFD ( unsigned short  group,
unsigned short  element,
double &  target,
bool  throwException = true 
)

◆ GetElementFD() [2/2]

int itk::DCMTKFileReader::GetElementFD ( unsigned short  group,
unsigned short  element,
double *&  target,
bool  throwException = true 
)

◆ GetElementFL()

int itk::DCMTKFileReader::GetElementFL ( unsigned short  group,
unsigned short  element,
float &  target,
bool  throwException = true 
)

◆ GetElementFLorOB()

int itk::DCMTKFileReader::GetElementFLorOB ( unsigned short  group,
unsigned short  element,
float &  target,
bool  throwException = true 
)

◆ GetElementIS()

int itk::DCMTKFileReader::GetElementIS ( unsigned short  group,
unsigned short  element,
::itk::int32_t &  target,
bool  throwException = true 
)

get an IS (Integer String Item

◆ GetElementISorOB()

int itk::DCMTKFileReader::GetElementISorOB ( unsigned short  group,
unsigned short  element,
::itk::int32_t &  target,
bool  throwException = true 
)

◆ GetElementLO() [1/2]

int itk::DCMTKFileReader::GetElementLO ( unsigned short  group,
unsigned short  element,
std::string &  target,
bool  throwException = true 
)

◆ GetElementLO() [2/2]

int itk::DCMTKFileReader::GetElementLO ( unsigned short  group,
unsigned short  element,
std::vector< std::string > &  target,
bool  throwException = true 
)

◆ GetElementOB()

int itk::DCMTKFileReader::GetElementOB ( unsigned short  group,
unsigned short  element,
std::string &  target,
bool  throwException = true 
)

get an OB OtherByte Item

◆ GetElementPN()

int itk::DCMTKFileReader::GetElementPN ( unsigned short  group,
unsigned short  element,
std::string &  target,
bool  throwException = true 
)

Get a PersonName Item as a single string

◆ GetElementSQ()

int itk::DCMTKFileReader::GetElementSQ ( unsigned short  group,
unsigned short  entry,
DCMTKSequence sequence,
bool  throwException = true 
)

◆ GetElementTM()

int itk::DCMTKFileReader::GetElementTM ( unsigned short  group,
unsigned short  element,
std::string &  target,
bool  throwException = true 
)

◆ GetElementUI()

int itk::DCMTKFileReader::GetElementUI ( unsigned short  group,
unsigned short  entry,
std::string &  target,
bool  throwException = true 
)

◆ GetElementUS() [1/2]

int itk::DCMTKFileReader::GetElementUS ( unsigned short  group,
unsigned short  element,
unsigned short &  target,
bool  throwException = true 
)

◆ GetElementUS() [2/2]

int itk::DCMTKFileReader::GetElementUS ( unsigned short  group,
unsigned short  element,
unsigned short *&  target,
bool  throwException = true 
)

◆ GetFileName()

const std::string& itk::DCMTKFileReader::GetFileName ( ) const

◆ GetFileNumber()

long itk::DCMTKFileReader::GetFileNumber ( ) const

◆ GetFrameCount()

int itk::DCMTKFileReader::GetFrameCount ( ) const

◆ GetImageDataType()

ImageIOBase::IOComponentType itk::DCMTKFileReader::GetImageDataType ( )

◆ GetImagePixelType()

ImageIOBase::IOPixelType itk::DCMTKFileReader::GetImagePixelType ( )

◆ GetOrigin()

int itk::DCMTKFileReader::GetOrigin ( double *  origin)

◆ GetSlopeIntercept()

int itk::DCMTKFileReader::GetSlopeIntercept ( double &  slope,
double &  intercept 
)

◆ GetSpacing()

int itk::DCMTKFileReader::GetSpacing ( double *  spacing)

◆ GetTransferSyntax()

E_TransferSyntax itk::DCMTKFileReader::GetTransferSyntax ( ) const

◆ LoadFile()

void itk::DCMTKFileReader::LoadFile ( )

◆ SetFileName()

void itk::DCMTKFileReader::SetFileName ( const std::string &  fileName)

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