gdcmPVRGCodec.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 GDCMPVRGCODEC_H
#define GDCMPVRGCODEC_H
#include "gdcmImageCodec.h"
namespace gdcm
{
class PVRGCodec : public ImageCodec
{
public:
PVRGCodec();
~PVRGCodec() override;
bool CanDecode(TransferSyntax const &ts) const override;
bool CanCode(TransferSyntax const &ts) const override;
bool Decode(DataElement const &is, DataElement &os) override;
bool Code(DataElement const &in, DataElement &out) override;
void SetLossyFlag( bool l );
ImageCodec * Clone() const override;
private:
};
} // end namespace gdcm
#endif //GDCMPVRGCODEC_H
gdcm::DataElement
Class to represent a Data Element either Implicit or Explicit.
Definition gdcmDataElement.h:59
gdcm::ImageCodec::ImageCodec
ImageCodec()
gdcm::PVRGCodec::Code
bool Code(DataElement const &in, DataElement &out) override
Code.
gdcm::PVRGCodec::CanCode
bool CanCode(TransferSyntax const &ts) const override
Return whether this coder support this transfer syntax (can code it).
gdcm::PVRGCodec::Decode
bool Decode(DataElement const &is, DataElement &os) override
Decode.
gdcm::PVRGCodec::SetLossyFlag
void SetLossyFlag(bool l)
gdcm::PVRGCodec::Clone
ImageCodec * Clone() const override
gdcm::PVRGCodec::~PVRGCodec
~PVRGCodec() override
gdcm::PVRGCodec::CanDecode
bool CanDecode(TransferSyntax const &ts) const override
Return whether this decoder support this transfer syntax (can decode it).
gdcm::PVRGCodec::PVRGCodec
PVRGCodec()
gdcm::TransferSyntax
Class to manipulate Transfer Syntax.
Definition gdcmTransferSyntax.h:40
gdcmImageCodec.h
gdcm
Definition gdcmASN1.h:21