gdcmFileChangeTransferSyntax.h
Go to the documentation of this file.
/*=========================================================================
Program: GDCM (Grassroots DICOM). A DICOM library
Copyright (c) 2006-2011 Mathieu Malaterre
All rights reserved.
See Copyright.txt or http://gdcm.sourceforge.net/Copyright.html for details.
This software is distributed WITHOUT ANY WARRANTY; without even
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE. See the above copyright notice for more information.
=========================================================================*/
#ifndef GDCMFILECHANGETRANSFERSYNTAX_H
#define GDCMFILECHANGETRANSFERSYNTAX_H
#include "gdcmSubject.h"
#include "gdcmSmartPointer.h"
namespace gdcm
{
class FileChangeTransferSyntaxInternals;
class ImageCodec;
class TransferSyntax;
class GDCM_EXPORT FileChangeTransferSyntax : public Subject
{
public:
FileChangeTransferSyntax();
~FileChangeTransferSyntax() override;
void SetInputFileName(const char *filename_native);
void SetOutputFileName(const char *filename_native);
bool Change();
void SetTransferSyntax( TransferSyntax const & ts );
ImageCodec * GetCodec();
static SmartPointer<FileChangeTransferSyntax> New() { return new FileChangeTransferSyntax; }
private:
bool InitializeCopy();
bool UpdateCompressionLevel(double level);
FileChangeTransferSyntaxInternals *Internals;
};
} // end namespace gdcm
#endif //GDCMFILEANONYMIZER_H
gdcm::FileChangeTransferSyntax::FileChangeTransferSyntax
FileChangeTransferSyntax()
gdcm::FileChangeTransferSyntax::Change
bool Change()
Change the transfer syntax.
gdcm::FileChangeTransferSyntax::~FileChangeTransferSyntax
~FileChangeTransferSyntax() override
gdcm::FileChangeTransferSyntax::SetOutputFileName
void SetOutputFileName(const char *filename_native)
Set output filename (target compressed DICOM).
gdcm::FileChangeTransferSyntax::New
static SmartPointer< FileChangeTransferSyntax > New()
for wrapped language: instantiate a reference counted object
Definition gdcmFileChangeTransferSyntax.h:62
gdcm::FileChangeTransferSyntax::SetInputFileName
void SetInputFileName(const char *filename_native)
Set input filename (raw DICOM).
gdcm::FileChangeTransferSyntax::SetTransferSyntax
void SetTransferSyntax(TransferSyntax const &ts)
Specify the Target Transfer Syntax.
gdcm::FileChangeTransferSyntax::GetCodec
ImageCodec * GetCodec()
gdcm::ImageCodec
ImageCodec.
Definition gdcmImageCodec.h:31
gdcm::SmartPointer
Class for Smart Pointer.
Definition gdcmSmartPointer.h:40
gdcm::Subject::Subject
Subject()
gdcm::TransferSyntax
Class to manipulate Transfer Syntax.
Definition gdcmTransferSyntax.h:40
gdcmSmartPointer.h
gdcmSubject.h
GDCM_EXPORT
#define GDCM_EXPORT
Definition gdcmWin32.h:34
gdcm
Definition gdcmASN1.h:21