ITK
5.0.0
Insight Segmentation and Registration Toolkit
|
#include <itkDCMTKFileReader.h>
Definition at line 236 of file itkDCMTKFileReader.h.
Public Types | |
using | Self = DCMTKFileReader |
Public Member Functions | |
DCMTKFileReader () | |
int | GetDimensions (unsigned short &rows, unsigned short &columns) const |
int | GetDirCosArray (double *const dircos) const |
int | GetDirCosines (vnl_vector< double > &dir1, vnl_vector< double > &dir2, vnl_vector< double > &dir3) const |
int | GetElementCS (const unsigned short group, const unsigned short element, std::string &target, const bool throwException=true) const |
int | GetElementCSorOB (const unsigned short group, const unsigned short element, std::string &target, const bool throwException=true) const |
int | GetElementDA (const unsigned short group, const unsigned short element, std::string &target, const bool throwException=true) const |
int | GetElementIS (const unsigned short group, const unsigned short element,::itk::int32_t &target, const bool throwException=true) const |
int | GetElementISorOB (const unsigned short group, const unsigned short element,::itk::int32_t &target, const bool throwException=true) const |
int | GetElementLO (const unsigned short group, const unsigned short element, std::string &target, const bool throwException=true) const |
int | GetElementLO (const unsigned short group, const unsigned short element, std::vector< std::string > &target, const bool throwException=true) const |
int | GetElementOB (const unsigned short group, const unsigned short element, std::string &target, const bool throwException=true) const |
int | GetElementPN (const unsigned short group, const unsigned short element, std::string &target, const bool throwException=true) const |
int | GetElementSL (const unsigned short group, const unsigned short element,::itk::int32_t &target, const bool throwException=true) const |
int | GetElementSQ (const unsigned short group, unsigned short entry, DCMTKSequence &sequence, const bool throwException=true) const |
int | GetElementTM (const unsigned short group, const unsigned short element, std::string &target, const bool throwException=true) const |
int | GetElementUI (const unsigned short group, unsigned short entry, std::string &target, const bool throwException=true) const |
int | GetElementUS (const unsigned short group, const unsigned short element, unsigned short &target, const bool throwException=true) const |
int | GetElementUS (const unsigned short group, const unsigned short element, unsigned short *&target, const bool throwException=true) const |
const std::string & | GetFileName () const |
long | GetFileNumber () const |
int | GetFrameCount () const |
ImageIOBase::IOComponentType | GetImageDataType () const |
ImageIOBase::IOPixelType | GetImagePixelType () const |
int | GetOrigin (double *const origin) const |
int | GetSlopeIntercept (double &slope, double &intercept) const |
int | GetSpacing (double *const spacing) const |
E_TransferSyntax | GetTransferSyntax () const |
bool | HasPixelData () const |
void | LoadFile () |
void | SetFileName (const std::string &fileName) |
~DCMTKFileReader () | |
template<typename TType > | |
int | GetElementDS (const unsigned short group, const unsigned short element, unsigned short count, TType *target, const bool throwException=true) const |
template<typename TType > | |
int | GetElementDSorOB (const unsigned short group, const unsigned short element, TType &target, const bool throwException=true) const |
int | GetElementDS (const unsigned short group, const unsigned short element, std::string &target, const bool throwException=true) const |
int | GetElementFD (const unsigned short group, const unsigned short element, double &target, const bool throwException=true) const |
int | GetElementFD (const unsigned short group, const unsigned short element, int count, double *target, const bool throwException=true) const |
int | GetElementFL (const unsigned short group, const unsigned short element, float &target, const bool throwException=true) const |
int | GetElementFLorOB (const unsigned short group, const unsigned short element, float &target, const bool throwException=true) const |
Static Public Member Functions | |
static void | AddDictEntry (DcmDictEntry *entry) |
static bool | CanReadFile (const std::string &filename) |
static bool | IsImageFile (const std::string &filename) |
Private Attributes | |
DcmDataset * | m_Dataset |
DcmFileFormat * | m_DFile |
std::string | m_FileName |
long | m_FileNumber |
Sint32 | m_FrameCount |
E_TransferSyntax | m_Xfer |
Definition at line 239 of file itkDCMTKFileReader.h.
|
inline |
Definition at line 241 of file itkDCMTKFileReader.h.
itk::DCMTKFileReader::~DCMTKFileReader | ( | ) |
|
static |
|
static |
int itk::DCMTKFileReader::GetDimensions | ( | unsigned short & | rows, |
unsigned short & | columns | ||
) | const |
int itk::DCMTKFileReader::GetDirCosArray | ( | double *const | dircos | ) | const |
int itk::DCMTKFileReader::GetDirCosines | ( | vnl_vector< double > & | dir1, |
vnl_vector< double > & | dir2, | ||
vnl_vector< double > & | dir3 | ||
) | const |
int itk::DCMTKFileReader::GetElementCS | ( | const unsigned short | group, |
const unsigned short | element, | ||
std::string & | target, | ||
const bool | throwException = true |
||
) | const |
Get a DecimalString Item as a single string
int itk::DCMTKFileReader::GetElementCSorOB | ( | const unsigned short | group, |
const unsigned short | element, | ||
std::string & | target, | ||
const bool | throwException = true |
||
) | const |
int itk::DCMTKFileReader::GetElementDA | ( | const unsigned short | group, |
const unsigned short | element, | ||
std::string & | target, | ||
const bool | throwException = true |
||
) | const |
|
inline |
Get an array of data values, as contained in a DICOM DecimalString Item
Definition at line 268 of file itkDCMTKFileReader.h.
References DCMTKExceptionOrErrorReturn.
int itk::DCMTKFileReader::GetElementDS | ( | const unsigned short | group, |
const unsigned short | element, | ||
std::string & | target, | ||
const bool | throwException = true |
||
) | const |
Get a DecimalString Item as a single string
|
inline |
Get an array of data values, as contained in a DICOM DecimalString Item
Definition at line 314 of file itkDCMTKFileReader.h.
References DCMTKExceptionOrErrorReturn, itk::ByteSwapper< T >::SwapFromSystemToBigEndian(), and itk::ByteSwapper< T >::SwapFromSystemToLittleEndian().
int itk::DCMTKFileReader::GetElementFD | ( | const unsigned short | group, |
const unsigned short | element, | ||
double & | target, | ||
const bool | throwException = true |
||
) | const |
Get an array of data values, as contained in a DICOM DecimalString Item
int itk::DCMTKFileReader::GetElementFD | ( | const unsigned short | group, |
const unsigned short | element, | ||
int | count, | ||
double * | target, | ||
const bool | throwException = true |
||
) | const |
Get an array of data values, as contained in a DICOM DecimalString Item
int itk::DCMTKFileReader::GetElementFL | ( | const unsigned short | group, |
const unsigned short | element, | ||
float & | target, | ||
const bool | throwException = true |
||
) | const |
Get an array of data values, as contained in a DICOM DecimalString Item
int itk::DCMTKFileReader::GetElementFLorOB | ( | const unsigned short | group, |
const unsigned short | element, | ||
float & | target, | ||
const bool | throwException = true |
||
) | const |
Get an array of data values, as contained in a DICOM DecimalString Item
int itk::DCMTKFileReader::GetElementIS | ( | const unsigned short | group, |
const unsigned short | element, | ||
::itk::int32_t & | target, | ||
const bool | throwException = true |
||
) | const |
get an IS (Integer String Item
int itk::DCMTKFileReader::GetElementISorOB | ( | const unsigned short | group, |
const unsigned short | element, | ||
::itk::int32_t & | target, | ||
const bool | throwException = true |
||
) | const |
int itk::DCMTKFileReader::GetElementLO | ( | const unsigned short | group, |
const unsigned short | element, | ||
std::string & | target, | ||
const bool | throwException = true |
||
) | const |
int itk::DCMTKFileReader::GetElementLO | ( | const unsigned short | group, |
const unsigned short | element, | ||
std::vector< std::string > & | target, | ||
const bool | throwException = true |
||
) | const |
int itk::DCMTKFileReader::GetElementOB | ( | const unsigned short | group, |
const unsigned short | element, | ||
std::string & | target, | ||
const bool | throwException = true |
||
) | const |
get an OB OtherByte Item
int itk::DCMTKFileReader::GetElementPN | ( | const unsigned short | group, |
const unsigned short | element, | ||
std::string & | target, | ||
const bool | throwException = true |
||
) | const |
Get a PersonName Item as a single string
int itk::DCMTKFileReader::GetElementSL | ( | const unsigned short | group, |
const unsigned short | element, | ||
::itk::int32_t & | target, | ||
const bool | throwException = true |
||
) | const |
int itk::DCMTKFileReader::GetElementSQ | ( | const unsigned short | group, |
unsigned short | entry, | ||
DCMTKSequence & | sequence, | ||
const bool | throwException = true |
||
) | const |
int itk::DCMTKFileReader::GetElementTM | ( | const unsigned short | group, |
const unsigned short | element, | ||
std::string & | target, | ||
const bool | throwException = true |
||
) | const |
int itk::DCMTKFileReader::GetElementUI | ( | const unsigned short | group, |
unsigned short | entry, | ||
std::string & | target, | ||
const bool | throwException = true |
||
) | const |
int itk::DCMTKFileReader::GetElementUS | ( | const unsigned short | group, |
const unsigned short | element, | ||
unsigned short & | target, | ||
const bool | throwException = true |
||
) | const |
int itk::DCMTKFileReader::GetElementUS | ( | const unsigned short | group, |
const unsigned short | element, | ||
unsigned short *& | target, | ||
const bool | throwException = true |
||
) | const |
const std::string& itk::DCMTKFileReader::GetFileName | ( | ) | const |
long itk::DCMTKFileReader::GetFileNumber | ( | ) | const |
int itk::DCMTKFileReader::GetFrameCount | ( | ) | const |
ImageIOBase::IOComponentType itk::DCMTKFileReader::GetImageDataType | ( | ) | const |
ImageIOBase::IOPixelType itk::DCMTKFileReader::GetImagePixelType | ( | ) | const |
int itk::DCMTKFileReader::GetOrigin | ( | double *const | origin | ) | const |
int itk::DCMTKFileReader::GetSlopeIntercept | ( | double & | slope, |
double & | intercept | ||
) | const |
int itk::DCMTKFileReader::GetSpacing | ( | double *const | spacing | ) | const |
E_TransferSyntax itk::DCMTKFileReader::GetTransferSyntax | ( | ) | const |
bool itk::DCMTKFileReader::HasPixelData | ( | ) | const |
|
static |
void itk::DCMTKFileReader::LoadFile | ( | ) |
void itk::DCMTKFileReader::SetFileName | ( | const std::string & | fileName | ) |
|
private |
Definition at line 478 of file itkDCMTKFileReader.h.
|
private |
Definition at line 477 of file itkDCMTKFileReader.h.
|
private |
Definition at line 476 of file itkDCMTKFileReader.h.
|
private |
Definition at line 481 of file itkDCMTKFileReader.h.
|
private |
Definition at line 480 of file itkDCMTKFileReader.h.
|
private |
Definition at line 479 of file itkDCMTKFileReader.h.