13 #ifndef mitkIOMimeTypes_h
14 #define mitkIOMimeTypes_h
72 bool AppliesTo(
const std::string& path)
const override;
106 static std::vector<CustomMimeType *>
Get();
A custom mime-type that can be registered as a service object.
Base mime-type for all DICOM image formats.
BaseDicomMimeType * Clone() const override
Clone this mime-type.
BaseDicomMimeType(const BaseDicomMimeType &other)=default
bool AppliesTo(const std::string &path) const override
Check whether the given path points to a readable DICOM file.
BaseDicomMimeType(const std::string &name)
Construct with a specific mime-type name.
The default DICOM mime-type for standard (non-RT) DICOM images.
DicomMimeType * Clone() const override
Clone this mime-type.
DicomMimeType()
Construct the default DICOM mime-type.
Collection of predefined MITK mime-types and factory methods.
static std::string DEFAULT_BASE_NAME()
Get the default base name prefix for MITK mime-types ("application/vnd.mitk").
static std::string STEREOLITHOGRAPHY_NAME()
Get the mime-type name for STL files.
static CustomMimeType WAVEFRONT_OBJ_MIMETYPE()
Create a CustomMimeType for Wavefront OBJ surface files (.obj).
static std::string WAVEFRONT_OBJ_NAME()
Get the mime-type name for Wavefront OBJ.
static std::string VTK_PARALLEL_IMAGE_NAME()
Get the mime-type name for VTK parallel images.
static std::string CATEGORY_SURFACES()
Get the "Surfaces" category string.
static std::string POINTSET_MIMETYPE_NAME()
Get the mime-type name for point sets.
static std::string CATEGORY_IMAGES()
Get the "Images" category string.
static CustomMimeType RAW_MIMETYPE()
Create a CustomMimeType for raw image files (.raw).
static std::string VTK_PARALLEL_POLYDATA_NAME()
Get the mime-type name for VTK parallel polydata.
static CustomMimeType POINTSET_MIMETYPE()
Create a CustomMimeType for MITK point set files (.mps).
static CustomMimeType VTK_PARALLEL_IMAGE_MIMETYPE()
Create a CustomMimeType for VTK parallel image files (.pvti).
static CustomMimeType NRRD_MIMETYPE()
Create a CustomMimeType for NRRD image files (.nrrd, .nhdr).
static std::string VTK_POLYDATA_NAME()
Get the mime-type name for VTK XML polydata.
static CustomMimeType VTK_PARALLEL_POLYDATA_MIMETYPE()
Create a CustomMimeType for VTK parallel polydata files (.pvtp).
static std::string STANFORD_PLY_NAME()
Get the mime-type name for Stanford PLY.
static std::string RAW_MIMETYPE_NAME()
Get the mime-type name for raw images.
static CustomMimeType VTK_IMAGE_LEGACY_MIMETYPE()
Create a CustomMimeType for VTK legacy image files (.vtk).
static std::string DICOM_MIMETYPE_NAME()
Get the mime-type name for DICOM.
static std::string NRRD_MIMETYPE_NAME()
Get the mime-type name for NRRD.
static CustomMimeType GEOMETRY_DATA_MIMETYPE()
Create a CustomMimeType for MITK geometry data files (.mitkgeometry).
static CustomMimeType STEREOLITHOGRAPHY_MIMETYPE()
Create a CustomMimeType for STL surface files (.stl).
static std::string NIFTI_MIMETYPE_NAME()
Get the mime-type name for NIfTI.
static CustomMimeType VTK_IMAGE_MIMETYPE()
Create a CustomMimeType for VTK XML image files (.vti).
static CustomMimeType VTK_POLYDATA_MIMETYPE()
Create a CustomMimeType for VTK XML polydata files (.vtp).
static std::string VTK_IMAGE_LEGACY_NAME()
Get the mime-type name for VTK legacy images.
static CustomMimeType VTK_POLYDATA_LEGACY_MIMETYPE()
Create a CustomMimeType for VTK legacy polydata files (.vtk).
static std::vector< CustomMimeType * > Get()
Get all predefined MITK Core mime-types.
static std::string VTK_IMAGE_NAME()
Get the mime-type name for VTK XML images.
static CustomMimeType STANFORD_PLY_MIMETYPE()
Create a CustomMimeType for Stanford PLY surface files (.ply).
static DicomMimeType DICOM_MIMETYPE()
Create a DicomMimeType for standard DICOM image files.
static CustomMimeType NIFTI_MIMETYPE()
Create a CustomMimeType for NIfTI image files (.nii, .nii.gz, .hdr, etc.).
static std::string VTK_POLYDATA_LEGACY_NAME()
Get the mime-type name for VTK legacy polydata.
Find image slices visible on a given plane.