GDCM
2.4.5
|
FileChangeTransferSyntax. More...
#include <gdcmFileChangeTransferSyntax.h>
Public Member Functions | |
FileChangeTransferSyntax () | |
~FileChangeTransferSyntax () | |
bool | Change () |
Change the transfer syntax. More... | |
ImageCodec * | GetCodec () |
void | SetInputFileName (const char *filename_native) |
Set input filename (raw DICOM) More... | |
void | SetOutputFileName (const char *filename_native) |
Set output filename (target compressed DICOM) More... | |
void | SetTransferSyntax (TransferSyntax const &ts) |
Specify the Target Transfer Syntax. More... | |
![]() | |
Subject () | |
~Subject () | |
unsigned long | AddObserver (const Event &event, Command *) |
unsigned long | AddObserver (const Event &event, Command *) const |
Command * | GetCommand (unsigned long tag) |
bool | HasObserver (const Event &event) const |
void | InvokeEvent (const Event &) |
void | InvokeEvent (const Event &) const |
void | RemoveAllObservers () |
void | RemoveObserver (unsigned long tag) |
![]() | |
Object () | |
Object (const Object &) | |
Special requirement for copy/cstor, assignment operator. More... | |
virtual | ~Object () |
void | operator= (const Object &) |
virtual void | Print (std::ostream &) const |
Static Public Member Functions | |
static SmartPointer< FileChangeTransferSyntax > | New () |
for wrapped language: instantiate a reference counted object More... | |
Additional Inherited Members | |
![]() | |
void | Register () |
void | UnRegister () |
This class is a file-based (limited) replacement of the in-memory ImageChangeTransferSyntax.
This class provide a file-based compression-only mecanism. It will take in an uncompressed DICOM image file (Pixel Data element). Then produced as output a compressed DICOM file (Transfer Syntax will be updated).
Currently it supports the following transfer syntax:
gdcm::FileChangeTransferSyntax::FileChangeTransferSyntax | ( | ) |
gdcm::FileChangeTransferSyntax::~FileChangeTransferSyntax | ( | ) |
bool gdcm::FileChangeTransferSyntax::Change | ( | ) |
Change the transfer syntax.
ImageCodec* gdcm::FileChangeTransferSyntax::GetCodec | ( | ) |
Retrieve the actual codec (valid after calling SetTransferSyntax) Only advanced users should call this function.
|
inlinestatic |
for wrapped language: instantiate a reference counted object
void gdcm::FileChangeTransferSyntax::SetInputFileName | ( | const char * | filename_native | ) |
Set input filename (raw DICOM)
void gdcm::FileChangeTransferSyntax::SetOutputFileName | ( | const char * | filename_native | ) |
Set output filename (target compressed DICOM)
void gdcm::FileChangeTransferSyntax::SetTransferSyntax | ( | TransferSyntax const & | ts | ) |
Specify the Target Transfer Syntax.