Mercurial > hg > orthanc
diff OrthancFramework/Sources/Enumerations.h @ 5348:303e930fff0f
"/tools/create-dicom" can now be used to create Encapsulated 3D Manufacturing Model IODs (MTL, OBJ, or STL)
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Sun, 02 Jul 2023 16:24:56 +0200 |
parents | 5b2a5cc64cb1 |
children | 33410f14033b |
line wrap: on
line diff
--- a/OrthancFramework/Sources/Enumerations.h Thu Jun 29 09:43:41 2023 +0200 +++ b/OrthancFramework/Sources/Enumerations.h Sun Jul 02 16:24:56 2023 +0200 @@ -42,6 +42,11 @@ static const char* const MIME_XML = "application/xml"; static const char* const MIME_XML_UTF8 = "application/xml; charset=utf-8"; + // Added in Orthanc 1.12.1 + static const char* const MIME_OBJ = "model/obj"; + static const char* const MIME_MTL = "model/mtl"; + static const char* const MIME_STL = "model/stl"; + /** * "No Internet Media Type (aka MIME type, content type) for PBM has * been registered with IANA, but the unofficial value @@ -79,7 +84,10 @@ MimeType_PrometheusText, // Prometheus text-based exposition format (for metrics) MimeType_DicomWebJson, MimeType_DicomWebXml, - MimeType_Ico + MimeType_Ico, + MimeType_Mtl, // MTL - New in Orthanc 1.12.1 + MimeType_Obj, // OBJ - New in Orthanc 1.12.1 + MimeType_Stl // STL - New in Orthanc 1.12.1 };