Logo Search packages:      
Sourcecode: gdcm version File versions

gdcm::MediaStorage Class Reference

#include <gdcmMediaStorage.h>

List of all members.


Detailed Description

MediaStorage.

Note:
FIXME There should not be any notion of Image and/or PDF at that point Only the codec can answer yes I support this Media Storage or not... For instance an ImageCodec will answer yes to most of them while a PDFCodec will answer only for the Encapsulated PDF

Definition at line 36 of file gdcmMediaStorage.h.


Public Types

enum  MSType {
  MediaStorageDirectoryStorage = 0, ComputedRadiographyImageStorage, DigitalXRayImageStorageForPresentation, DigitalXRayImageStorageForProcessing,
  DigitalMammographyImageStorageForPresentation, DigitalMammographyImageStorageForProcessing, DigitalIntraoralXrayImageStorageForPresentation, DigitalIntraoralXRayImageStorageForProcessing,
  CTImageStorage, EnhancedCTImageStorage, UltrasoundImageStorageRetired, UltrasoundImageStorage,
  UltrasoundMultiFrameImageStorageRetired, UltrasoundMultiFrameImageStorage, MRImageStorage, EnhancedMRImageStorage,
  MRSpectroscopyStorage, NuclearMedicineImageStorageRetired, SecondaryCaptureImageStorage, MultiframeSingleBitSecondaryCaptureImageStorage,
  MultiframeGrayscaleByteSecondaryCaptureImageStorage, MultiframeGrayscaleWordSecondaryCaptureImageStorage, MultiframeTrueColorSecondaryCaptureImageStorage, StandaloneOverlayStorage,
  StandaloneCurveStorage, LeadECGWaveformStorage, GeneralECGWaveformStorage, AmbulatoryECGWaveformStorage,
  HemodynamicWaveformStorage, CardiacElectrophysiologyWaveformStorage, BasicVoiceAudioWaveformStorage, StandaloneModalityLUTStorage,
  StandaloneVOILUTStorage, GrayscaleSoftcopyPresentationStateStorageSOPClass, XRayAngiographicImageStorage, XRayRadiofluoroscopingImageStorage,
  XRayAngiographicBiPlaneImageStorageRetired, NuclearMedicineImageStorage, RawDataStorage, SpacialRegistrationStorage,
  SpacialFiducialsStorage, PETImageStorage, RTImageStorage, RTDoseStorage,
  RTStructureSetStorage, RTPlanStorage, CSANonImageStorage, Philips3D,
  EnhancedSR, BasicTextSR, HardcopyGrayscaleImageStorage, ComprehensiveSR,
  DetachedStudyManagementSOPClass, EncapsulatedPDFStorage, StudyComponentManagementSOPClass, DetachedVisitManagementSOPClass,
  DetachedPatientManagementSOPClass, VideoEndoscopicImageStorage, GeneralElectricMagneticResonanceImageStorage, GEPrivate3DModelStorage,
  ToshibaPrivateDataStorage, MammographyCADSR, KeyObjectSelectionDocument, HangingProtocolStorage,
  ModalityPerformedProcedureStepSOPClass, PhilipsPrivateMRSyntheticImageStorage, MS_END
}
enum  ObjectType {
  NoObject = 0, Video, Waveform, Audio,
  PDF, URI, Segmentation, ObjectEnd
}

Public Member Functions

const char * GetModality () const
const char * GetString () const
void GuessFromModality (const char *modality, unsigned int dimension=2)
bool IsUndefined () const
 MediaStorage (MSType type=MS_END)
 operator MSType () const
bool SetFromDataSet (DataSet const &ds)
bool SetFromFile (File const &file)
bool SetFromHeader (FileMetaInformation const &fmi)
bool SetFromModality (DataSet const &ds)

Static Public Member Functions

static const char * GetMSString (MSType ts)
static MSType GetMSType (const char *str)
static bool IsImage (MSType ts)

Protected Member Functions

void SetFromSourceImageSequence (DataSet const &ds)

Private Member Functions

bool SetFromDataSetOrHeader (DataSet const &ds, const Tag &tag)

Private Attributes

MSType MSField

Friends

std::ostream & operator<< (std::ostream &os, const MediaStorage &ms)

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

Generated by  Doxygen 1.6.0   Back to index