├── weasis-core └── src │ ├── test │ ├── resources │ │ ├── presentation │ │ │ ├── presentation.0.xml │ │ │ ├── presentation.1.xml │ │ │ ├── presentation.2.xml │ │ │ ├── presentation.3.xml │ │ │ ├── presentation.4.xml │ │ │ └── presentation.5.xml │ │ └── graphic │ │ │ ├── line │ │ │ ├── line.graphic.0.xml │ │ │ └── line.graphic.1.xml │ │ │ ├── angle │ │ │ ├── angle.graphic.0.xml │ │ │ └── angle.graphic.1.xml │ │ │ ├── point │ │ │ ├── point.graphic.0.xml │ │ │ └── point.graphic.1.xml │ │ │ ├── ellipse │ │ │ ├── ellipse.graphic.0.xml │ │ │ └── ellipse.graphic.1.xml │ │ │ ├── pixel │ │ │ ├── pixel.graphic.0.xml │ │ │ └── pixel.graphic.1.xml │ │ │ ├── polygon │ │ │ ├── polygon.graphic.0.xml │ │ │ └── polygon.graphic.1.xml │ │ │ ├── polyline │ │ │ ├── polyline.graphic.0.xml │ │ │ └── polyline.graphic.1.xml │ │ │ ├── cobbAngle │ │ │ ├── cobbAngle.graphic.0.xml │ │ │ └── cobbAngle.graphic.1.xml │ │ │ ├── openAngle │ │ │ ├── openAngle.graphic.0.xml │ │ │ └── openAngle.graphic.1.xml │ │ │ ├── rectangle │ │ │ ├── rectangle.graphic.0.xml │ │ │ └── rectangle.graphic.1.xml │ │ │ ├── annotation │ │ │ ├── annotation.graphic.0.xml │ │ │ └── annotation.graphic.1.xml │ │ │ ├── lineWithGap │ │ │ ├── lineWithGap.graphic.0.xml │ │ │ └── lineWithGap.graphic.1.xml │ │ │ ├── parallelLine │ │ │ ├── parallelLine.graphic.0.xml │ │ │ └── parallelLine.graphic.1.xml │ │ │ ├── fourPointsAngle │ │ │ ├── fourPointsAngle.graphic.0.xml │ │ │ └── fourPointsAngle.graphic.1.xml │ │ │ ├── perpendicularLine │ │ │ ├── perpendicularLine.graphic.0.xml │ │ │ └── perpendicularLine.graphic.1.xml │ │ │ └── threePointsCircle │ │ │ ├── threePointsCircle.graphic.0.xml │ │ │ └── threePointsCircle.graphic.1.xml │ └── java │ │ └── org │ │ └── weasis │ │ └── core │ │ └── ui │ │ └── test │ │ └── utils │ │ └── XmlTemplate.java │ └── main │ ├── java │ └── org │ │ └── weasis │ │ └── core │ │ ├── ui │ │ ├── pref │ │ │ ├── Refreshable.java │ │ │ ├── JLocale.java │ │ │ └── JLocalePercentage.java │ │ ├── util │ │ │ ├── DynamicToolbar.java │ │ │ ├── Toolbar.java │ │ │ └── SegRegionTool.java │ │ ├── editor │ │ │ ├── SeriesViewerListener.java │ │ │ └── image │ │ │ │ ├── ShowPopup.java │ │ │ │ └── DisplayByteLut.java │ │ ├── model │ │ │ ├── utils │ │ │ │ ├── ImageLayerChangeListener.java │ │ │ │ ├── Draggable.java │ │ │ │ ├── UUIDable.java │ │ │ │ ├── exceptions │ │ │ │ │ └── InvalidShapeException.java │ │ │ │ ├── imp │ │ │ │ │ └── DefaultGraphicLabel.java │ │ │ │ └── bean │ │ │ │ │ └── GraphicClipboard.java │ │ │ ├── graphic │ │ │ │ ├── GraphicSelectionListener.java │ │ │ │ └── GraphicArea.java │ │ │ └── layer │ │ │ │ ├── GraphicLayer.java │ │ │ │ └── GraphicModelChangeListener.java │ │ └── docking │ │ │ └── DockableTool.java │ │ ├── api │ │ ├── gui │ │ │ ├── util │ │ │ │ ├── State.java │ │ │ │ ├── KeyActionValue.java │ │ │ │ ├── GroupPopup.java │ │ │ │ ├── ComboBoxModelAdapter.java │ │ │ │ └── GUIEntry.java │ │ │ ├── task │ │ │ │ ├── InterruptionListener.java │ │ │ │ └── TaskInterruptionException.java │ │ │ ├── LicenseTabFactory.java │ │ │ ├── InsertableFactory.java │ │ │ └── PreferencesPageFactory.java │ │ ├── media │ │ │ └── data │ │ │ │ ├── MediaFilter.java │ │ │ │ ├── AudioVideoElement.java │ │ │ │ ├── MediaSeriesGroup.java │ │ │ │ ├── Thumbnailable.java │ │ │ │ ├── SeriesImporter.java │ │ │ │ ├── TagReadable.java │ │ │ │ └── SeriesComparator.java │ │ ├── image │ │ │ ├── OpEventListener.java │ │ │ └── util │ │ │ │ └── AbbreviationUnit.java │ │ ├── auth │ │ │ ├── BodySupplier.java │ │ │ ├── AuthMethod.java │ │ │ └── AcceptCallbackHandler.java │ │ ├── util │ │ │ ├── Copyable.java │ │ │ ├── HttpResponse.java │ │ │ └── BiConsumerWithException.java │ │ └── explorer │ │ │ └── DataExplorerViewFactory.java │ │ └── internal │ │ └── mime │ │ └── InvalidMagicMimeEntryException.java │ └── resources │ └── config │ ├── layoutModel2_f1x2.xml │ └── layoutModel2x2_f2.xml ├── weasis.jpg ├── snap └── gui │ ├── weasis.png │ ├── dicomizer.png │ ├── dicomizer.desktop │ └── weasis.desktop ├── weasis-launcher └── src │ └── main │ ├── resources │ ├── org │ │ └── weasis │ │ │ └── theme │ │ │ ├── FlatLightLaf.properties │ │ │ ├── FlatDarkLaf.properties │ │ │ └── FlatLaf.properties │ └── swing │ │ ├── basic_cs.properties │ │ ├── basic_de.properties │ │ ├── basic_es.properties │ │ ├── basic_fr.properties │ │ ├── basic_it.properties │ │ ├── basic_pt.properties │ │ ├── basic_ro.properties │ │ ├── basic_sv.properties │ │ ├── basic_tr.properties │ │ ├── basic_vi.properties │ │ ├── synth_cs.properties │ │ ├── synth_de.properties │ │ ├── synth_es.properties │ │ ├── synth_fr.properties │ │ ├── synth_ro.properties │ │ ├── synth_sv.properties │ │ ├── synth_tr.properties │ │ ├── synth_vi.properties │ │ ├── basic_hu_HU.properties │ │ ├── basic_pl_PL.properties │ │ ├── basic_pt_BR.properties │ │ ├── basic_vi_VN.properties │ │ ├── synth_pt_BR.properties │ │ └── synth_vi_VN.properties │ └── java │ └── org │ └── weasis │ └── launcher │ ├── messages_cs.properties │ ├── messages_de.properties │ ├── messages_es.properties │ ├── messages_fr.properties │ ├── messages_it.properties │ ├── messages_pt.properties │ ├── messages_ro.properties │ ├── messages_tr.properties │ ├── messages_vi.properties │ ├── messages_hu_HU.properties │ ├── messages_pl_PL.properties │ ├── messages_pt_BR.properties │ ├── messages_vi_VN.properties │ ├── WeasisMainFrameMBean.java │ ├── EmptyAccessibilityProvider.java │ ├── messages_sv.properties │ ├── messages_ko.properties │ ├── messages_si.properties │ ├── messages_hr_HR.properties │ ├── messages_bs_BA.properties │ ├── messages_uk.properties │ └── messages.properties ├── weasis-distributions ├── src │ ├── main │ │ ├── resources-native │ │ │ ├── Readme.txt │ │ │ └── weasis │ │ │ │ └── bundle-i18n │ │ │ │ └── Readme.txt │ │ └── resources-web │ │ │ └── WEB-INF │ │ │ └── web.xml │ └── assembly │ │ └── zip-resources.xml ├── resources │ ├── images │ │ ├── about.png │ │ ├── dicomizer.png │ │ ├── about-round.png │ │ ├── logo-button.png │ │ └── cursor │ │ │ └── editPoint.png │ ├── svg │ │ ├── action │ │ │ ├── suspend.svg │ │ │ ├── pan.svg │ │ │ ├── minus.svg │ │ │ ├── execute.svg │ │ │ ├── previous.svg │ │ │ ├── next.svg │ │ │ ├── drawEllipse.svg │ │ │ ├── drawRectangle.svg │ │ │ ├── star.svg │ │ │ ├── moreHorizontal.svg │ │ │ ├── moreVertical.svg │ │ │ ├── openExternal.svg │ │ │ ├── plus.svg │ │ │ ├── orthographic.svg │ │ │ ├── skipEnd.svg │ │ │ ├── tile.svg │ │ │ ├── skipStart.svg │ │ │ ├── filter.svg │ │ │ ├── drawPixelInfo.svg │ │ │ ├── help.svg │ │ │ ├── starAll.svg │ │ │ ├── layout.svg │ │ │ ├── reset.svg │ │ │ ├── drawLine.svg │ │ │ ├── slice.svg │ │ │ ├── drawTopLeft.svg │ │ │ ├── measureTopLeft.svg │ │ │ ├── zoomOriginal.svg │ │ │ ├── print.svg │ │ │ ├── inverseLut.svg │ │ │ ├── lut.svg │ │ │ ├── none.svg │ │ │ ├── mouseLeft.svg │ │ │ ├── mouseRight.svg │ │ │ ├── zoomBestFit.svg │ │ │ ├── openNewTab.svg │ │ │ ├── settings.svg │ │ │ ├── pipette.svg │ │ │ ├── drawSelection.svg │ │ │ ├── mouseMiddle.svg │ │ │ ├── rotateClockwise.svg │ │ │ ├── rotateCounterclockwise.svg │ │ │ ├── synch.svg │ │ │ ├── drawPerpendicular.svg │ │ │ ├── rotation.svg │ │ │ ├── drawAngle.svg │ │ │ ├── synchLarge.svg │ │ │ ├── zoomRealWorld.svg │ │ │ ├── selection.svg │ │ │ ├── crosshair.svg │ │ │ ├── drawParallel.svg │ │ │ ├── mouseWheel.svg │ │ │ └── drawPolyline.svg │ │ ├── other │ │ │ ├── histogram.svg │ │ │ ├── ecg.svg │ │ │ ├── cdrom.svg │ │ │ ├── tickOn.svg │ │ │ ├── tickOff.svg │ │ │ ├── calendar.svg │ │ │ ├── presentation.svg │ │ │ ├── imageEdit.svg │ │ │ ├── radioactive.svg │ │ │ ├── key.svg │ │ │ └── view3D.svg │ │ ├── file │ │ │ ├── text.svg │ │ │ ├── ecg.svg │ │ │ ├── video.svg │ │ │ ├── xml.svg │ │ │ ├── unknown.svg │ │ │ └── image.svg │ │ └── cursor │ │ │ ├── mpr-extend.svg │ │ │ ├── pan.svg │ │ │ └── mpr-move.svg │ ├── isowriter │ │ ├── RUN.bat │ │ └── Autorun.inf │ └── dicomCallingNodes.xml ├── script │ ├── build.properties │ ├── file-associations.properties │ └── resources │ │ ├── linux │ │ ├── Weasis.png │ │ ├── Dicomizer.png │ │ ├── Dicomizer.desktop │ │ ├── copyright │ │ ├── Weasis.desktop │ │ └── dicomizer-launcher.properties │ │ ├── macosx │ │ ├── Weasis.icns │ │ ├── Dicomizer.icns │ │ └── dicomizer-launcher.properties │ │ └── windows │ │ ├── Weasis.ico │ │ ├── Dicomizer.ico │ │ ├── msi │ │ └── candle.exe │ │ ├── Weasis.properties │ │ ├── Dicomizer.properties │ │ └── dicomizer-launcher.properties └── etc │ └── config │ └── base-shell.json ├── weasis-dicom ├── weasis-dicom-send │ └── src │ │ └── main │ │ └── java │ │ └── org │ │ └── weasis │ │ └── dicom │ │ └── send │ │ ├── messages.properties │ │ └── HttpServerErrorException.java ├── weasis-dicom-isowriter │ └── src │ │ └── main │ │ └── java │ │ └── org │ │ └── weasis │ │ └── dicom │ │ └── isowriter │ │ └── messages.properties ├── weasis-dicom-au │ └── src │ │ └── main │ │ └── java │ │ └── org │ │ └── weasis │ │ └── dicom │ │ └── au │ │ ├── messages.properties │ │ └── DicomAudioElement.java ├── weasis-dicom-3d │ ├── viewer3d │ │ └── src │ │ │ └── main │ │ │ ├── resources │ │ │ ├── shader │ │ │ │ ├── oldVolume.vert │ │ │ │ ├── volume.vert │ │ │ │ └── volume.frag │ │ │ └── originalLut.json │ │ │ └── java │ │ │ └── org │ │ │ └── weasis │ │ │ └── dicom │ │ │ └── viewer3d │ │ │ ├── geometry │ │ │ ├── Axis.java │ │ │ └── ViewData.java │ │ │ ├── pr │ │ │ ├── VolumeCroppingModule.java │ │ │ ├── PlanarMprVolumetricPr.java │ │ │ ├── VolumeRenderingVolumetricPr.java │ │ │ └── MprVolumetricPrDisplayModule.java │ │ │ └── vr │ │ │ └── RenderingLayerChangeListener.java │ └── pom.xml ├── weasis-dicom-rt │ └── src │ │ └── main │ │ ├── resources │ │ └── config │ │ │ └── layoutModel.xml │ │ └── java │ │ └── org │ │ └── weasis │ │ └── dicom │ │ └── rt │ │ ├── DataSource.java │ │ └── messages.properties ├── weasis-dicom-viewer2d │ └── src │ │ └── main │ │ ├── resources │ │ └── config │ │ │ ├── layoutModel.xml │ │ │ └── layoutModelHisto.xml │ │ └── java │ │ └── org │ │ └── weasis │ │ └── dicom │ │ └── viewer2d │ │ ├── mpr │ │ └── SliceCanvas.java │ │ └── ResetTools.java ├── weasis-dicom-sr │ └── src │ │ └── main │ │ └── java │ │ └── org │ │ └── weasis │ │ └── dicom │ │ └── sr │ │ └── messages.properties ├── weasis-dicom-wave │ └── src │ │ └── main │ │ └── java │ │ └── org │ │ └── weasis │ │ └── dicom │ │ └── wave │ │ ├── Unit.java │ │ ├── WaveLayout.java │ │ ├── WaveByteData.java │ │ ├── WaveShortData.java │ │ ├── WaveDataReadable.java │ │ └── messages.properties ├── weasis-dicom-codec │ └── src │ │ └── main │ │ └── java │ │ └── org │ │ └── weasis │ │ └── dicom │ │ └── codec │ │ ├── SpecialElementReferences.java │ │ ├── FileExtractor.java │ │ ├── FilesExtractor.java │ │ ├── geometry │ │ ├── Orientation.java │ │ └── VectorUtils.java │ │ ├── DicomSpecialElementFactory.java │ │ ├── HiddenSpecialElement.java │ │ └── LazyContourLoader.java └── weasis-dicom-explorer │ └── src │ └── main │ └── java │ └── org │ └── weasis │ └── dicom │ └── explorer │ ├── DicomExportFactory.java │ ├── DicomImportFactory.java │ ├── ImportDicom.java │ ├── ExportDicom.java │ └── LocalPersistence.java ├── .github_changelog_generator ├── annotations └── idea │ ├── javax │ ├── swing │ │ └── text │ │ │ ├── html │ │ │ └── annotations.xml │ │ │ └── annotations.xml │ └── xml │ │ └── bind │ │ └── annotation │ │ └── annotations.xml │ ├── org │ ├── osgi │ │ ├── annotation │ │ │ └── bundle │ │ │ │ └── annotations.xml │ │ └── service │ │ │ └── component │ │ │ └── annotations │ │ │ └── annotations.xml │ └── assertj │ │ └── core │ │ └── api │ │ └── annotations.xml │ ├── java │ ├── time │ │ └── format │ │ │ └── annotations.xml │ ├── awt │ │ └── annotations.xml │ └── net │ │ └── annotations.xml │ ├── net │ └── miginfocom │ │ └── swing │ │ └── annotations.xml │ ├── com │ ├── github │ │ └── scribejava │ │ │ └── core │ │ │ └── model │ │ │ └── annotations.xml │ └── fasterxml │ │ └── jackson │ │ └── annotation │ │ └── annotations.xml │ └── jakarta │ └── xml │ └── bind │ └── annotation │ └── annotations.xml ├── LICENSE ├── CONTRIBUTING.md ├── weasis-base ├── weasis-base-viewer2d │ └── src │ │ └── main │ │ └── resources │ │ └── config │ │ ├── layoutModel.xml │ │ └── layoutModelHisto.xml ├── weasis-base-explorer │ └── src │ │ └── main │ │ └── java │ │ └── org │ │ └── weasis │ │ └── base │ │ └── explorer │ │ ├── list │ │ ├── ListObservable.java │ │ ├── DiskFileList.java │ │ └── IThumbnailListPane.java │ │ └── messages.properties ├── weasis-base-ui │ └── src │ │ └── main │ │ └── java │ │ └── org │ │ └── weasis │ │ └── base │ │ └── ui │ │ └── gui │ │ └── MainWindowListener.java └── pom.xml ├── archetype ├── README.md ├── weasis-plugin-base-viewer │ ├── pom.xml │ └── src │ │ └── main │ │ └── resources │ │ └── META-INF │ │ └── maven │ │ └── archetype-metadata.xml └── weasis-plugin-dicom-viewer │ ├── pom.xml │ └── src │ └── main │ └── resources │ └── META-INF │ └── maven │ └── archetype-metadata.xml ├── .github └── ISSUE_TEMPLATE │ └── config.yml ├── weasis-acquire ├── weasis-acquire-editor │ └── src │ │ └── main │ │ └── java │ │ └── org │ │ └── weasis │ │ └── acquire │ │ └── operations │ │ └── OpValueChanged.java ├── weasis-acquire-explorer │ └── src │ │ └── main │ │ └── java │ │ └── org │ │ └── weasis │ │ └── acquire │ │ └── explorer │ │ ├── AcquireImageStatus.java │ │ └── gui │ │ └── central │ │ └── SeriesDataListener.java └── pom.xml ├── .gitignore └── tests └── src └── test └── java └── org └── weasis └── tests └── IntegrationTest.java /weasis-core/src/test/resources/presentation/presentation.0.xml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /weasis.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nroduit/Weasis/HEAD/weasis.jpg -------------------------------------------------------------------------------- /snap/gui/weasis.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nroduit/Weasis/HEAD/snap/gui/weasis.png -------------------------------------------------------------------------------- /snap/gui/dicomizer.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nroduit/Weasis/HEAD/snap/gui/dicomizer.png -------------------------------------------------------------------------------- /weasis-launcher/src/main/resources/org/weasis/theme/FlatLightLaf.properties: -------------------------------------------------------------------------------- 1 | #---- variables ---- 2 | -------------------------------------------------------------------------------- /weasis-launcher/src/main/resources/org/weasis/theme/FlatDarkLaf.properties: -------------------------------------------------------------------------------- 1 | #---- variables ---- 2 | 3 | -------------------------------------------------------------------------------- /weasis-core/src/test/resources/presentation/presentation.1.xml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /weasis-distributions/src/main/resources-native/Readme.txt: -------------------------------------------------------------------------------- 1 | For more information about the viewer go to https://nroduit.github.io 2 | -------------------------------------------------------------------------------- /weasis-core/src/test/resources/presentation/presentation.2.xml: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /weasis-distributions/resources/images/about.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nroduit/Weasis/HEAD/weasis-distributions/resources/images/about.png -------------------------------------------------------------------------------- /weasis-distributions/script/build.properties: -------------------------------------------------------------------------------- 1 | weasis.version=${app.version} 2 | weasis.i18n.version=${i18n.version} 3 | jdk.version=${java-version} -------------------------------------------------------------------------------- /weasis-distributions/resources/images/dicomizer.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nroduit/Weasis/HEAD/weasis-distributions/resources/images/dicomizer.png -------------------------------------------------------------------------------- /weasis-distributions/script/file-associations.properties: -------------------------------------------------------------------------------- 1 | extension=dcm 2 | mime-type=application/dicom 3 | description=DICOM medical imaging data 4 | -------------------------------------------------------------------------------- /weasis-distributions/resources/images/about-round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nroduit/Weasis/HEAD/weasis-distributions/resources/images/about-round.png -------------------------------------------------------------------------------- /weasis-distributions/resources/images/logo-button.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nroduit/Weasis/HEAD/weasis-distributions/resources/images/logo-button.png -------------------------------------------------------------------------------- /weasis-distributions/script/resources/linux/Weasis.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nroduit/Weasis/HEAD/weasis-distributions/script/resources/linux/Weasis.png -------------------------------------------------------------------------------- /weasis-distributions/script/resources/macosx/Weasis.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nroduit/Weasis/HEAD/weasis-distributions/script/resources/macosx/Weasis.icns -------------------------------------------------------------------------------- /weasis-distributions/script/resources/windows/Weasis.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nroduit/Weasis/HEAD/weasis-distributions/script/resources/windows/Weasis.ico -------------------------------------------------------------------------------- /weasis-distributions/resources/images/cursor/editPoint.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nroduit/Weasis/HEAD/weasis-distributions/resources/images/cursor/editPoint.png -------------------------------------------------------------------------------- /weasis-distributions/script/resources/linux/Dicomizer.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nroduit/Weasis/HEAD/weasis-distributions/script/resources/linux/Dicomizer.png -------------------------------------------------------------------------------- /weasis-distributions/script/resources/macosx/Dicomizer.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nroduit/Weasis/HEAD/weasis-distributions/script/resources/macosx/Dicomizer.icns -------------------------------------------------------------------------------- /weasis-distributions/script/resources/windows/Dicomizer.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nroduit/Weasis/HEAD/weasis-distributions/script/resources/windows/Dicomizer.ico -------------------------------------------------------------------------------- /weasis-distributions/script/resources/windows/msi/candle.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nroduit/Weasis/HEAD/weasis-distributions/script/resources/windows/msi/candle.exe -------------------------------------------------------------------------------- /weasis-launcher/src/main/resources/swing/basic_cs.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nroduit/Weasis/HEAD/weasis-launcher/src/main/resources/swing/basic_cs.properties -------------------------------------------------------------------------------- /weasis-launcher/src/main/resources/swing/basic_de.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nroduit/Weasis/HEAD/weasis-launcher/src/main/resources/swing/basic_de.properties -------------------------------------------------------------------------------- /weasis-launcher/src/main/resources/swing/basic_es.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nroduit/Weasis/HEAD/weasis-launcher/src/main/resources/swing/basic_es.properties -------------------------------------------------------------------------------- /weasis-launcher/src/main/resources/swing/basic_fr.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nroduit/Weasis/HEAD/weasis-launcher/src/main/resources/swing/basic_fr.properties -------------------------------------------------------------------------------- /weasis-launcher/src/main/resources/swing/basic_it.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nroduit/Weasis/HEAD/weasis-launcher/src/main/resources/swing/basic_it.properties -------------------------------------------------------------------------------- /weasis-launcher/src/main/resources/swing/basic_pt.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nroduit/Weasis/HEAD/weasis-launcher/src/main/resources/swing/basic_pt.properties -------------------------------------------------------------------------------- /weasis-launcher/src/main/resources/swing/basic_ro.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nroduit/Weasis/HEAD/weasis-launcher/src/main/resources/swing/basic_ro.properties -------------------------------------------------------------------------------- /weasis-launcher/src/main/resources/swing/basic_sv.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nroduit/Weasis/HEAD/weasis-launcher/src/main/resources/swing/basic_sv.properties -------------------------------------------------------------------------------- /weasis-launcher/src/main/resources/swing/basic_tr.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nroduit/Weasis/HEAD/weasis-launcher/src/main/resources/swing/basic_tr.properties -------------------------------------------------------------------------------- /weasis-launcher/src/main/resources/swing/basic_vi.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nroduit/Weasis/HEAD/weasis-launcher/src/main/resources/swing/basic_vi.properties -------------------------------------------------------------------------------- /weasis-launcher/src/main/resources/swing/synth_cs.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nroduit/Weasis/HEAD/weasis-launcher/src/main/resources/swing/synth_cs.properties -------------------------------------------------------------------------------- /weasis-launcher/src/main/resources/swing/synth_de.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nroduit/Weasis/HEAD/weasis-launcher/src/main/resources/swing/synth_de.properties -------------------------------------------------------------------------------- /weasis-launcher/src/main/resources/swing/synth_es.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nroduit/Weasis/HEAD/weasis-launcher/src/main/resources/swing/synth_es.properties -------------------------------------------------------------------------------- /weasis-launcher/src/main/resources/swing/synth_fr.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nroduit/Weasis/HEAD/weasis-launcher/src/main/resources/swing/synth_fr.properties -------------------------------------------------------------------------------- /weasis-launcher/src/main/resources/swing/synth_ro.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nroduit/Weasis/HEAD/weasis-launcher/src/main/resources/swing/synth_ro.properties -------------------------------------------------------------------------------- /weasis-launcher/src/main/resources/swing/synth_sv.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nroduit/Weasis/HEAD/weasis-launcher/src/main/resources/swing/synth_sv.properties -------------------------------------------------------------------------------- /weasis-launcher/src/main/resources/swing/synth_tr.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nroduit/Weasis/HEAD/weasis-launcher/src/main/resources/swing/synth_tr.properties -------------------------------------------------------------------------------- /weasis-launcher/src/main/resources/swing/synth_vi.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nroduit/Weasis/HEAD/weasis-launcher/src/main/resources/swing/synth_vi.properties -------------------------------------------------------------------------------- /weasis-distributions/src/main/resources-native/weasis/bundle-i18n/Readme.txt: -------------------------------------------------------------------------------- 1 | Add language packs here. 2 | Extract and place the content of weasis-i18n.war or weasis-i18n.zip here. -------------------------------------------------------------------------------- /weasis-launcher/src/main/resources/swing/basic_hu_HU.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nroduit/Weasis/HEAD/weasis-launcher/src/main/resources/swing/basic_hu_HU.properties -------------------------------------------------------------------------------- /weasis-launcher/src/main/resources/swing/basic_pl_PL.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nroduit/Weasis/HEAD/weasis-launcher/src/main/resources/swing/basic_pl_PL.properties -------------------------------------------------------------------------------- /weasis-launcher/src/main/resources/swing/basic_pt_BR.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nroduit/Weasis/HEAD/weasis-launcher/src/main/resources/swing/basic_pt_BR.properties -------------------------------------------------------------------------------- /weasis-launcher/src/main/resources/swing/basic_vi_VN.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nroduit/Weasis/HEAD/weasis-launcher/src/main/resources/swing/basic_vi_VN.properties -------------------------------------------------------------------------------- /weasis-launcher/src/main/resources/swing/synth_pt_BR.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nroduit/Weasis/HEAD/weasis-launcher/src/main/resources/swing/synth_pt_BR.properties -------------------------------------------------------------------------------- /weasis-launcher/src/main/resources/swing/synth_vi_VN.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nroduit/Weasis/HEAD/weasis-launcher/src/main/resources/swing/synth_vi_VN.properties -------------------------------------------------------------------------------- /weasis-dicom/weasis-dicom-send/src/main/java/org/weasis/dicom/send/messages.properties: -------------------------------------------------------------------------------- 1 | calling.node=Calling Node 2 | SendDicomView.destination=Destination 3 | SendDicomView.title=DICOM Send 4 | -------------------------------------------------------------------------------- /weasis-dicom/weasis-dicom-isowriter/src/main/java/org/weasis/dicom/isowriter/messages.properties: -------------------------------------------------------------------------------- 1 | exporting=Exporting... 2 | add.jpeg.images=Add JPEG images 3 | add=Add 4 | cd.dvd.image=CD/DVD Image -------------------------------------------------------------------------------- /weasis-launcher/src/main/java/org/weasis/launcher/messages_cs.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nroduit/Weasis/HEAD/weasis-launcher/src/main/java/org/weasis/launcher/messages_cs.properties -------------------------------------------------------------------------------- /weasis-launcher/src/main/java/org/weasis/launcher/messages_de.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nroduit/Weasis/HEAD/weasis-launcher/src/main/java/org/weasis/launcher/messages_de.properties -------------------------------------------------------------------------------- /weasis-launcher/src/main/java/org/weasis/launcher/messages_es.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nroduit/Weasis/HEAD/weasis-launcher/src/main/java/org/weasis/launcher/messages_es.properties -------------------------------------------------------------------------------- /weasis-launcher/src/main/java/org/weasis/launcher/messages_fr.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nroduit/Weasis/HEAD/weasis-launcher/src/main/java/org/weasis/launcher/messages_fr.properties -------------------------------------------------------------------------------- /weasis-launcher/src/main/java/org/weasis/launcher/messages_it.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nroduit/Weasis/HEAD/weasis-launcher/src/main/java/org/weasis/launcher/messages_it.properties -------------------------------------------------------------------------------- /weasis-launcher/src/main/java/org/weasis/launcher/messages_pt.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nroduit/Weasis/HEAD/weasis-launcher/src/main/java/org/weasis/launcher/messages_pt.properties -------------------------------------------------------------------------------- /weasis-launcher/src/main/java/org/weasis/launcher/messages_ro.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nroduit/Weasis/HEAD/weasis-launcher/src/main/java/org/weasis/launcher/messages_ro.properties -------------------------------------------------------------------------------- /weasis-launcher/src/main/java/org/weasis/launcher/messages_tr.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nroduit/Weasis/HEAD/weasis-launcher/src/main/java/org/weasis/launcher/messages_tr.properties -------------------------------------------------------------------------------- /weasis-launcher/src/main/java/org/weasis/launcher/messages_vi.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nroduit/Weasis/HEAD/weasis-launcher/src/main/java/org/weasis/launcher/messages_vi.properties -------------------------------------------------------------------------------- /weasis-launcher/src/main/java/org/weasis/launcher/messages_hu_HU.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nroduit/Weasis/HEAD/weasis-launcher/src/main/java/org/weasis/launcher/messages_hu_HU.properties -------------------------------------------------------------------------------- /weasis-launcher/src/main/java/org/weasis/launcher/messages_pl_PL.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nroduit/Weasis/HEAD/weasis-launcher/src/main/java/org/weasis/launcher/messages_pl_PL.properties -------------------------------------------------------------------------------- /weasis-launcher/src/main/java/org/weasis/launcher/messages_pt_BR.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nroduit/Weasis/HEAD/weasis-launcher/src/main/java/org/weasis/launcher/messages_pt_BR.properties -------------------------------------------------------------------------------- /weasis-launcher/src/main/java/org/weasis/launcher/messages_vi_VN.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nroduit/Weasis/HEAD/weasis-launcher/src/main/java/org/weasis/launcher/messages_vi_VN.properties -------------------------------------------------------------------------------- /.github_changelog_generator: -------------------------------------------------------------------------------- 1 | enhancement-labels=Type: Enhancement,Type: Feature 2 | exclude-labels=duplicate,question,invalid,wontfix,Type: Help Needed,Type: Idea,Type: Question,Status: Invalid,Status: Wontfix -------------------------------------------------------------------------------- /annotations/idea/javax/swing/text/html/annotations.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /annotations/idea/org/osgi/annotation/bundle/annotations.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /weasis-distributions/resources/svg/action/suspend.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /weasis-dicom/weasis-dicom-au/src/main/java/org/weasis/dicom/au/messages.properties: -------------------------------------------------------------------------------- 1 | AuFactory.dcm_audio=DICOM Voice Audio Waveform 2 | AuView.export_audio=Export Audio File 3 | AuView.play=Play 4 | AuView.stop=Stop 5 | main.bar=Main Bar 6 | -------------------------------------------------------------------------------- /weasis-distributions/resources/isowriter/RUN.bat: -------------------------------------------------------------------------------- 1 | REM Script to load the content of the CD/DVD in the viewer 2 | start "" "viewer\Weasis.exe" "weasis://%%24dicom%%3Aget%%20-p%%20%%24weasis%%3Aconfig%%20pro%%3D%%22weasis.portable.dir%%20.%%22" -------------------------------------------------------------------------------- /annotations/idea/javax/swing/text/annotations.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /weasis-core/src/test/resources/presentation/presentation.3.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /weasis-distributions/resources/svg/other/histogram.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /weasis-distributions/resources/isowriter/Autorun.inf: -------------------------------------------------------------------------------- 1 | [autorun] 2 | Open=viewer\Weasis.exe weasis://%24dicom%3Aget%20-p%20%24weasis%3Aconfig%20pro%3D%22weasis.portable.dir%20.%22 3 | Action=Open Images with Weasis 4 | Icon=viewer\Weasis.ico 5 | Label=Weasis 6 | -------------------------------------------------------------------------------- /annotations/idea/org/osgi/service/component/annotations/annotations.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /weasis-core/src/test/resources/graphic/line/line.graphic.0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /annotations/idea/java/time/format/annotations.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /weasis-core/src/test/resources/graphic/angle/angle.graphic.0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /weasis-core/src/test/resources/graphic/point/point.graphic.0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /weasis-core/src/test/resources/graphic/ellipse/ellipse.graphic.0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /weasis-core/src/test/resources/graphic/pixel/pixel.graphic.0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /weasis-core/src/test/resources/graphic/polygon/polygon.graphic.0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /weasis-dicom/weasis-dicom-3d/viewer3d/src/main/resources/shader/oldVolume.vert: -------------------------------------------------------------------------------- 1 | #version 130 2 | in vec3 position; 3 | in vec2 texCoord; 4 | 5 | out vec2 vTexCoord; 6 | 7 | void main() { 8 | gl_Position = vec4(position, 1.0); 9 | vTexCoord = texCoord; 10 | } -------------------------------------------------------------------------------- /weasis-core/src/test/resources/graphic/polyline/polyline.graphic.0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /snap/gui/dicomizer.desktop: -------------------------------------------------------------------------------- 1 | [Desktop Entry] 2 | Version=1.0 3 | Name=Dicomizer 4 | Comment=Build DICOM files from images 5 | Exec=weasis.dicomizer 6 | Icon=${SNAP}/meta/gui/dicomizer.png 7 | Terminal=false 8 | Type=Application 9 | Categories=Viewer;MedicalSoftware;Graphics; 10 | -------------------------------------------------------------------------------- /weasis-core/src/test/resources/graphic/cobbAngle/cobbAngle.graphic.0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /weasis-core/src/test/resources/graphic/openAngle/openAngle.graphic.0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /weasis-core/src/test/resources/graphic/rectangle/rectangle.graphic.0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /weasis-core/src/test/resources/graphic/annotation/annotation.graphic.0.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /weasis-core/src/test/resources/graphic/lineWithGap/lineWithGap.graphic.0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /weasis-core/src/test/resources/graphic/parallelLine/parallelLine.graphic.0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /weasis-dicom/weasis-dicom-3d/viewer3d/src/main/resources/shader/volume.vert: -------------------------------------------------------------------------------- 1 | #version 330 core 2 | 3 | layout (location=0) in vec2 position; 4 | out vec2 quadCoordinates; 5 | 6 | void main() { 7 | gl_Position = vec4(position, 1.0, 1.0); 8 | quadCoordinates = position; 9 | } 10 | -------------------------------------------------------------------------------- /weasis-distributions/script/resources/linux/Dicomizer.desktop: -------------------------------------------------------------------------------- 1 | [Desktop Entry] 2 | Version=1.0 3 | Name=APPLICATION_NAME 4 | Comment=Build DICOM files from images 5 | Exec=APPLICATION_LAUNCHER 6 | Icon=APPLICATION_ICON 7 | Terminal=false 8 | Type=Application 9 | Categories=DEPLOY_BUNDLE_CATEGORY -------------------------------------------------------------------------------- /snap/gui/weasis.desktop: -------------------------------------------------------------------------------- 1 | [Desktop Entry] 2 | Version=1.0 3 | Name=Weasis 4 | Comment=Medical DICOM viewer 5 | Exec=weasis %U 6 | Icon=${SNAP}/meta/gui/weasis.png 7 | Terminal=false 8 | Type=Application 9 | Categories=Viewer;MedicalSoftware;Graphics; 10 | MimeType=application/dicom;x-scheme-handler/weasis; -------------------------------------------------------------------------------- /weasis-core/src/test/resources/graphic/fourPointsAngle/fourPointsAngle.graphic.0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /weasis-core/src/test/resources/graphic/point/point.graphic.1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /weasis-distributions/resources/svg/action/pan.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /weasis-core/src/test/resources/graphic/perpendicularLine/perpendicularLine.graphic.0.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /weasis-core/src/test/resources/graphic/threePointsCircle/threePointsCircle.graphic.0.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | This program and the accompanying materials are made available under the terms of the Eclipse 2 | Public License 2.0 which is available at https://www.eclipse.org/legal/epl-2.0, or the Apache 3 | License, Version 2.0 which is available at https://www.apache.org/licenses/LICENSE-2.0. 4 | 5 | SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 -------------------------------------------------------------------------------- /weasis-distributions/resources/svg/action/minus.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /weasis-distributions/resources/svg/other/ecg.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /weasis-dicom/weasis-dicom-3d/viewer3d/src/main/resources/shader/volume.frag: -------------------------------------------------------------------------------- 1 | #version 330 core 2 | // Texture space 3 | uniform sampler2D compute; 4 | in vec2 quadCoordinates; 5 | void main() { 6 | vec2 position = (quadCoordinates +1.0)/2.0; 7 | // Get color from texture space with coordinates 8 | gl_FragColor = texture(compute,position); 9 | } 10 | -------------------------------------------------------------------------------- /annotations/idea/java/awt/annotations.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /weasis-distributions/resources/svg/action/execute.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /weasis-distributions/resources/svg/action/previous.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /weasis-distributions/script/resources/linux/copyright: -------------------------------------------------------------------------------- 1 | Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ 2 | Upstream-Name: weasis 3 | Upstream-Contact: Nicolas Roduit 4 | Source: https://github.com/nroduit/Weasis 5 | 6 | Files: * 7 | Copyright: APPLICATION_COPYRIGHT 8 | License: EPL-2.0 9 | 10 | License: EPL-2.0 11 | APPLICATION_LICENSE_TEXT -------------------------------------------------------------------------------- /weasis-distributions/resources/svg/action/next.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /weasis-distributions/resources/svg/action/drawEllipse.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /weasis-distributions/script/resources/linux/Weasis.desktop: -------------------------------------------------------------------------------- 1 | [Desktop Entry] 2 | Version=1.0 3 | Name=APPLICATION_NAME 4 | Comment=Medical DICOM viewer 5 | Exec=APPLICATION_LAUNCHER %U 6 | StartupWMClass=org-weasis-launcher-AppLauncher 7 | Icon=APPLICATION_ICON 8 | Terminal=false 9 | Type=Application 10 | Categories=DEPLOY_BUNDLE_CATEGORY 11 | DESKTOP_MIMES;x-scheme-handler/weasis; -------------------------------------------------------------------------------- /weasis-distributions/resources/svg/action/drawRectangle.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /annotations/idea/org/assertj/core/api/annotations.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /weasis-distributions/resources/svg/action/star.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | ## Contributing guidelines 2 | 3 | For contributing to Weasis, see this [page](https://nroduit.github.io/en/get-involved/). 4 | 5 | See also [guidelines for Weasis Plug-in Development](https://nroduit.github.io/en/getting-started/guidelines/) 6 | 7 | **IMPORTANT**: By submitting a patch, you agree to allow the project owner to license your work under the same license as that used by the project. -------------------------------------------------------------------------------- /weasis-distributions/resources/svg/action/moreHorizontal.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /weasis-distributions/resources/svg/action/moreVertical.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /weasis-distributions/resources/svg/action/openExternal.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /annotations/idea/net/miginfocom/swing/annotations.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /weasis-distributions/resources/svg/action/plus.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /weasis-core/src/test/resources/graphic/line/line.graphic.1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /weasis-core/src/test/resources/presentation/presentation.4.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /weasis-distributions/resources/svg/action/orthographic.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /weasis-launcher/src/main/resources/org/weasis/theme/FlatLaf.properties: -------------------------------------------------------------------------------- 1 | # text 2 | micro.font = -4 3 | small.semibold.font = -2 $semibold.font 4 | mini.semibold.font = -3 $semibold.font 5 | micro.semibold.font = -4 $semibold.font 6 | 7 | # styles 8 | [style].micro = font: $micro.font 9 | [style].small.semibold = font: $small.semibold.font 10 | [style].mini.semibold= font: $mini.semibold.font 11 | [style].micro.semibold = font: $micro.semibold.font 12 | -------------------------------------------------------------------------------- /weasis-distributions/script/resources/windows/Weasis.properties: -------------------------------------------------------------------------------- 1 | Comments=Medical DICOM viewer 2 | FIXEDFILEINFO_FileVersion=FIXEDFILEINFO_FILE_VERSION 3 | FIXEDFILEINFO_ProductVersion=FIXEDFILEINFO_FILE_VERSION 4 | CompanyName=COMPANY_NAME 5 | FileDescription=FILE_DESCRIPTION 6 | FileVersion=FILE_VERSION 7 | InternalName=INTERNAL_NAME 8 | LegalCopyright=LEGAL_COPYRIGHT 9 | OriginalFilename=ORIGINAL_FILENAME 10 | ProductName=PRODUCT_NAME 11 | ProductVersion=FILE_VERSION -------------------------------------------------------------------------------- /weasis-core/src/test/resources/graphic/lineWithGap/lineWithGap.graphic.1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /weasis-dicom/weasis-dicom-rt/src/main/resources/config/layoutModel.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 7 | -------------------------------------------------------------------------------- /annotations/idea/com/github/scribejava/core/model/annotations.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /weasis-base/weasis-base-viewer2d/src/main/resources/config/layoutModel.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 7 | -------------------------------------------------------------------------------- /weasis-distributions/resources/svg/action/skipEnd.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /weasis-distributions/resources/svg/action/tile.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /weasis-distributions/script/resources/windows/Dicomizer.properties: -------------------------------------------------------------------------------- 1 | Comments=Build DICOM files from images 2 | FIXEDFILEINFO_FileVersion=FIXEDFILEINFO_FILE_VERSION 3 | FIXEDFILEINFO_ProductVersion=FIXEDFILEINFO_FILE_VERSION 4 | CompanyName=COMPANY_NAME 5 | FileDescription=FILE_DESCRIPTION 6 | FileVersion=FILE_VERSION 7 | InternalName=INTERNAL_NAME 8 | LegalCopyright=LEGAL_COPYRIGHT 9 | OriginalFilename=ORIGINAL_FILENAME 10 | ProductName=PRODUCT_NAME 11 | ProductVersion=FILE_VERSION -------------------------------------------------------------------------------- /weasis-distributions/resources/svg/action/skipStart.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /weasis-core/src/test/resources/graphic/angle/angle.graphic.1.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /weasis-distributions/resources/svg/action/filter.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /annotations/idea/java/net/annotations.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /weasis-distributions/resources/dicomCallingNodes.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 8 | -------------------------------------------------------------------------------- /weasis-distributions/resources/svg/action/drawPixelInfo.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /weasis-distributions/resources/svg/action/help.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /weasis-distributions/script/resources/linux/dicomizer-launcher.properties: -------------------------------------------------------------------------------- 1 | main-class=org.weasis.launcher.AppLauncher 2 | main-jar=weasis-launcher.jar 3 | icon=Dicomizer.png 4 | java-options=-Dfelix.extended.config.properties=file:conf/dicomizer.json -Dgosh.port=17179 \ 5 | --enable-native-access=ALL-UNNAMED -splash:$APPDIR/resources/images/about-round.png \ 6 | -Djavax.accessibility.assistive_technologies=org.weasis.launcher.EmptyAccessibilityProvider \ 7 | -Djavax.accessibility.screen_magnifier_present=false 8 | -------------------------------------------------------------------------------- /weasis-distributions/etc/config/base-shell.json: -------------------------------------------------------------------------------- 1 | { 2 | "weasisPreferences": [ 3 | { 4 | "code": "felix.auto.start.3", 5 | "value": "${dollar}{weasis.codebase.url}/bundle/org.apache.felix.gogo.command-${felix.gogo.command.version}.jar${xz.ext} ${dollar}{weasis.codebase.url}/bundle/org.apache.felix.gogo.shell-${felix.gogo.shell.version}.jar${xz.ext}", 6 | "description": "OSGI command and shell", 7 | "type": "A", 8 | "category": "FELIX_INSTALL" 9 | } 10 | ] 11 | } 12 | -------------------------------------------------------------------------------- /weasis-distributions/script/resources/windows/dicomizer-launcher.properties: -------------------------------------------------------------------------------- 1 | main-class=org.weasis.launcher.AppLauncher 2 | main-jar=weasis-launcher.jar 3 | icon=Dicomizer.ico 4 | java-options=-Dfelix.extended.config.properties=file:conf/dicomizer.json -Dgosh.port=17179 \ 5 | --enable-native-access=ALL-UNNAMED -splash:$APPDIR\\resources\\images\\about-round.png \ 6 | -Djavax.accessibility.assistive_technologies=org.weasis.launcher.EmptyAccessibilityProvider \ 7 | -Djavax.accessibility.screen_magnifier_present=false 8 | -------------------------------------------------------------------------------- /weasis-base/weasis-base-viewer2d/src/main/resources/config/layoutModelHisto.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 7 | -------------------------------------------------------------------------------- /weasis-core/src/test/resources/graphic/openAngle/openAngle.graphic.1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /weasis-dicom/weasis-dicom-viewer2d/src/main/resources/config/layoutModel.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 7 | -------------------------------------------------------------------------------- /archetype/README.md: -------------------------------------------------------------------------------- 1 | # Build project from Maven Archetype # 2 | 3 | ## Install Maven Archetype locally ## 4 | - From the root directory of an archetype execute: **mvn install** 5 | 6 | ## Generate a sample project ## 7 | - Execute the following command: **mvn archetype:generate -DarchetypeCatalog=local** 8 | - Select the archetype: 9 | * weasis-plugin-base-viewer-archetype (example of a toolbar and a tool for the non DICOM viewer) 10 | * weasis-plugin-dicom-viewer-archetype (example of a toolbar and a tool for the DICOM viewer) -------------------------------------------------------------------------------- /weasis-dicom/weasis-dicom-viewer2d/src/main/resources/config/layoutModelHisto.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 7 | -------------------------------------------------------------------------------- /weasis-distributions/script/resources/macosx/dicomizer-launcher.properties: -------------------------------------------------------------------------------- 1 | main-class=org.weasis.launcher.AppLauncher 2 | main-jar=weasis-launcher.jar 3 | icon=Dicomizer.icns 4 | java-options=-Dfelix.extended.config.properties=file:conf/dicomizer.json -Dgosh.port=17179 -Dapple.laf.useScreenMenuBar=true \ 5 | --enable-native-access=ALL-UNNAMED -splash:$APPDIR/resources/images/about-round.png \ 6 | -Djavax.accessibility.assistive_technologies=org.weasis.launcher.EmptyAccessibilityProvider \ 7 | -Djavax.accessibility.screen_magnifier_present=false 8 | -------------------------------------------------------------------------------- /weasis-distributions/resources/svg/file/text.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/config.yml: -------------------------------------------------------------------------------- 1 | blank_issues_enabled: true 2 | contact_links: 3 | - name: Frequently Asked Questions (FAQs) 4 | url: https://nroduit.github.io/en/faq 5 | about: Frequently Asked Questions (FAQs) on Weasis 6 | - name: Questions or ideas 7 | url: https://github.com/nroduit/Weasis/discussions 8 | about: if you have questions, ideas or if you want to tell something about Weasis 9 | - name: Google group 10 | url: https://groups.google.com/g/dcm4che 11 | about: Questions and discussions about dcm4che and Weasis -------------------------------------------------------------------------------- /weasis-core/src/test/resources/graphic/perpendicularLine/perpendicularLine.graphic.1.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /weasis-core/src/test/resources/graphic/cobbAngle/cobbAngle.graphic.1.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /weasis-distributions/resources/svg/action/starAll.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /annotations/idea/com/fasterxml/jackson/annotation/annotations.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /weasis-distributions/resources/svg/action/layout.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /weasis-distributions/resources/svg/action/reset.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /weasis-distributions/resources/svg/other/cdrom.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /weasis-distributions/src/assembly/zip-resources.xml: -------------------------------------------------------------------------------- 1 | 4 | 5 | zip-resources 6 | false 7 | 8 | 9 | zip 10 | 11 | 12 | 13 | 14 | resources 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /weasis-distributions/resources/svg/action/drawLine.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /weasis-distributions/resources/svg/action/slice.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /weasis-core/src/test/resources/graphic/threePointsCircle/threePointsCircle.graphic.1.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /weasis-dicom/weasis-dicom-rt/src/main/java/org/weasis/dicom/rt/DataSource.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2009-2020 Weasis Team and other contributors. 3 | * 4 | * This program and the accompanying materials are made available under the terms of the Eclipse 5 | * Public License 2.0 which is available at https://www.eclipse.org/legal/epl-2.0, or the Apache 6 | * License, Version 2.0 which is available at https://www.apache.org/licenses/LICENSE-2.0. 7 | * 8 | * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 9 | */ 10 | package org.weasis.dicom.rt; 11 | 12 | public enum DataSource { 13 | PROVIDED, 14 | CALCULATED 15 | } 16 | -------------------------------------------------------------------------------- /weasis-distributions/resources/svg/action/drawTopLeft.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /weasis-core/src/main/java/org/weasis/core/ui/pref/Refreshable.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2009-2020 Weasis Team and other contributors. 3 | * 4 | * This program and the accompanying materials are made available under the terms of the Eclipse 5 | * Public License 2.0 which is available at https://www.eclipse.org/legal/epl-2.0, or the Apache 6 | * License, Version 2.0 which is available at https://www.apache.org/licenses/LICENSE-2.0. 7 | * 8 | * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 9 | */ 10 | package org.weasis.core.ui.pref; 11 | 12 | public interface Refreshable { 13 | default void valueHasChanged() {} 14 | } 15 | -------------------------------------------------------------------------------- /weasis-dicom/weasis-dicom-sr/src/main/java/org/weasis/dicom/sr/messages.properties: -------------------------------------------------------------------------------- 1 | SRContainer.print=Print 2 | SRContainer.print_layout=Print DICOM SR 3 | SRFactory.sr=DICOM Structured Report 4 | SRFactory.viewer=DICOM SR Viewer 5 | SRReader.by=By 6 | SRReader.content_ref=Content Item by reference 7 | SRReader.node=node 8 | SRReader.on=on 9 | SRReader.report_status=Report Status 10 | SRReader.show_img=Show the image 11 | SRReader.study=Study 12 | SRReader.tag_missing=is not supported! 13 | SRReader.ver_observer=Verifying Observer 14 | SrToolBar.title=Main Bar 15 | 16 | SRView.msg=Cannot find the image! 17 | SRView.open=Open Image 18 | -------------------------------------------------------------------------------- /weasis-distributions/resources/svg/action/measureTopLeft.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /weasis-distributions/resources/svg/action/zoomOriginal.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /weasis-distributions/resources/svg/other/tickOn.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /weasis-dicom/weasis-dicom-3d/viewer3d/src/main/java/org/weasis/dicom/viewer3d/geometry/Axis.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2023 Weasis Team and other contributors. 3 | * 4 | * This program and the accompanying materials are made available under the terms of the Eclipse 5 | * Public License 2.0 which is available at https://www.eclipse.org/legal/epl-2.0, or the Apache 6 | * License, Version 2.0 which is available at https://www.apache.org/licenses/LICENSE-2.0. 7 | * 8 | * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 9 | */ 10 | package org.weasis.dicom.viewer3d.geometry; 11 | 12 | public enum Axis { 13 | X, 14 | Y, 15 | Z 16 | } 17 | -------------------------------------------------------------------------------- /weasis-dicom/weasis-dicom-wave/src/main/java/org/weasis/dicom/wave/Unit.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2009-2020 Weasis Team and other contributors. 3 | * 4 | * This program and the accompanying materials are made available under the terms of the Eclipse 5 | * Public License 2.0 which is available at https://www.eclipse.org/legal/epl-2.0, or the Apache 6 | * License, Version 2.0 which is available at https://www.apache.org/licenses/LICENSE-2.0. 7 | * 8 | * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 9 | */ 10 | package org.weasis.dicom.wave; 11 | 12 | public record Unit(String fullName, String abbreviation, double scalingFactor) {} 13 | -------------------------------------------------------------------------------- /weasis-distributions/resources/svg/action/print.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /weasis-core/src/main/java/org/weasis/core/ui/util/DynamicToolbar.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2009-2020 Weasis Team and other contributors. 3 | * 4 | * This program and the accompanying materials are made available under the terms of the Eclipse 5 | * Public License 2.0 which is available at https://www.eclipse.org/legal/epl-2.0, or the Apache 6 | * License, Version 2.0 which is available at https://www.apache.org/licenses/LICENSE-2.0. 7 | * 8 | * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 9 | */ 10 | package org.weasis.core.ui.util; 11 | 12 | public interface DynamicToolbar extends Toolbar { 13 | 14 | void updateToolbar(); 15 | } 16 | -------------------------------------------------------------------------------- /weasis-distributions/resources/svg/action/inverseLut.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /weasis-core/src/main/resources/config/layoutModel2_f1x2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 8 | 11 | -------------------------------------------------------------------------------- /weasis-core/src/main/resources/config/layoutModel2x2_f2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 8 | 11 | -------------------------------------------------------------------------------- /weasis-distributions/resources/svg/file/ecg.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /weasis-distributions/resources/svg/file/video.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /weasis-core/src/main/java/org/weasis/core/api/gui/util/State.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2009-2020 Weasis Team and other contributors. 3 | * 4 | * This program and the accompanying materials are made available under the terms of the Eclipse 5 | * Public License 2.0 which is available at https://www.eclipse.org/legal/epl-2.0, or the Apache 6 | * License, Version 2.0 which is available at https://www.apache.org/licenses/LICENSE-2.0. 7 | * 8 | * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 9 | */ 10 | package org.weasis.core.api.gui.util; 11 | 12 | @FunctionalInterface 13 | public interface State { 14 | 15 | void setEnabled(boolean enabled); 16 | } 17 | -------------------------------------------------------------------------------- /weasis-core/src/test/resources/graphic/parallelLine/parallelLine.graphic.1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /weasis-distributions/resources/svg/action/lut.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /weasis-distributions/resources/svg/action/none.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /weasis-core/src/main/java/org/weasis/core/api/gui/util/KeyActionValue.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2009-2020 Weasis Team and other contributors. 3 | * 4 | * This program and the accompanying materials are made available under the terms of the Eclipse 5 | * Public License 2.0 which is available at https://www.eclipse.org/legal/epl-2.0, or the Apache 6 | * License, Version 2.0 which is available at https://www.apache.org/licenses/LICENSE-2.0. 7 | * 8 | * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 9 | */ 10 | package org.weasis.core.api.gui.util; 11 | 12 | public interface KeyActionValue { 13 | 14 | int getKeyCode(); 15 | 16 | int getModifier(); 17 | } 18 | -------------------------------------------------------------------------------- /weasis-core/src/test/resources/graphic/annotation/annotation.graphic.1.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 7 | 8 | 9 | 10 | 12 | 13 | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /weasis-core/src/test/resources/graphic/fourPointsAngle/fourPointsAngle.graphic.1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /weasis-core/src/main/java/org/weasis/core/api/media/data/MediaFilter.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2009-2020 Weasis Team and other contributors. 3 | * 4 | * This program and the accompanying materials are made available under the terms of the Eclipse 5 | * Public License 2.0 which is available at https://www.eclipse.org/legal/epl-2.0, or the Apache 6 | * License, Version 2.0 which is available at https://www.apache.org/licenses/LICENSE-2.0. 7 | * 8 | * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 9 | */ 10 | package org.weasis.core.api.media.data; 11 | 12 | @FunctionalInterface 13 | public interface MediaFilter { 14 | 15 | boolean accept(MediaSeriesGroup node); 16 | } 17 | -------------------------------------------------------------------------------- /weasis-core/src/test/resources/graphic/pixel/pixel.graphic.1.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 7 | 8 | 9 | 10 | 12 | 13 | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /weasis-core/src/main/java/org/weasis/core/api/image/OpEventListener.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2009-2020 Weasis Team and other contributors. 3 | * 4 | * This program and the accompanying materials are made available under the terms of the Eclipse 5 | * Public License 2.0 which is available at https://www.eclipse.org/legal/epl-2.0, or the Apache 6 | * License, Version 2.0 which is available at https://www.apache.org/licenses/LICENSE-2.0. 7 | * 8 | * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 9 | */ 10 | package org.weasis.core.api.image; 11 | 12 | @FunctionalInterface 13 | public interface OpEventListener { 14 | 15 | void handleImageOpEvent(ImageOpEvent event); 16 | } 17 | -------------------------------------------------------------------------------- /weasis-core/src/test/resources/graphic/polygon/polygon.graphic.1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /weasis-dicom/weasis-dicom-codec/src/main/java/org/weasis/dicom/codec/SpecialElementReferences.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2024 Weasis Team and other contributors. 3 | * 4 | * This program and the accompanying materials are made available under the terms of the Eclipse 5 | * Public License 2.0 which is available at https://www.eclipse.org/legal/epl-2.0, or the Apache 6 | * License, Version 2.0 which is available at https://www.apache.org/licenses/LICENSE-2.0. 7 | * 8 | * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 9 | */ 10 | package org.weasis.dicom.codec; 11 | 12 | public interface SpecialElementReferences { 13 | 14 | void initReferences(String originSeriesUID); 15 | } 16 | -------------------------------------------------------------------------------- /weasis-acquire/weasis-acquire-editor/src/main/java/org/weasis/acquire/operations/OpValueChanged.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2009-2020 Weasis Team and other contributors. 3 | * 4 | * This program and the accompanying materials are made available under the terms of the Eclipse 5 | * Public License 2.0 which is available at https://www.eclipse.org/legal/epl-2.0, or the Apache 6 | * License, Version 2.0 which is available at https://www.apache.org/licenses/LICENSE-2.0. 7 | * 8 | * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 9 | */ 10 | package org.weasis.acquire.operations; 11 | 12 | @FunctionalInterface 13 | public interface OpValueChanged { 14 | void applyNextValues(); 15 | } 16 | -------------------------------------------------------------------------------- /weasis-core/src/main/java/org/weasis/core/ui/util/Toolbar.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2009-2020 Weasis Team and other contributors. 3 | * 4 | * This program and the accompanying materials are made available under the terms of the Eclipse 5 | * Public License 2.0 which is available at https://www.eclipse.org/legal/epl-2.0, or the Apache 6 | * License, Version 2.0 which is available at https://www.apache.org/licenses/LICENSE-2.0. 7 | * 8 | * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 9 | */ 10 | package org.weasis.core.ui.util; 11 | 12 | import org.weasis.core.api.gui.Insertable; 13 | 14 | public interface Toolbar extends Insertable { 15 | 16 | WtoolBar getComponent(); 17 | } 18 | -------------------------------------------------------------------------------- /weasis-distributions/resources/svg/action/mouseLeft.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /weasis-distributions/resources/svg/action/mouseRight.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /weasis-core/src/main/java/org/weasis/core/api/auth/BodySupplier.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2021 Weasis Team and other contributors. 3 | * 4 | * This program and the accompanying materials are made available under the terms of the Eclipse 5 | * Public License 2.0 which is available at https://www.eclipse.org/legal/epl-2.0, or the Apache 6 | * License, Version 2.0 which is available at https://www.apache.org/licenses/LICENSE-2.0. 7 | * 8 | * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 9 | */ 10 | package org.weasis.core.api.auth; 11 | 12 | import java.io.IOException; 13 | 14 | public interface BodySupplier { 15 | 16 | T get() throws IOException; 17 | 18 | long length(); 19 | } 20 | -------------------------------------------------------------------------------- /weasis-acquire/weasis-acquire-explorer/src/main/java/org/weasis/acquire/explorer/AcquireImageStatus.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2009-2020 Weasis Team and other contributors. 3 | * 4 | * This program and the accompanying materials are made available under the terms of the Eclipse 5 | * Public License 2.0 which is available at https://www.eclipse.org/legal/epl-2.0, or the Apache 6 | * License, Version 2.0 which is available at https://www.apache.org/licenses/LICENSE-2.0. 7 | * 8 | * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 9 | */ 10 | package org.weasis.acquire.explorer; 11 | 12 | public enum AcquireImageStatus { 13 | TO_PUBLISH, 14 | SUBMITTED, 15 | PUBLISHED, 16 | FAILED, 17 | } 18 | -------------------------------------------------------------------------------- /weasis-core/src/main/java/org/weasis/core/ui/editor/SeriesViewerListener.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2009-2020 Weasis Team and other contributors. 3 | * 4 | * This program and the accompanying materials are made available under the terms of the Eclipse 5 | * Public License 2.0 which is available at https://www.eclipse.org/legal/epl-2.0, or the Apache 6 | * License, Version 2.0 which is available at https://www.apache.org/licenses/LICENSE-2.0. 7 | * 8 | * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 9 | */ 10 | package org.weasis.core.ui.editor; 11 | 12 | @FunctionalInterface 13 | public interface SeriesViewerListener { 14 | 15 | void changingViewContentEvent(SeriesViewerEvent event); 16 | } 17 | -------------------------------------------------------------------------------- /weasis-dicom/weasis-dicom-codec/src/main/java/org/weasis/dicom/codec/FileExtractor.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2009-2020 Weasis Team and other contributors. 3 | * 4 | * This program and the accompanying materials are made available under the terms of the Eclipse 5 | * Public License 2.0 which is available at https://www.eclipse.org/legal/epl-2.0, or the Apache 6 | * License, Version 2.0 which is available at https://www.apache.org/licenses/LICENSE-2.0. 7 | * 8 | * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 9 | */ 10 | package org.weasis.dicom.codec; 11 | 12 | import java.io.File; 13 | 14 | @FunctionalInterface 15 | public interface FileExtractor { 16 | 17 | File getExtractFile(); 18 | } 19 | -------------------------------------------------------------------------------- /weasis-base/weasis-base-explorer/src/main/java/org/weasis/base/explorer/list/ListObservable.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2009-2020 Weasis Team and other contributors. 3 | * 4 | * This program and the accompanying materials are made available under the terms of the Eclipse 5 | * Public License 2.0 which is available at https://www.eclipse.org/legal/epl-2.0, or the Apache 6 | * License, Version 2.0 which is available at https://www.apache.org/licenses/LICENSE-2.0. 7 | * 8 | * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 9 | */ 10 | package org.weasis.base.explorer.list; 11 | 12 | public interface ListObservable { 13 | 14 | void notifyObservers(Object arg); 15 | 16 | boolean hasChanged(); 17 | } 18 | -------------------------------------------------------------------------------- /weasis-core/src/test/resources/graphic/ellipse/ellipse.graphic.1.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /weasis-core/src/test/resources/graphic/rectangle/rectangle.graphic.1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /weasis-core/src/test/java/org/weasis/core/ui/test/utils/XmlTemplate.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2009-2020 Weasis Team and other contributors. 3 | * 4 | * This program and the accompanying materials are made available under the terms of the Eclipse 5 | * Public License 2.0 which is available at https://www.eclipse.org/legal/epl-2.0, or the Apache 6 | * License, Version 2.0 which is available at https://www.apache.org/licenses/LICENSE-2.0. 7 | * 8 | * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 9 | */ 10 | package org.weasis.core.ui.test.utils; 11 | 12 | public interface XmlTemplate { 13 | String TPL_XML_PREFIX = 14 | ""; // NON-NLS 15 | } 16 | -------------------------------------------------------------------------------- /weasis-core/src/main/java/org/weasis/core/ui/editor/image/ShowPopup.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2009-2020 Weasis Team and other contributors. 3 | * 4 | * This program and the accompanying materials are made available under the terms of the Eclipse 5 | * Public License 2.0 which is available at https://www.eclipse.org/legal/epl-2.0, or the Apache 6 | * License, Version 2.0 which is available at https://www.apache.org/licenses/LICENSE-2.0. 7 | * 8 | * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 9 | */ 10 | package org.weasis.core.ui.editor.image; 11 | 12 | import java.awt.Component; 13 | 14 | @FunctionalInterface 15 | public interface ShowPopup { 16 | 17 | void showPopup(Component invoker, int x, int y); 18 | } 19 | -------------------------------------------------------------------------------- /weasis-acquire/weasis-acquire-explorer/src/main/java/org/weasis/acquire/explorer/gui/central/SeriesDataListener.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2009-2020 Weasis Team and other contributors. 3 | * 4 | * This program and the accompanying materials are made available under the terms of the Eclipse 5 | * Public License 2.0 which is available at https://www.eclipse.org/legal/epl-2.0, or the Apache 6 | * License, Version 2.0 which is available at https://www.apache.org/licenses/LICENSE-2.0. 7 | * 8 | * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 9 | */ 10 | package org.weasis.acquire.explorer.gui.central; 11 | 12 | @FunctionalInterface 13 | public interface SeriesDataListener { 14 | 15 | void handleSeriesChanged(); 16 | } 17 | -------------------------------------------------------------------------------- /weasis-distributions/resources/svg/cursor/mpr-extend.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /weasis-distributions/resources/svg/file/xml.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /weasis-dicom/weasis-dicom-codec/src/main/java/org/weasis/dicom/codec/FilesExtractor.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2009-2020 Weasis Team and other contributors. 3 | * 4 | * This program and the accompanying materials are made available under the terms of the Eclipse 5 | * Public License 2.0 which is available at https://www.eclipse.org/legal/epl-2.0, or the Apache 6 | * License, Version 2.0 which is available at https://www.apache.org/licenses/LICENSE-2.0. 7 | * 8 | * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 9 | */ 10 | package org.weasis.dicom.codec; 11 | 12 | import java.io.File; 13 | import java.util.List; 14 | 15 | @FunctionalInterface 16 | public interface FilesExtractor { 17 | 18 | List getExtractFiles(); 19 | } 20 | -------------------------------------------------------------------------------- /weasis-distributions/resources/svg/other/tickOff.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /weasis-core/src/main/java/org/weasis/core/api/media/data/AudioVideoElement.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2009-2020 Weasis Team and other contributors. 3 | * 4 | * This program and the accompanying materials are made available under the terms of the Eclipse 5 | * Public License 2.0 which is available at https://www.eclipse.org/legal/epl-2.0, or the Apache 6 | * License, Version 2.0 which is available at https://www.apache.org/licenses/LICENSE-2.0. 7 | * 8 | * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 9 | */ 10 | package org.weasis.core.api.media.data; 11 | 12 | public class AudioVideoElement extends MediaElement { 13 | 14 | public AudioVideoElement(MediaReader mediaIO, Object key) { 15 | super(mediaIO, key); 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /weasis-base/weasis-base-explorer/src/main/java/org/weasis/base/explorer/messages.properties: -------------------------------------------------------------------------------- 1 | DefaultExplorer.collapse=Collapse 2 | DefaultExplorer.expand=Expand 3 | DefaultExplorer.import_sub=Import subfolders to 4 | DefaultExplorer.import_to=Import to 5 | DefaultExplorer.name=Media Explorer 6 | DefaultExplorer.refresh=Refresh 7 | DefaultExplorer.sel_path=Selected Path 8 | JIThumbnailList.size=Size 9 | JIThumbnailList.layout_mode=in layout mode 10 | JIThumbnailList.open=Open 11 | JIThumbnailList.open_sel_win=Add to the selected Window 12 | JIThumbnailList.open_win=Open in a new window 13 | JIThumbnailList.refresh_list=Refresh List 14 | JIThumbnailList.sel_menu=Selection Menu 15 | JIThumbnailList.date=Date 16 | JIThumbnailList.stack_mode=in stack mode 17 | -------------------------------------------------------------------------------- /weasis-dicom/weasis-dicom-codec/src/main/java/org/weasis/dicom/codec/geometry/Orientation.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2022 Weasis Team and other contributors. 3 | * 4 | * This program and the accompanying materials are made available under the terms of the Eclipse 5 | * Public License 2.0 which is available at https://www.eclipse.org/legal/epl-2.0, or the Apache 6 | * License, Version 2.0 which is available at https://www.apache.org/licenses/LICENSE-2.0. 7 | * 8 | * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 9 | */ 10 | package org.weasis.dicom.codec.geometry; 11 | 12 | import java.awt.Color; 13 | 14 | public interface Orientation { 15 | 16 | String name(); 17 | 18 | String getFullName(); 19 | 20 | Color getColor(); 21 | } 22 | -------------------------------------------------------------------------------- /weasis-distributions/resources/svg/file/unknown.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /weasis-base/weasis-base-ui/src/main/java/org/weasis/base/ui/gui/MainWindowListener.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2009-2020 Weasis Team and other contributors. 3 | * 4 | * This program and the accompanying materials are made available under the terms of the Eclipse 5 | * Public License 2.0 which is available at https://www.eclipse.org/legal/epl-2.0, or the Apache 6 | * License, Version 2.0 which is available at https://www.apache.org/licenses/LICENSE-2.0. 7 | * 8 | * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 9 | */ 10 | package org.weasis.base.ui.gui; 11 | 12 | import java.beans.PropertyChangeListener; 13 | 14 | public interface MainWindowListener extends PropertyChangeListener { 15 | 16 | void setMainWindow(WeasisWin mainWindow); 17 | } 18 | -------------------------------------------------------------------------------- /weasis-dicom/weasis-dicom-explorer/src/main/java/org/weasis/dicom/explorer/DicomExportFactory.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2009-2020 Weasis Team and other contributors. 3 | * 4 | * This program and the accompanying materials are made available under the terms of the Eclipse 5 | * Public License 2.0 which is available at https://www.eclipse.org/legal/epl-2.0, or the Apache 6 | * License, Version 2.0 which is available at https://www.apache.org/licenses/LICENSE-2.0. 7 | * 8 | * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 9 | */ 10 | package org.weasis.dicom.explorer; 11 | 12 | import java.util.Hashtable; 13 | 14 | public interface DicomExportFactory { 15 | 16 | ExportDicom createDicomExportPage(Hashtable properties); 17 | } 18 | -------------------------------------------------------------------------------- /weasis-dicom/weasis-dicom-explorer/src/main/java/org/weasis/dicom/explorer/DicomImportFactory.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2009-2020 Weasis Team and other contributors. 3 | * 4 | * This program and the accompanying materials are made available under the terms of the Eclipse 5 | * Public License 2.0 which is available at https://www.eclipse.org/legal/epl-2.0, or the Apache 6 | * License, Version 2.0 which is available at https://www.apache.org/licenses/LICENSE-2.0. 7 | * 8 | * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 9 | */ 10 | package org.weasis.dicom.explorer; 11 | 12 | import java.util.Hashtable; 13 | 14 | public interface DicomImportFactory { 15 | 16 | ImportDicom createDicomImportPage(Hashtable properties); 17 | } 18 | -------------------------------------------------------------------------------- /weasis-core/src/main/java/org/weasis/core/api/gui/util/GroupPopup.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2009-2020 Weasis Team and other contributors. 3 | * 4 | * This program and the accompanying materials are made available under the terms of the Eclipse 5 | * Public License 2.0 which is available at https://www.eclipse.org/legal/epl-2.0, or the Apache 6 | * License, Version 2.0 which is available at https://www.apache.org/licenses/LICENSE-2.0. 7 | * 8 | * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 9 | */ 10 | package org.weasis.core.api.gui.util; 11 | 12 | import javax.swing.JMenu; 13 | import javax.swing.JPopupMenu; 14 | 15 | public interface GroupPopup { 16 | 17 | JPopupMenu createJPopupMenu(); 18 | 19 | JMenu createMenu(String title); 20 | } 21 | -------------------------------------------------------------------------------- /weasis-dicom/weasis-dicom-wave/src/main/java/org/weasis/dicom/wave/WaveLayout.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2009-2020 Weasis Team and other contributors. 3 | * 4 | * This program and the accompanying materials are made available under the terms of the Eclipse 5 | * Public License 2.0 which is available at https://www.eclipse.org/legal/epl-2.0, or the Apache 6 | * License, Version 2.0 which is available at https://www.apache.org/licenses/LICENSE-2.0. 7 | * 8 | * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 9 | */ 10 | package org.weasis.dicom.wave; 11 | 12 | import java.util.List; 13 | import java.util.Map; 14 | 15 | public interface WaveLayout { 16 | 17 | List getSortedComponents(Format format, Map components); 18 | } 19 | -------------------------------------------------------------------------------- /weasis-distributions/resources/svg/action/zoomBestFit.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /archetype/weasis-plugin-base-viewer/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 4.0.0 6 | 7 | 8 | org.weasis.samples 9 | weasis-plugin-archetype 10 | 11 | ${revision}${changelist} 12 | 13 | 14 | weasis-plugin-base-viewer-archetype 15 | maven-archetype 16 | 17 | ${project.artifactId} 18 | 19 | 20 | -------------------------------------------------------------------------------- /archetype/weasis-plugin-dicom-viewer/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 4.0.0 6 | 7 | 8 | org.weasis.samples 9 | weasis-plugin-archetype 10 | 11 | ${revision}${changelist} 12 | 13 | 14 | weasis-plugin-dicom-viewer-archetype 15 | maven-archetype 16 | 17 | ${project.artifactId} 18 | 19 | 20 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # IntelliJ project files 2 | *.iml 3 | *.iws 4 | *.ipr 5 | .idea/ 6 | .run/ 7 | 8 | # eclipse project file 9 | .settings/ 10 | .classpath 11 | .project 12 | 13 | # NetBeans specific 14 | nbproject/private/ 15 | build/ 16 | nbbuild/ 17 | dist/ 18 | nbdist/ 19 | nbactions.xml 20 | nb-configuration.xml 21 | 22 | # Ignore Maven files 23 | target/ 24 | release.properties 25 | pom.xml.releaseBackup 26 | pom.xml.tag 27 | dependency-reduced-pom.xml 28 | .flattened-pom.xml 29 | 30 | # OS generated files 31 | .DS_Store 32 | Thumbs.db 33 | 34 | # crash file 35 | hs_err*.log 36 | 37 | # bndTools 38 | /generated/ 39 | /index.xml* 40 | /bin/ 41 | /src/ 42 | 43 | # Mac temporary folders 44 | _*/ 45 | 46 | #snap 47 | weasis_*.snap 48 | #comlile 49 | build-dist 50 | 51 | -------------------------------------------------------------------------------- /weasis-base/weasis-base-explorer/src/main/java/org/weasis/base/explorer/list/DiskFileList.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2009-2020 Weasis Team and other contributors. 3 | * 4 | * This program and the accompanying materials are made available under the terms of the Eclipse 5 | * Public License 2.0 which is available at https://www.eclipse.org/legal/epl-2.0, or the Apache 6 | * License, Version 2.0 which is available at https://www.apache.org/licenses/LICENSE-2.0. 7 | * 8 | * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 9 | */ 10 | package org.weasis.base.explorer.list; 11 | 12 | import java.nio.file.Path; 13 | 14 | public interface DiskFileList extends ListObservable { 15 | 16 | IThumbnailModel getFileListModel(); 17 | 18 | void loadDirectory(Path dir); 19 | } 20 | -------------------------------------------------------------------------------- /weasis-core/src/main/java/org/weasis/core/api/media/data/MediaSeriesGroup.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2009-2020 Weasis Team and other contributors. 3 | * 4 | * This program and the accompanying materials are made available under the terms of the Eclipse 5 | * Public License 2.0 which is available at https://www.eclipse.org/legal/epl-2.0, or the Apache 6 | * License, Version 2.0 which is available at https://www.apache.org/licenses/LICENSE-2.0. 7 | * 8 | * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 9 | */ 10 | package org.weasis.core.api.media.data; 11 | 12 | public interface MediaSeriesGroup extends Taggable { 13 | 14 | TagW getTagID(); 15 | 16 | boolean matchIdValue(Object valueID); 17 | 18 | TagW getTagElement(int id); 19 | 20 | void dispose(); 21 | } 22 | -------------------------------------------------------------------------------- /weasis-dicom/weasis-dicom-3d/viewer3d/src/main/java/org/weasis/dicom/viewer3d/geometry/ViewData.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2022 Weasis Team and other contributors. 3 | * 4 | * This program and the accompanying materials are made available under the terms of the Eclipse 5 | * Public License 2.0 which is available at https://www.eclipse.org/legal/epl-2.0, or the Apache 6 | * License, Version 2.0 which is available at https://www.apache.org/licenses/LICENSE-2.0. 7 | * 8 | * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 9 | */ 10 | package org.weasis.dicom.viewer3d.geometry; 11 | 12 | import org.joml.Quaterniond; 13 | import org.joml.Vector3d; 14 | 15 | public record ViewData(String title, Vector3d position, Quaterniond rotation, double zoom) 16 | implements View {} 17 | -------------------------------------------------------------------------------- /weasis-dicom/weasis-dicom-viewer2d/src/main/java/org/weasis/dicom/viewer2d/mpr/SliceCanvas.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2025 Weasis Team and other contributors. 3 | * 4 | * This program and the accompanying materials are made available under the terms of the Eclipse 5 | * Public License 2.0 which is available at https://www.eclipse.org/legal/epl-2.0, or the Apache 6 | * License, Version 2.0 which is available at https://www.apache.org/licenses/LICENSE-2.0. 7 | * 8 | * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 9 | */ 10 | package org.weasis.dicom.viewer2d.mpr; 11 | 12 | import org.weasis.core.ui.editor.image.Canvas; 13 | import org.weasis.dicom.viewer2d.mpr.MprView.Plane; 14 | 15 | public interface SliceCanvas extends Canvas { 16 | 17 | Plane getPlane(); 18 | } 19 | -------------------------------------------------------------------------------- /weasis-distributions/resources/svg/other/calendar.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /weasis-core/src/main/java/org/weasis/core/api/media/data/Thumbnailable.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2009-2020 Weasis Team and other contributors. 3 | * 4 | * This program and the accompanying materials are made available under the terms of the Eclipse 5 | * Public License 2.0 which is available at https://www.eclipse.org/legal/epl-2.0, or the Apache 6 | * License, Version 2.0 which is available at https://www.apache.org/licenses/LICENSE-2.0. 7 | * 8 | * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 9 | */ 10 | package org.weasis.core.api.media.data; 11 | 12 | import java.io.File; 13 | 14 | public interface Thumbnailable { 15 | 16 | void registerListeners(); 17 | 18 | File getThumbnailPath(); 19 | 20 | void dispose(); 21 | 22 | void removeMouseAndKeyListener(); 23 | } 24 | -------------------------------------------------------------------------------- /weasis-dicom/weasis-dicom-3d/viewer3d/src/main/java/org/weasis/dicom/viewer3d/pr/VolumeCroppingModule.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2022 Weasis Team and other contributors. 3 | * 4 | * This program and the accompanying materials are made available under the terms of the Eclipse 5 | * Public License 2.0 which is available at https://www.eclipse.org/legal/epl-2.0, or the Apache 6 | * License, Version 2.0 which is available at https://www.apache.org/licenses/LICENSE-2.0. 7 | * 8 | * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 9 | */ 10 | package org.weasis.dicom.viewer3d.pr; 11 | 12 | /** 13 | * Volume 15 | * Cropping Module 16 | */ 17 | public class VolumeCroppingModule {} 18 | -------------------------------------------------------------------------------- /weasis-launcher/src/main/java/org/weasis/launcher/WeasisMainFrameMBean.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2009-2020 Weasis Team and other contributors. 3 | * 4 | * This program and the accompanying materials are made available under the terms of the Eclipse 5 | * Public License 2.0 which is available at https://www.eclipse.org/legal/epl-2.0, or the Apache 6 | * License, Version 2.0 which is available at https://www.apache.org/licenses/LICENSE-2.0. 7 | * 8 | * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 9 | */ 10 | package org.weasis.launcher; 11 | 12 | import javax.swing.RootPaneContainer; 13 | import org.weasis.pref.ConfigData; 14 | 15 | public interface WeasisMainFrameMBean { 16 | 17 | RootPaneContainer getRootPaneContainer(); 18 | 19 | ConfigData getConfigData(); 20 | } 21 | -------------------------------------------------------------------------------- /weasis-core/src/main/java/org/weasis/core/ui/util/SegRegionTool.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2024 Weasis Team and other contributors. 3 | * 4 | * This program and the accompanying materials are made available under the terms of the Eclipse 5 | * Public License 2.0 which is available at https://www.eclipse.org/legal/epl-2.0, or the Apache 6 | * License, Version 2.0 which is available at https://www.apache.org/licenses/LICENSE-2.0. 7 | * 8 | * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 9 | */ 10 | package org.weasis.core.ui.util; 11 | 12 | import org.weasis.core.ui.model.graphic.imp.seg.SegRegion; 13 | 14 | public interface SegRegionTool { 15 | void computeStatistics(SegRegion region); 16 | 17 | void updateVisibleNode(); 18 | 19 | void show(SegRegion region); 20 | } 21 | -------------------------------------------------------------------------------- /weasis-core/src/main/java/org/weasis/core/api/gui/util/ComboBoxModelAdapter.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2009-2020 Weasis Team and other contributors. 3 | * 4 | * This program and the accompanying materials are made available under the terms of the Eclipse 5 | * Public License 2.0 which is available at https://www.eclipse.org/legal/epl-2.0, or the Apache 6 | * License, Version 2.0 which is available at https://www.apache.org/licenses/LICENSE-2.0. 7 | * 8 | * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 9 | */ 10 | package org.weasis.core.api.gui.util; 11 | 12 | import javax.swing.ComboBoxModel; 13 | import javax.swing.event.ListDataListener; 14 | 15 | public interface ComboBoxModelAdapter extends ListDataListener, State { 16 | 17 | void setModel(ComboBoxModel dataModel); 18 | } 19 | -------------------------------------------------------------------------------- /weasis-dicom/weasis-dicom-explorer/src/main/java/org/weasis/dicom/explorer/ImportDicom.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2009-2020 Weasis Team and other contributors. 3 | * 4 | * This program and the accompanying materials are made available under the terms of the Eclipse 5 | * Public License 2.0 which is available at https://www.eclipse.org/legal/epl-2.0, or the Apache 6 | * License, Version 2.0 which is available at https://www.apache.org/licenses/LICENSE-2.0. 7 | * 8 | * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 9 | */ 10 | package org.weasis.dicom.explorer; 11 | 12 | import javax.swing.JProgressBar; 13 | import org.weasis.core.api.gui.util.PageItem; 14 | 15 | public interface ImportDicom extends PageItem { 16 | 17 | void importDICOM(DicomModel dicomModel, JProgressBar info); 18 | } 19 | -------------------------------------------------------------------------------- /weasis-distributions/resources/svg/other/presentation.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /weasis-distributions/resources/svg/action/openNewTab.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /weasis-distributions/resources/svg/action/settings.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /weasis-core/src/main/java/org/weasis/core/api/util/Copyable.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2009-2020 Weasis Team and other contributors. 3 | * 4 | * This program and the accompanying materials are made available under the terms of the Eclipse 5 | * Public License 2.0 which is available at https://www.eclipse.org/legal/epl-2.0, or the Apache 6 | * License, Version 2.0 which is available at https://www.apache.org/licenses/LICENSE-2.0. 7 | * 8 | * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 9 | */ 10 | package org.weasis.core.api.util; 11 | 12 | /** 13 | * @author Nicolas Roduit 14 | * @param set the Type of the returning element 15 | */ 16 | @FunctionalInterface 17 | public interface Copyable { 18 | /** 19 | * @return a new instance with identical values 20 | */ 21 | T copy(); 22 | } 23 | -------------------------------------------------------------------------------- /weasis-distributions/resources/svg/action/pipette.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /weasis-base/weasis-base-explorer/src/main/java/org/weasis/base/explorer/list/IThumbnailListPane.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2009-2020 Weasis Team and other contributors. 3 | * 4 | * This program and the accompanying materials are made available under the terms of the Eclipse 5 | * Public License 2.0 which is available at https://www.eclipse.org/legal/epl-2.0, or the Apache 6 | * License, Version 2.0 which is available at https://www.apache.org/licenses/LICENSE-2.0. 7 | * 8 | * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 9 | */ 10 | package org.weasis.base.explorer.list; 11 | 12 | import java.util.List; 13 | import org.weasis.core.api.media.data.MediaElement; 14 | 15 | public interface IThumbnailListPane extends DiskFileList { 16 | 17 | List getSelectedValuesList(); 18 | } 19 | -------------------------------------------------------------------------------- /weasis-core/src/main/java/org/weasis/core/api/gui/task/InterruptionListener.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2009-2020 Weasis Team and other contributors. 3 | * 4 | * This program and the accompanying materials are made available under the terms of the Eclipse 5 | * Public License 2.0 which is available at https://www.eclipse.org/legal/epl-2.0, or the Apache 6 | * License, Version 2.0 which is available at https://www.apache.org/licenses/LICENSE-2.0. 7 | * 8 | * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 9 | */ 10 | package org.weasis.core.api.gui.task; 11 | 12 | /** An interface that requests an interruption of the task. */ 13 | @FunctionalInterface 14 | public interface InterruptionListener { 15 | 16 | /** Action to execute when the thread is interrupted. */ 17 | void interruptionRequested(); 18 | } 19 | -------------------------------------------------------------------------------- /weasis-core/src/main/java/org/weasis/core/api/media/data/SeriesImporter.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2009-2020 Weasis Team and other contributors. 3 | * 4 | * This program and the accompanying materials are made available under the terms of the Eclipse 5 | * Public License 2.0 which is available at https://www.eclipse.org/legal/epl-2.0, or the Apache 6 | * License, Version 2.0 which is available at https://www.apache.org/licenses/LICENSE-2.0. 7 | * 8 | * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 9 | */ 10 | package org.weasis.core.api.media.data; 11 | 12 | import javax.swing.JProgressBar; 13 | 14 | public interface SeriesImporter { 15 | 16 | boolean isStopped(); 17 | 18 | JProgressBar getProgressBar(); 19 | 20 | boolean stop(); 21 | 22 | void resume(); 23 | 24 | void setPriority(); 25 | } 26 | -------------------------------------------------------------------------------- /weasis-distributions/resources/svg/action/drawSelection.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /weasis-launcher/src/main/java/org/weasis/launcher/EmptyAccessibilityProvider.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2022 Weasis Team and other contributors. 3 | * 4 | * This program and the accompanying materials are made available under the terms of the Eclipse 5 | * Public License 2.0 which is available at https://www.eclipse.org/legal/epl-2.0, or the Apache 6 | * License, Version 2.0 which is available at https://www.apache.org/licenses/LICENSE-2.0. 7 | * 8 | * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 9 | */ 10 | package org.weasis.launcher; 11 | 12 | import javax.accessibility.AccessibilityProvider; 13 | 14 | public class EmptyAccessibilityProvider extends AccessibilityProvider { 15 | public String getName() { 16 | return "EmptyAccessibilityProvider"; 17 | } 18 | 19 | public void activate() {} 20 | } 21 | -------------------------------------------------------------------------------- /weasis-core/src/main/java/org/weasis/core/api/gui/LicenseTabFactory.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2009-2020 Weasis Team and other contributors. 3 | * 4 | * This program and the accompanying materials are made available under the terms of the Eclipse 5 | * Public License 2.0 which is available at https://www.eclipse.org/legal/epl-2.0, or the Apache 6 | * License, Version 2.0 which is available at https://www.apache.org/licenses/LICENSE-2.0. 7 | * 8 | * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 9 | */ 10 | package org.weasis.core.api.gui; 11 | 12 | import java.util.Hashtable; 13 | import org.weasis.core.api.gui.util.AbstractTabLicense; 14 | 15 | public interface LicenseTabFactory extends InsertableFactory { 16 | 17 | @Override 18 | AbstractTabLicense createInstance(Hashtable properties); 19 | } 20 | -------------------------------------------------------------------------------- /weasis-core/src/main/java/org/weasis/core/api/gui/util/GUIEntry.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2009-2020 Weasis Team and other contributors. 3 | * 4 | * This program and the accompanying materials are made available under the terms of the Eclipse 5 | * Public License 2.0 which is available at https://www.eclipse.org/legal/epl-2.0, or the Apache 6 | * License, Version 2.0 which is available at https://www.apache.org/licenses/LICENSE-2.0. 7 | * 8 | * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 9 | */ 10 | package org.weasis.core.api.gui.util; 11 | 12 | import javax.swing.Icon; 13 | 14 | public interface GUIEntry { 15 | 16 | default Icon getIcon() { 17 | return null; 18 | } 19 | 20 | String getUIName(); // Do not use getName(), already used by java.awt.Component 21 | 22 | String getDescription(); 23 | } 24 | -------------------------------------------------------------------------------- /weasis-core/src/main/java/org/weasis/core/api/media/data/TagReadable.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2009-2020 Weasis Team and other contributors. 3 | * 4 | * This program and the accompanying materials are made available under the terms of the Eclipse 5 | * Public License 2.0 which is available at https://www.eclipse.org/legal/epl-2.0, or the Apache 6 | * License, Version 2.0 which is available at https://www.apache.org/licenses/LICENSE-2.0. 7 | * 8 | * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 9 | */ 10 | package org.weasis.core.api.media.data; 11 | 12 | import java.util.Iterator; 13 | import java.util.Map.Entry; 14 | 15 | public interface TagReadable { 16 | 17 | boolean containTagKey(TagW tag); 18 | 19 | Object getTagValue(TagW tag); 20 | 21 | Iterator> getTagEntrySetIterator(); 22 | } 23 | -------------------------------------------------------------------------------- /weasis-core/src/test/resources/graphic/polyline/polyline.graphic.1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /weasis-dicom/weasis-dicom-3d/viewer3d/src/main/java/org/weasis/dicom/viewer3d/vr/RenderingLayerChangeListener.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2023 Weasis Team and other contributors. 3 | * 4 | * This program and the accompanying materials are made available under the terms of the Eclipse 5 | * Public License 2.0 which is available at https://www.eclipse.org/legal/epl-2.0, or the Apache 6 | * License, Version 2.0 which is available at https://www.apache.org/licenses/LICENSE-2.0. 7 | * 8 | * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 9 | */ 10 | package org.weasis.dicom.viewer3d.vr; 11 | 12 | import org.weasis.core.api.media.data.ImageElement; 13 | 14 | @FunctionalInterface 15 | public interface RenderingLayerChangeListener { 16 | 17 | void handleLayerChanged(RenderingLayer layer); 18 | } 19 | -------------------------------------------------------------------------------- /weasis-distributions/resources/svg/action/mouseMiddle.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /weasis-dicom/weasis-dicom-3d/viewer3d/src/main/java/org/weasis/dicom/viewer3d/pr/PlanarMprVolumetricPr.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2022 Weasis Team and other contributors. 3 | * 4 | * This program and the accompanying materials are made available under the terms of the Eclipse 5 | * Public License 2.0 which is available at https://www.eclipse.org/legal/epl-2.0, or the Apache 6 | * License, Version 2.0 which is available at https://www.apache.org/licenses/LICENSE-2.0. 7 | * 8 | * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 9 | */ 10 | package org.weasis.dicom.viewer3d.pr; 11 | 12 | /** 13 | * Planar 15 | * MPR Volumetric Presentation State IOD Module Table 16 | */ 17 | public class PlanarMprVolumetricPr {} 18 | -------------------------------------------------------------------------------- /weasis-dicom/weasis-dicom-wave/src/main/java/org/weasis/dicom/wave/WaveByteData.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2009-2020 Weasis Team and other contributors. 3 | * 4 | * This program and the accompanying materials are made available under the terms of the Eclipse 5 | * Public License 2.0 which is available at https://www.eclipse.org/legal/epl-2.0, or the Apache 6 | * License, Version 2.0 which is available at https://www.apache.org/licenses/LICENSE-2.0. 7 | * 8 | * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 9 | */ 10 | package org.weasis.dicom.wave; 11 | 12 | import java.awt.image.DataBufferByte; 13 | 14 | public class WaveByteData extends AbstractWaveData { 15 | 16 | public WaveByteData(DataBufferByte data, int nbOfChannels, int nbSamplesPerChannel) { 17 | super(data, nbOfChannels, nbSamplesPerChannel); 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /weasis-dicom/weasis-dicom-wave/src/main/java/org/weasis/dicom/wave/WaveShortData.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2009-2020 Weasis Team and other contributors. 3 | * 4 | * This program and the accompanying materials are made available under the terms of the Eclipse 5 | * Public License 2.0 which is available at https://www.eclipse.org/legal/epl-2.0, or the Apache 6 | * License, Version 2.0 which is available at https://www.apache.org/licenses/LICENSE-2.0. 7 | * 8 | * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 9 | */ 10 | package org.weasis.dicom.wave; 11 | 12 | import java.awt.image.DataBufferShort; 13 | 14 | public class WaveShortData extends AbstractWaveData { 15 | public WaveShortData(DataBufferShort data, int nbOfChannels, int nbSamplesPerChannel) { 16 | super(data, nbOfChannels, nbSamplesPerChannel); 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /weasis-distributions/resources/svg/action/rotateClockwise.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /weasis-distributions/resources/svg/action/rotateCounterclockwise.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /weasis-dicom/weasis-dicom-explorer/src/main/java/org/weasis/dicom/explorer/ExportDicom.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2009-2020 Weasis Team and other contributors. 3 | * 4 | * This program and the accompanying materials are made available under the terms of the Eclipse 5 | * Public License 2.0 which is available at https://www.eclipse.org/legal/epl-2.0, or the Apache 6 | * License, Version 2.0 which is available at https://www.apache.org/licenses/LICENSE-2.0. 7 | * 8 | * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 9 | */ 10 | package org.weasis.dicom.explorer; 11 | 12 | import java.io.IOException; 13 | import javax.swing.JProgressBar; 14 | import org.weasis.core.api.gui.util.PageItem; 15 | 16 | public interface ExportDicom extends PageItem { 17 | 18 | void exportDICOM(CheckTreeModel model, JProgressBar info) throws IOException; 19 | } 20 | -------------------------------------------------------------------------------- /weasis-core/src/main/java/org/weasis/core/ui/model/utils/ImageLayerChangeListener.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2009-2020 Weasis Team and other contributors. 3 | * 4 | * This program and the accompanying materials are made available under the terms of the Eclipse 5 | * Public License 2.0 which is available at https://www.eclipse.org/legal/epl-2.0, or the Apache 6 | * License, Version 2.0 which is available at https://www.apache.org/licenses/LICENSE-2.0. 7 | * 8 | * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 9 | */ 10 | package org.weasis.core.ui.model.utils; 11 | 12 | import org.weasis.core.api.image.util.ImageLayer; 13 | import org.weasis.core.api.media.data.ImageElement; 14 | 15 | @FunctionalInterface 16 | public interface ImageLayerChangeListener { 17 | 18 | void handleLayerChanged(ImageLayer layer); 19 | } 20 | -------------------------------------------------------------------------------- /weasis-distributions/resources/svg/file/image.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /weasis-core/src/main/java/org/weasis/core/api/util/HttpResponse.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2021 Weasis Team and other contributors. 3 | * 4 | * This program and the accompanying materials are made available under the terms of the Eclipse 5 | * Public License 2.0 which is available at https://www.eclipse.org/legal/epl-2.0, or the Apache 6 | * License, Version 2.0 which is available at https://www.apache.org/licenses/LICENSE-2.0. 7 | * 8 | * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 9 | */ 10 | package org.weasis.core.api.util; 11 | 12 | import java.io.IOException; 13 | import java.io.InputStream; 14 | 15 | public interface HttpResponse extends AutoCloseable { 16 | InputStream getInputStream() throws IOException; 17 | 18 | int getResponseCode(); 19 | 20 | String getHeaderField(String key); 21 | 22 | String getResponseMessage(); 23 | } 24 | -------------------------------------------------------------------------------- /weasis-dicom/weasis-dicom-3d/viewer3d/src/main/java/org/weasis/dicom/viewer3d/pr/VolumeRenderingVolumetricPr.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2022 Weasis Team and other contributors. 3 | * 4 | * This program and the accompanying materials are made available under the terms of the Eclipse 5 | * Public License 2.0 which is available at https://www.eclipse.org/legal/epl-2.0, or the Apache 6 | * License, Version 2.0 which is available at https://www.apache.org/licenses/LICENSE-2.0. 7 | * 8 | * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 9 | */ 10 | package org.weasis.dicom.viewer3d.pr; 11 | 12 | /** 13 | * Volume 15 | * Rendering Volumetric Presentation State IOD Module Table 16 | */ 17 | public class VolumeRenderingVolumetricPr {} 18 | -------------------------------------------------------------------------------- /weasis-dicom/weasis-dicom-send/src/main/java/org/weasis/dicom/send/HttpServerErrorException.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2019 Weasis Team and other contributors. 3 | * 4 | * This program and the accompanying materials are made available under the terms of the Eclipse 5 | * Public License 2.0 which is available at https://www.eclipse.org/legal/epl-2.0, or the Apache 6 | * License, Version 2.0 which is available at https://www.apache.org/licenses/LICENSE-2.0. 7 | * 8 | * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 9 | */ 10 | package org.weasis.dicom.send; 11 | 12 | public class HttpServerErrorException extends RuntimeException { 13 | 14 | public HttpServerErrorException(String message) { 15 | super(message); 16 | } 17 | 18 | public HttpServerErrorException(String message, Throwable cause) { 19 | super(message, cause); 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /weasis-distributions/resources/svg/other/imageEdit.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /weasis-dicom/weasis-dicom-codec/src/main/java/org/weasis/dicom/codec/DicomSpecialElementFactory.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2009-2020 Weasis Team and other contributors. 3 | * 4 | * This program and the accompanying materials are made available under the terms of the Eclipse 5 | * Public License 2.0 which is available at https://www.eclipse.org/legal/epl-2.0, or the Apache 6 | * License, Version 2.0 which is available at https://www.apache.org/licenses/LICENSE-2.0. 7 | * 8 | * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 9 | */ 10 | package org.weasis.dicom.codec; 11 | 12 | public interface DicomSpecialElementFactory { 13 | 14 | String getSeriesMimeType(); 15 | 16 | String[] getModalities(); 17 | 18 | default boolean isHidden() { 19 | return false; 20 | } 21 | 22 | DicomSpecialElement buildDicomSpecialElement(DicomMediaIO mediaIO); 23 | } 24 | -------------------------------------------------------------------------------- /weasis-distributions/resources/svg/action/synch.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /weasis-launcher/src/main/java/org/weasis/launcher/messages_sv.properties: -------------------------------------------------------------------------------- 1 | AutoProcessor.start=Starting plug-ins... 2 | WeasisLauncher.change.version=%s version has changed from %s to %s. 3 | WeasisLauncher.continue_local=Try to continue with the current local version? 4 | WeasisLauncher.first=First Time Launch of %s 5 | WeasisLauncher.msg=%s is not intended nor designed for\nany kind of diagnostic purposes 6 | WeasisLauncher.News=News 7 | WeasisLauncher.no=No 8 | WeasisLauncher.ok=I accept 9 | WeasisLauncher.release=Release notes 10 | WeasisLauncher.starting=Starting... %s 11 | WeasisLauncher.update_min=The local installation of %s must be updated at least to %s. 12 | WebStartLoader.cancel=&Avbryt 13 | WebStartLoader.download=Downloading 14 | WebStartLoader.end=Completed %d of %d plug-ins. 15 | WebStartLoader.load=Loading... 16 | WebStartLoader.title=%s Plug-ins Loader 17 | -------------------------------------------------------------------------------- /weasis-core/src/test/resources/presentation/presentation.5.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 11 | 12 | 13 | 15 | test.layer-abcd-123-efg45.0 16 | 17 | 18 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /weasis-distributions/resources/svg/action/drawPerpendicular.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /weasis-distributions/resources/svg/action/rotation.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /weasis-distributions/resources/svg/other/radioactive.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /weasis-launcher/src/main/java/org/weasis/launcher/messages_ko.properties: -------------------------------------------------------------------------------- 1 | AutoProcessor.start=Starting plug-ins... 2 | WeasisLauncher.change.version=%s version has changed from %s to %s. 3 | WeasisLauncher.continue_local=Try to continue with the current local version? 4 | WeasisLauncher.first=First Time Launch of %s 5 | WeasisLauncher.msg=%s is not intended nor designed for\nany kind of diagnostic purposes 6 | WeasisLauncher.News=News 7 | WeasisLauncher.no=No 8 | WeasisLauncher.ok=I accept 9 | WeasisLauncher.release=Release notes 10 | WeasisLauncher.starting=Starting... %s 11 | WeasisLauncher.update_min=The local installation of %s must be updated at least to %s. 12 | WebStartLoader.cancel=\ucde8\uc18c 13 | WebStartLoader.download=Downloading 14 | WebStartLoader.end=Completed %d of %d plug-ins. 15 | WebStartLoader.load=Loading... 16 | WebStartLoader.title=%s Plug-ins Loader 17 | -------------------------------------------------------------------------------- /weasis-dicom/weasis-dicom-codec/src/main/java/org/weasis/dicom/codec/HiddenSpecialElement.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2023 Weasis Team and other contributors. 3 | * 4 | * This program and the accompanying materials are made available under the terms of the Eclipse 5 | * Public License 2.0 which is available at https://www.eclipse.org/legal/epl-2.0, or the Apache 6 | * License, Version 2.0 which is available at https://www.apache.org/licenses/LICENSE-2.0. 7 | * 8 | * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 9 | */ 10 | package org.weasis.dicom.codec; 11 | 12 | import org.weasis.core.api.util.ResourceUtil.ResourceIconPath; 13 | 14 | public abstract class HiddenSpecialElement extends DicomSpecialElement { 15 | 16 | public HiddenSpecialElement(DicomMediaIO mediaIO) { 17 | super(mediaIO); 18 | } 19 | 20 | public abstract ResourceIconPath getIconPath(); 21 | } 22 | -------------------------------------------------------------------------------- /weasis-core/src/main/java/org/weasis/core/api/util/BiConsumerWithException.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2009-2020 Weasis Team and other contributors. 3 | * 4 | * This program and the accompanying materials are made available under the terms of the Eclipse 5 | * Public License 2.0 which is available at https://www.eclipse.org/legal/epl-2.0, or the Apache 6 | * License, Version 2.0 which is available at https://www.apache.org/licenses/LICENSE-2.0. 7 | * 8 | * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 9 | */ 10 | package org.weasis.core.api.util; 11 | 12 | @FunctionalInterface 13 | public interface BiConsumerWithException { 14 | 15 | /** 16 | * Performs this operation on the given arguments. 17 | * 18 | * @param t the first input argument 19 | * @param u the second input argument 20 | */ 21 | void accept(T t, U u) throws E; 22 | } 23 | -------------------------------------------------------------------------------- /weasis-dicom/weasis-dicom-rt/src/main/java/org/weasis/dicom/rt/messages.properties: -------------------------------------------------------------------------------- 1 | 2 | display.dvh.chart=Display DVH chart 3 | dose=Dose 4 | dose.cgy=Dose (cGy) 5 | dvh.calculation=DVH calculation cannot be modified after the RT objects creation 6 | dvh.chart=DVH Chart 7 | dvh.recalculate=DVH recalculate 8 | export.as.csv=Export to clipboard as CSV 9 | graphic.opacity=Graphic Opacity 10 | isodoses=Isodoses 11 | level=Level 12 | load.rt=Load RT 13 | max.dose=Max Dose 14 | mean.dose=Mean Dose 15 | min.dose=Min Dose 16 | plan=Plan 17 | populate.rt.objects=Populate RT objects from loaded DICOM study 18 | rt.objects.from.loaded=RT objects from loaded DICOM study have been already created 19 | rt.tool=RT Tool 20 | structures=Structures 21 | thickness=Thickness 22 | volume=Volume 23 | when.enabled.recalculate=When enabled recalculate DVH for all structures, otherwise recalculate only missing DVH -------------------------------------------------------------------------------- /weasis-distributions/resources/svg/action/drawAngle.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /weasis-launcher/src/main/java/org/weasis/launcher/messages_si.properties: -------------------------------------------------------------------------------- 1 | AutoProcessor.start=Starting plug-ins... 2 | WeasisLauncher.change.version=%s version has changed from %s to %s. 3 | WeasisLauncher.continue_local=Try to continue with the current local version? 4 | WeasisLauncher.first=First Time Launch of %s 5 | WeasisLauncher.msg=%s is not intended nor designed for\nany kind of diagnostic purposes 6 | WeasisLauncher.News=News 7 | WeasisLauncher.no=No 8 | WeasisLauncher.ok=I accept 9 | WeasisLauncher.release=Release notes 10 | WeasisLauncher.starting=Starting... %s 11 | WeasisLauncher.update_min=The local installation of %s must be updated at least to %s. 12 | WebStartLoader.cancel=\u0d85\u0dc0\u0dbd\u0d82\u0d9c\u0dd4 13 | WebStartLoader.download=Downloading 14 | WebStartLoader.end=Completed %d of %d plug-ins. 15 | WebStartLoader.load=Loading... 16 | WebStartLoader.title=%s Plug-ins Loader 17 | -------------------------------------------------------------------------------- /weasis-distributions/resources/svg/other/key.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /weasis-launcher/src/main/java/org/weasis/launcher/messages_hr_HR.properties: -------------------------------------------------------------------------------- 1 | AutoProcessor.start=Pokretanje dodataka... 2 | WeasisLauncher.change.version=%s verzija preglednika je promijenjena sa %s na %s. 3 | WeasisLauncher.continue_local=Try to continue with the current local version? 4 | WeasisLauncher.first=Prvo pokretanje %s 5 | WeasisLauncher.msg=%s preglednik nije namijenjen \nza dijagnosti\u010dke svrhe 6 | WeasisLauncher.News=Novosti 7 | WeasisLauncher.no=Ne 8 | WeasisLauncher.ok=Prihva\u0107am 9 | WeasisLauncher.release=O novoj verziji 10 | WeasisLauncher.starting=Pokretanje... %s 11 | WeasisLauncher.update_min=The local installation of %s must be updated at least to %s. 12 | WebStartLoader.cancel=Odustani 13 | WebStartLoader.download=Preuzimanje 14 | WebStartLoader.end=U\u010ditano%d od %d dodataka. 15 | WebStartLoader.load=U\u010ditavanje... 16 | WebStartLoader.title=%s Plug-ins Loader 17 | -------------------------------------------------------------------------------- /weasis-dicom/weasis-dicom-wave/src/main/java/org/weasis/dicom/wave/WaveDataReadable.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2009-2020 Weasis Team and other contributors. 3 | * 4 | * This program and the accompanying materials are made available under the terms of the Eclipse 5 | * Public License 2.0 which is available at https://www.eclipse.org/legal/epl-2.0, or the Apache 6 | * License, Version 2.0 which is available at https://www.apache.org/licenses/LICENSE-2.0. 7 | * 8 | * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 9 | */ 10 | package org.weasis.dicom.wave; 11 | 12 | import java.awt.image.DataBuffer; 13 | 14 | public interface WaveDataReadable { 15 | 16 | DataBuffer getData(); 17 | 18 | double getSample(int index, ChannelDefinition channel); 19 | 20 | int getRawSample(int index, ChannelDefinition channel); 21 | 22 | int getNbOfChannels(); 23 | 24 | int getNbSamplesPerChannel(); 25 | } 26 | -------------------------------------------------------------------------------- /weasis-launcher/src/main/java/org/weasis/launcher/messages_bs_BA.properties: -------------------------------------------------------------------------------- 1 | AutoProcessor.start=Pokreni dodatke.... 2 | WeasisLauncher.change.version=%s verzije je promjenjen sa %s na %s. 3 | WeasisLauncher.continue_local=Try to continue with the current local version? 4 | WeasisLauncher.first=Prvi put pokrenuto %s 5 | WeasisLauncher.msg=%s nije namijenjen niti dizajniran za \nikakvu dijagnosti\u010dku namjenu 6 | WeasisLauncher.News=Novosti 7 | WeasisLauncher.no=Ne 8 | WeasisLauncher.ok=Prihvatam 9 | WeasisLauncher.release=Obavijesti o izdanju 10 | WeasisLauncher.starting=Starting... %s 11 | WeasisLauncher.update_min=The local installation of %s must be updated at least to %s. 12 | WebStartLoader.cancel=Prekid 13 | WebStartLoader.download=Preuzimanje 14 | WebStartLoader.end=Zavr\u0161eno %d od %d dodataka. 15 | WebStartLoader.load=U\u010ditavanje... 16 | WebStartLoader.title=%s Dodataka u\u010ditano 17 | -------------------------------------------------------------------------------- /weasis-dicom/weasis-dicom-au/src/main/java/org/weasis/dicom/au/DicomAudioElement.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2009-2020 Weasis Team and other contributors. 3 | * 4 | * This program and the accompanying materials are made available under the terms of the Eclipse 5 | * Public License 2.0 which is available at https://www.eclipse.org/legal/epl-2.0, or the Apache 6 | * License, Version 2.0 which is available at https://www.apache.org/licenses/LICENSE-2.0. 7 | * 8 | * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 9 | */ 10 | package org.weasis.dicom.au; 11 | 12 | import org.weasis.dicom.codec.DicomMediaIO; 13 | import org.weasis.dicom.codec.DicomSpecialElement; 14 | 15 | public class DicomAudioElement extends DicomSpecialElement { 16 | 17 | public static final String AUDIO_MIMETYPE = "audio/basic"; 18 | 19 | public DicomAudioElement(DicomMediaIO mediaIO) { 20 | super(mediaIO); 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /weasis-launcher/src/main/java/org/weasis/launcher/messages_uk.properties: -------------------------------------------------------------------------------- 1 | AutoProcessor.start=Starting plug-ins... 2 | WeasisLauncher.change.version=%s version has changed from %s to %s. 3 | WeasisLauncher.continue_local=Try to continue with the current local version? 4 | WeasisLauncher.first=First Time Launch of %s 5 | WeasisLauncher.msg=%s is not intended nor designed for\nany kind of diagnostic purposes 6 | WeasisLauncher.News=News 7 | WeasisLauncher.no=No 8 | WeasisLauncher.ok=I accept 9 | WeasisLauncher.release=Release notes 10 | WeasisLauncher.starting=Starting... %s 11 | WeasisLauncher.update_min=The local installation of %s must be updated at least to %s. 12 | WebStartLoader.cancel=\u0412\u0456\u0434\u043c\u0456\u043d\u0438\u0442\u0438 13 | WebStartLoader.download=Downloading 14 | WebStartLoader.end=Completed %d of %d plug-ins. 15 | WebStartLoader.load=Loading... 16 | WebStartLoader.title=%s Plug-ins Loader 17 | -------------------------------------------------------------------------------- /weasis-core/src/main/java/org/weasis/core/api/gui/InsertableFactory.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2009-2020 Weasis Team and other contributors. 3 | * 4 | * This program and the accompanying materials are made available under the terms of the Eclipse 5 | * Public License 2.0 which is available at https://www.eclipse.org/legal/epl-2.0, or the Apache 6 | * License, Version 2.0 which is available at https://www.apache.org/licenses/LICENSE-2.0. 7 | * 8 | * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 9 | */ 10 | package org.weasis.core.api.gui; 11 | 12 | import java.util.Hashtable; 13 | import org.weasis.core.api.gui.Insertable.Type; 14 | 15 | public interface InsertableFactory { 16 | 17 | Insertable createInstance(Hashtable properties); 18 | 19 | void dispose(Insertable component); 20 | 21 | boolean isComponentCreatedByThisFactory(Insertable component); 22 | 23 | Type getType(); 24 | } 25 | -------------------------------------------------------------------------------- /weasis-core/src/main/java/org/weasis/core/ui/model/utils/Draggable.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2009-2020 Weasis Team and other contributors. 3 | * 4 | * This program and the accompanying materials are made available under the terms of the Eclipse 5 | * Public License 2.0 which is available at https://www.eclipse.org/legal/epl-2.0, or the Apache 6 | * License, Version 2.0 which is available at https://www.apache.org/licenses/LICENSE-2.0. 7 | * 8 | * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 9 | */ 10 | package org.weasis.core.ui.model.utils; 11 | 12 | import org.weasis.core.ui.util.MouseEventDouble; 13 | 14 | /** 15 | * The Interface DragSequence. 16 | * 17 | * @author Nicolas Roduit 18 | */ 19 | public interface Draggable { 20 | 21 | void startDrag(MouseEventDouble mouseevent); 22 | 23 | void drag(MouseEventDouble mouseevent); 24 | 25 | Boolean completeDrag(MouseEventDouble mouseevent); 26 | } 27 | -------------------------------------------------------------------------------- /weasis-core/src/main/java/org/weasis/core/ui/model/utils/UUIDable.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2009-2020 Weasis Team and other contributors. 3 | * 4 | * This program and the accompanying materials are made available under the terms of the Eclipse 5 | * Public License 2.0 which is available at https://www.eclipse.org/legal/epl-2.0, or the Apache 6 | * License, Version 2.0 which is available at https://www.apache.org/licenses/LICENSE-2.0. 7 | * 8 | * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 9 | */ 10 | package org.weasis.core.ui.model.utils; 11 | 12 | public interface UUIDable { 13 | 14 | /** 15 | * Return a Universally Unique IDentifier (UUID) 16 | * 17 | * @return UUID 18 | */ 19 | String getUuid(); 20 | 21 | /** 22 | * Set a Universally Unique IDentifier (UUID) 23 | * 24 | * @param uuid the Universally Unique IDentifier (UUID) 25 | */ 26 | void setUuid(String uuid); 27 | } 28 | -------------------------------------------------------------------------------- /weasis-distributions/src/main/resources-web/WEB-INF/web.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | Weasis 6 | 7 | 8 | UrlRewriteFilter 9 | org.tuckey.web.filters.urlrewrite.UrlRewriteFilter 10 | 11 | logLevel 12 | WARN 13 | 14 | 15 | 16 | 17 | UrlRewriteFilter 18 | /* 19 | REQUEST 20 | FORWARD 21 | 22 | 23 | -------------------------------------------------------------------------------- /weasis-acquire/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | weasis-parent 7 | org.weasis 8 | 9 | ${revision}${changelist} 10 | ../weasis-parent/pom.xml 11 | 12 | 4.0.0 13 | org.weasis.acquire 14 | weasis-acquire 15 | pom 16 | Acquire plugins [${project.artifactId}] 17 | 18 | weasis-acquire-explorer 19 | weasis-acquire-editor 20 | 21 | 22 | -------------------------------------------------------------------------------- /weasis-distributions/resources/svg/action/synchLarge.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /weasis-dicom/weasis-dicom-3d/viewer3d/src/main/resources/originalLut.json: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "name": "Original", 4 | "modality": "ALL", 5 | "default": "false", 6 | "shade": "false", 7 | "specularPower": "10", 8 | "group": [ 9 | { 10 | "name": "Binary", 11 | "point": [ 12 | { 13 | "intensity": "0", 14 | "opacity": "0", 15 | "red": "0", 16 | "green": "0", 17 | "blue": "0", 18 | "ambient": "0.1", 19 | "diffuse": "0.9", 20 | "specular": "0.2" 21 | }, { 22 | "intensity": "2", 23 | "opacity": "1", 24 | "red": "1", 25 | "green": "1", 26 | "blue": "1", 27 | "ambient": "0.1", 28 | "diffuse": "0.9", 29 | "specular": "0.2" 30 | } 31 | ] 32 | } 33 | ] 34 | } 35 | ] -------------------------------------------------------------------------------- /weasis-dicom/weasis-dicom-explorer/src/main/java/org/weasis/dicom/explorer/LocalPersistence.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2023 Weasis Team and other contributors. 3 | * 4 | * This program and the accompanying materials are made available under the terms of the Eclipse 5 | * Public License 2.0 which is available at https://www.eclipse.org/legal/epl-2.0, or the Apache 6 | * License, Version 2.0 which is available at https://www.apache.org/licenses/LICENSE-2.0. 7 | * 8 | * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 9 | */ 10 | package org.weasis.dicom.explorer; 11 | 12 | import org.weasis.core.api.gui.util.GuiUtils; 13 | import org.weasis.core.api.service.WProperties; 14 | 15 | public class LocalPersistence { 16 | 17 | private LocalPersistence() {} 18 | 19 | public static WProperties getProperties() { 20 | return GuiUtils.getUICore().getPluginPersistence(LocalPersistence.class.getPackageName()); 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /weasis-core/src/main/java/org/weasis/core/ui/model/graphic/GraphicSelectionListener.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2009-2020 Weasis Team and other contributors. 3 | * 4 | * This program and the accompanying materials are made available under the terms of the Eclipse 5 | * Public License 2.0 which is available at https://www.eclipse.org/legal/epl-2.0, or the Apache 6 | * License, Version 2.0 which is available at https://www.apache.org/licenses/LICENSE-2.0. 7 | * 8 | * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 9 | */ 10 | package org.weasis.core.ui.model.graphic; 11 | 12 | import java.util.List; 13 | import org.weasis.core.api.image.util.MeasurableLayer; 14 | import org.weasis.core.ui.model.utils.bean.MeasureItem; 15 | 16 | public interface GraphicSelectionListener { 17 | 18 | void handle(List selectedGraphics, MeasurableLayer layer); 19 | 20 | void updateMeasuredItems(List measureList); 21 | } 22 | -------------------------------------------------------------------------------- /tests/src/test/java/org/weasis/tests/IntegrationTest.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2023 Weasis Team and other contributors. 3 | * 4 | * This program and the accompanying materials are made available under the terms of the Eclipse 5 | * Public License 2.0 which is available at https://www.eclipse.org/legal/epl-2.0, or the Apache 6 | * License, Version 2.0 which is available at https://www.apache.org/licenses/LICENSE-2.0. 7 | * 8 | * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 9 | */ 10 | package org.weasis.tests; 11 | 12 | import static org.assertj.core.api.Assertions.assertThat; 13 | 14 | import java.time.LocalDate; 15 | import org.junit.jupiter.api.Test; 16 | import org.weasis.dicom.codec.TagD; 17 | 18 | public class IntegrationTest { 19 | 20 | @Test 21 | public void integrationTest1() { 22 | LocalDate date1 = TagD.getDicomDate("19930822"); 23 | assertThat(date1).isEqualTo(LocalDate.of(1993, 8, 22)); 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /weasis-core/src/main/java/org/weasis/core/ui/model/graphic/GraphicArea.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2009-2020 Weasis Team and other contributors. 3 | * 4 | * This program and the accompanying materials are made available under the terms of the Eclipse 5 | * Public License 2.0 which is available at https://www.eclipse.org/legal/epl-2.0, or the Apache 6 | * License, Version 2.0 which is available at https://www.apache.org/licenses/LICENSE-2.0. 7 | * 8 | * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 9 | */ 10 | package org.weasis.core.ui.model.graphic; 11 | 12 | import java.util.List; 13 | import org.weasis.core.api.image.util.MeasurableLayer; 14 | import org.weasis.core.ui.model.utils.ImageStatistics; 15 | import org.weasis.core.ui.model.utils.bean.MeasureItem; 16 | 17 | public interface GraphicArea extends Graphic, ImageStatistics { 18 | 19 | List getImageStatistics(MeasurableLayer layer, Boolean releaseEvent); 20 | } 21 | -------------------------------------------------------------------------------- /weasis-distributions/resources/svg/cursor/pan.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /weasis-core/src/main/java/org/weasis/core/ui/pref/JLocale.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2009-2020 Weasis Team and other contributors. 3 | * 4 | * This program and the accompanying materials are made available under the terms of the Eclipse 5 | * Public License 2.0 which is available at https://www.eclipse.org/legal/epl-2.0, or the Apache 6 | * License, Version 2.0 which is available at https://www.apache.org/licenses/LICENSE-2.0. 7 | * 8 | * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 9 | */ 10 | package org.weasis.core.ui.pref; 11 | 12 | import java.util.Locale; 13 | import java.util.Objects; 14 | 15 | public class JLocale { 16 | private final Locale locale; 17 | 18 | JLocale(Locale l) { 19 | this.locale = Objects.requireNonNull(l); 20 | } 21 | 22 | @Override 23 | public String toString() { 24 | return locale.getDisplayName(); 25 | } 26 | 27 | public Locale getLocale() { 28 | return locale; 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /weasis-distributions/resources/svg/cursor/mpr-move.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /weasis-core/src/main/java/org/weasis/core/api/media/data/SeriesComparator.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2009-2020 Weasis Team and other contributors. 3 | * 4 | * This program and the accompanying materials are made available under the terms of the Eclipse 5 | * Public License 2.0 which is available at https://www.eclipse.org/legal/epl-2.0, or the Apache 6 | * License, Version 2.0 which is available at https://www.apache.org/licenses/LICENSE-2.0. 7 | * 8 | * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 9 | */ 10 | package org.weasis.core.api.media.data; 11 | 12 | import java.util.Collections; 13 | import java.util.Comparator; 14 | 15 | public abstract class SeriesComparator implements Comparator { 16 | private Comparator inverse; 17 | 18 | public final Comparator getReversOrderComparator() { 19 | if (inverse == null) { 20 | inverse = Collections.reverseOrder(this); 21 | } 22 | return inverse; 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /weasis-core/src/main/java/org/weasis/core/api/auth/AuthMethod.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2021 Weasis Team and other contributors. 3 | * 4 | * This program and the accompanying materials are made available under the terms of the Eclipse 5 | * Public License 2.0 which is available at https://www.eclipse.org/legal/epl-2.0, or the Apache 6 | * License, Version 2.0 which is available at https://www.apache.org/licenses/LICENSE-2.0. 7 | * 8 | * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 9 | */ 10 | package org.weasis.core.api.auth; 11 | 12 | import com.github.scribejava.core.model.OAuth2AccessToken; 13 | 14 | public interface AuthMethod { 15 | 16 | String getCode(); 17 | 18 | String getUid(); 19 | 20 | void resetToken(); 21 | 22 | OAuth2AccessToken getToken(); 23 | 24 | AuthRegistration getAuthRegistration(); 25 | 26 | boolean isLocal(); 27 | 28 | void setLocal(boolean local); 29 | 30 | AuthProvider getAuthProvider(); 31 | } 32 | -------------------------------------------------------------------------------- /weasis-core/src/main/java/org/weasis/core/ui/docking/DockableTool.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2009-2020 Weasis Team and other contributors. 3 | * 4 | * This program and the accompanying materials are made available under the terms of the Eclipse 5 | * Public License 2.0 which is available at https://www.eclipse.org/legal/epl-2.0, or the Apache 6 | * License, Version 2.0 which is available at https://www.apache.org/licenses/LICENSE-2.0. 7 | * 8 | * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 9 | */ 10 | package org.weasis.core.ui.docking; 11 | 12 | import bibliothek.gui.dock.common.DefaultSingleCDockable; 13 | import java.awt.Component; 14 | import org.weasis.core.api.gui.Insertable; 15 | 16 | public interface DockableTool extends Insertable { 17 | 18 | DefaultSingleCDockable getDockable(); 19 | 20 | void showDockable(); 21 | 22 | void closeDockable(); 23 | 24 | Component getToolComponent(); 25 | 26 | int getDockableWidth(); 27 | } 28 | -------------------------------------------------------------------------------- /weasis-dicom/weasis-dicom-wave/src/main/java/org/weasis/dicom/wave/messages.properties: -------------------------------------------------------------------------------- 1 | annotations=Annotations 2 | ECGontainer.print=Print 3 | ECGontainer.print_layout=Print DICOM ECG 4 | 5 | Format.1_10_sec=1x10 Seconds 6 | Format.2_5_sec=2x5 Seconds 7 | Format.4_2_sec=4x2.5 Seconds 8 | Format.rhythm=4x2.5 Seconds with rhythm 9 | 10 | InfoPanel.cursor=Cursor 11 | InfoPanel.max=Maximum 12 | InfoPanel.min=Minimum 13 | 14 | main.bar=Main Bar 15 | markers=Markers 16 | MeasureAnnotationTool.lead=Lead 17 | MeasureAnnotationTool.tag=Tag 18 | MeasureAnnotationTool.value=Value 19 | 20 | text=Text 21 | ToolPanel.disp_format=Display format 22 | ToolPanel.zoom=Zoom 23 | 24 | WaveformToolBar.delete=Delete all the measurements 25 | 26 | WaveView.amplitude=Amplitude 27 | WaveView.diff=Difference 28 | WaveView.duration=Duration 29 | WaveView.start_time=Start Time 30 | WaveView.start_val=Start Value 31 | WaveView.stop_time=Stop Time 32 | WaveView.stop_val=Stop Value 33 | -------------------------------------------------------------------------------- /weasis-dicom/weasis-dicom-3d/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | weasis-dicom-parent 7 | org.weasis.dicom 8 | 9 | ${revision}${changelist} 10 | ../weasis-dicom-parent/pom.xml 11 | 12 | 4.0.0 13 | org.weasis.dicom.3d 14 | weasis-dicom-3d 15 | pom 16 | 3D Plug-ins [${project.artifactId}] 17 | 18 | 19 | jogamp 20 | jogamp-native 21 | viewer3d 22 | 23 | 24 | -------------------------------------------------------------------------------- /weasis-distributions/resources/svg/action/zoomRealWorld.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /weasis-core/src/main/java/org/weasis/core/api/auth/AcceptCallbackHandler.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2021 Weasis Team and other contributors. 3 | * 4 | * This program and the accompanying materials are made available under the terms of the Eclipse 5 | * Public License 2.0 which is available at https://www.eclipse.org/legal/epl-2.0, or the Apache 6 | * License, Version 2.0 which is available at https://www.apache.org/licenses/LICENSE-2.0. 7 | * 8 | * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 9 | */ 10 | package org.weasis.core.api.auth; 11 | 12 | import com.github.scribejava.core.oauth.OAuth20Service; 13 | import java.nio.channels.AsynchronousSocketChannel; 14 | import java.nio.channels.CompletionHandler; 15 | 16 | public interface AcceptCallbackHandler 17 | extends CompletionHandler { 18 | 19 | String getCode(); 20 | 21 | void setCode(String code); 22 | 23 | OAuth20Service getService(); 24 | } 25 | -------------------------------------------------------------------------------- /archetype/weasis-plugin-base-viewer/src/main/resources/META-INF/maven/archetype-metadata.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 9 | src/main/java 10 | 11 | **/*.java 12 | 13 | 14 | 15 | src/main/resources 16 | 17 | **/* 18 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /weasis-core/src/main/java/org/weasis/core/api/explorer/DataExplorerViewFactory.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2009-2020 Weasis Team and other contributors. 3 | * 4 | * This program and the accompanying materials are made available under the terms of the Eclipse 5 | * Public License 2.0 which is available at https://www.eclipse.org/legal/epl-2.0, or the Apache 6 | * License, Version 2.0 which is available at https://www.apache.org/licenses/LICENSE-2.0. 7 | * 8 | * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 9 | */ 10 | package org.weasis.core.api.explorer; 11 | 12 | import java.util.Hashtable; 13 | 14 | @FunctionalInterface 15 | public interface DataExplorerViewFactory { 16 | 17 | /** 18 | * Creates a new DataExplorerView object. It should be a unique instance. 19 | * 20 | * @param properties the properties. Can be null. 21 | * @return the explorer view 22 | */ 23 | DataExplorerView createDataExplorerView(Hashtable properties); 24 | } 25 | -------------------------------------------------------------------------------- /archetype/weasis-plugin-dicom-viewer/src/main/resources/META-INF/maven/archetype-metadata.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 9 | src/main/java 10 | 11 | **/*.java 12 | 13 | 14 | 15 | src/main/resources 16 | 17 | **/* 18 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /weasis-core/src/main/java/org/weasis/core/api/image/util/AbbreviationUnit.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2009-2020 Weasis Team and other contributors. 3 | * 4 | * This program and the accompanying materials are made available under the terms of the Eclipse 5 | * Public License 2.0 which is available at https://www.eclipse.org/legal/epl-2.0, or the Apache 6 | * License, Version 2.0 which is available at https://www.apache.org/licenses/LICENSE-2.0. 7 | * 8 | * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 9 | */ 10 | package org.weasis.core.api.image.util; 11 | 12 | /** 13 | * AbbreviationUnit is similar to the Class Unit, except that the method 14 | * toString() returns the abbreviation of the unit. 15 | * 16 | *

17 | * 18 | * @author Nicolas Roduit 19 | * @see Unit 20 | */ 21 | public record AbbreviationUnit(Unit unit) { 22 | 23 | @Override 24 | public String toString() { 25 | return unit.getAbbreviation(); 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /weasis-dicom/weasis-dicom-codec/src/main/java/org/weasis/dicom/codec/LazyContourLoader.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2025 Weasis Team and other contributors. 3 | * 4 | * This program and the accompanying materials are made available under the terms of the Eclipse 5 | * Public License 2.0 which is available at https://www.eclipse.org/legal/epl-2.0, or the Apache 6 | * License, Version 2.0 which is available at https://www.apache.org/licenses/LICENSE-2.0. 7 | * 8 | * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 9 | */ 10 | package org.weasis.dicom.codec; 11 | 12 | import java.util.Set; 13 | import org.weasis.core.ui.model.graphic.imp.seg.SegContour; 14 | 15 | /** Interface for different implementations of lazy contour loading strategies. */ 16 | public interface LazyContourLoader { 17 | 18 | /** 19 | * Retrieve or generate contours lazily. 20 | * 21 | * @return a set of {@link SegContour} representing the contours. 22 | */ 23 | Set getLazyContours(); 24 | } 25 | -------------------------------------------------------------------------------- /weasis-base/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | weasis-parent 7 | org.weasis 8 | 9 | ${revision}${changelist} 10 | ../weasis-parent/pom.xml 11 | 12 | 4.0.0 13 | org.weasis.base 14 | weasis-base 15 | pom 16 | Base plugins [${project.artifactId}] 17 | 18 | 19 | weasis-base-parent 20 | weasis-base-ui 21 | weasis-base-explorer 22 | weasis-base-viewer2d 23 | 24 | 25 | -------------------------------------------------------------------------------- /weasis-distributions/resources/svg/action/selection.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /weasis-core/src/main/java/org/weasis/core/internal/mime/InvalidMagicMimeEntryException.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2009-2020 Weasis Team and other contributors. 3 | * 4 | * This program and the accompanying materials are made available under the terms of the Eclipse 5 | * Public License 2.0 which is available at https://www.eclipse.org/legal/epl-2.0, or the Apache 6 | * License, Version 2.0 which is available at https://www.apache.org/licenses/LICENSE-2.0. 7 | * 8 | * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 9 | */ 10 | package org.weasis.core.internal.mime; 11 | 12 | import java.util.List; 13 | 14 | public class InvalidMagicMimeEntryException extends Exception { 15 | 16 | public InvalidMagicMimeEntryException(Throwable cause) { 17 | super("Invalid Magic Mime Entry: Unknown entry", cause); 18 | } 19 | 20 | public InvalidMagicMimeEntryException(List mimeMagicEntry, Throwable cause) { 21 | super("Invalid Magic Mime Entry: " + mimeMagicEntry.toString(), cause); 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /weasis-core/src/main/java/org/weasis/core/ui/model/layer/GraphicLayer.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2009-2020 Weasis Team and other contributors. 3 | * 4 | * This program and the accompanying materials are made available under the terms of the Eclipse 5 | * Public License 2.0 which is available at https://www.eclipse.org/legal/epl-2.0, or the Apache 6 | * License, Version 2.0 which is available at https://www.apache.org/licenses/LICENSE-2.0. 7 | * 8 | * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 9 | */ 10 | package org.weasis.core.ui.model.layer; 11 | 12 | import jakarta.xml.bind.annotation.adapters.XmlJavaTypeAdapter; 13 | 14 | @XmlJavaTypeAdapter(AbstractGraphicLayer.Adapter.class) 15 | public interface GraphicLayer extends Layer { 16 | 17 | Boolean getLocked(); 18 | 19 | void setLocked(Boolean locked); 20 | 21 | Boolean getSelectable(); 22 | 23 | void setSelectable(Boolean selectable); 24 | 25 | Boolean getSerializable(); 26 | 27 | void setSerializable(Boolean serializable); 28 | } 29 | -------------------------------------------------------------------------------- /weasis-core/src/main/java/org/weasis/core/ui/pref/JLocalePercentage.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2025 Weasis Team and other contributors. 3 | * 4 | * This program and the accompanying materials are made available under the terms of the Eclipse 5 | * Public License 2.0 which is available at https://www.eclipse.org/legal/epl-2.0, or the Apache 6 | * License, Version 2.0 which is available at https://www.apache.org/licenses/LICENSE-2.0. 7 | * 8 | * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 9 | */ 10 | package org.weasis.core.ui.pref; 11 | 12 | import java.util.Locale; 13 | 14 | public class JLocalePercentage extends JLocale { 15 | private final int percentage; 16 | 17 | public JLocalePercentage(Locale locale, int percentage) { 18 | super(locale); 19 | this.percentage = percentage; 20 | } 21 | 22 | public int getPercentage() { 23 | return percentage; 24 | } 25 | 26 | @Override 27 | public String toString() { 28 | return super.toString() + " (" + percentage + "%)"; 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /weasis-distributions/resources/svg/other/view3D.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /weasis-launcher/src/main/java/org/weasis/launcher/messages.properties: -------------------------------------------------------------------------------- 1 | AutoProcessor.start=Starting plug-ins... 2 | 3 | WeasisLauncher.change.version=%s version has changed from %s to %s. 4 | WeasisLauncher.continue_local=Try to continue with the current local version? 5 | WeasisLauncher.first=First Time Launch of %s 6 | WeasisLauncher.msg=The open-source distribution of %s is not a certified medical device (CE or FDA). Any primary diagnostic use requires you to ensure full compliance with the laws and regulations applicable in your jurisdiction. 7 | WeasisLauncher.News=News 8 | WeasisLauncher.no=No 9 | WeasisLauncher.ok=I accept 10 | WeasisLauncher.release=Release notes 11 | WeasisLauncher.starting=Starting... %s 12 | WeasisLauncher.update_min=The local installation of %s must be updated at least to %s. 13 | 14 | WebStartLoader.cancel=Cancel 15 | WebStartLoader.download=Downloading 16 | WebStartLoader.end=Completed %d of %d plug-ins. 17 | WebStartLoader.load=Loading... 18 | WebStartLoader.title=%s Plug-ins Loader 19 | 20 | -------------------------------------------------------------------------------- /weasis-core/src/main/java/org/weasis/core/ui/model/utils/exceptions/InvalidShapeException.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2009-2020 Weasis Team and other contributors. 3 | * 4 | * This program and the accompanying materials are made available under the terms of the Eclipse 5 | * Public License 2.0 which is available at https://www.eclipse.org/legal/epl-2.0, or the Apache 6 | * License, Version 2.0 which is available at https://www.apache.org/licenses/LICENSE-2.0. 7 | * 8 | * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 9 | */ 10 | package org.weasis.core.ui.model.utils.exceptions; 11 | 12 | public class InvalidShapeException extends Exception { 13 | 14 | public InvalidShapeException() { 15 | super(); 16 | } 17 | 18 | public InvalidShapeException(String message) { 19 | super(message); 20 | } 21 | 22 | public InvalidShapeException(Throwable cause) { 23 | super(cause); 24 | } 25 | 26 | public InvalidShapeException(String message, Throwable cause) { 27 | super(message, cause); 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /weasis-dicom/weasis-dicom-viewer2d/src/main/java/org/weasis/dicom/viewer2d/ResetTools.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2009-2020 Weasis Team and other contributors. 3 | * 4 | * This program and the accompanying materials are made available under the terms of the Eclipse 5 | * Public License 2.0 which is available at https://www.eclipse.org/legal/epl-2.0, or the Apache 6 | * License, Version 2.0 which is available at https://www.apache.org/licenses/LICENSE-2.0. 7 | * 8 | * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 9 | */ 10 | package org.weasis.dicom.viewer2d; 11 | 12 | public enum ResetTools { 13 | ALL(Messages.getString("ResetTools.all")), 14 | 15 | WL(Messages.getString("ResetTools.wl")), 16 | 17 | ZOOM(Messages.getString("ViewerPrefView.zoom")), 18 | 19 | PAN(Messages.getString("ResetTools.pan")); 20 | 21 | private final String name; 22 | 23 | ResetTools(String name) { 24 | this.name = name; 25 | } 26 | 27 | @Override 28 | public String toString() { 29 | return name; 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /weasis-core/src/main/java/org/weasis/core/api/gui/task/TaskInterruptionException.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2009-2020 Weasis Team and other contributors. 3 | * 4 | * This program and the accompanying materials are made available under the terms of the Eclipse 5 | * Public License 2.0 which is available at https://www.eclipse.org/legal/epl-2.0, or the Apache 6 | * License, Version 2.0 which is available at https://www.apache.org/licenses/LICENSE-2.0. 7 | * 8 | * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 9 | */ 10 | package org.weasis.core.api.gui.task; 11 | 12 | public class TaskInterruptionException extends RuntimeException { 13 | 14 | public TaskInterruptionException() { 15 | super(); 16 | } 17 | 18 | public TaskInterruptionException(String message, Throwable cause) { 19 | super(message, cause); 20 | } 21 | 22 | public TaskInterruptionException(String message) { 23 | super(message); 24 | } 25 | 26 | public TaskInterruptionException(Throwable cause) { 27 | super(cause); 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /annotations/idea/jakarta/xml/bind/annotation/annotations.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /annotations/idea/javax/xml/bind/annotation/annotations.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /weasis-dicom/weasis-dicom-3d/viewer3d/src/main/java/org/weasis/dicom/viewer3d/pr/MprVolumetricPrDisplayModule.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2022 Weasis Team and other contributors. 3 | * 4 | * This program and the accompanying materials are made available under the terms of the Eclipse 5 | * Public License 2.0 which is available at https://www.eclipse.org/legal/epl-2.0, or the Apache 6 | * License, Version 2.0 which is available at https://www.apache.org/licenses/LICENSE-2.0. 7 | * 8 | * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 9 | */ 10 | package org.weasis.dicom.viewer3d.pr; 11 | 12 | import org.dcm4che3.data.Attributes; 13 | import org.weasis.dicom.macro.Module; 14 | 15 | /** 16 | * MPR 17 | * Volumetric Presentation State Display Module 18 | */ 19 | public class MprVolumetricPrDisplayModule extends Module { 20 | 21 | public MprVolumetricPrDisplayModule(Attributes dcmItems) { 22 | super(dcmItems); 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /weasis-distributions/resources/svg/action/crosshair.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /weasis-distributions/resources/svg/action/drawParallel.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /weasis-core/src/main/java/org/weasis/core/ui/editor/image/DisplayByteLut.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2009-2020 Weasis Team and other contributors. 3 | * 4 | * This program and the accompanying materials are made available under the terms of the Eclipse 5 | * Public License 2.0 which is available at https://www.eclipse.org/legal/epl-2.0, or the Apache 6 | * License, Version 2.0 which is available at https://www.apache.org/licenses/LICENSE-2.0. 7 | * 8 | * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 9 | */ 10 | package org.weasis.core.ui.editor.image; 11 | 12 | import org.weasis.opencv.op.lut.ByteLut; 13 | 14 | public class DisplayByteLut { 15 | private boolean invert; 16 | private final ByteLut byteLut; 17 | 18 | public DisplayByteLut(ByteLut lut) { 19 | this.byteLut = lut; 20 | } 21 | 22 | public ByteLut getByteLut() { 23 | return byteLut; 24 | } 25 | 26 | public boolean isInvert() { 27 | return invert; 28 | } 29 | 30 | public void setInvert(boolean invert) { 31 | this.invert = invert; 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /weasis-core/src/main/java/org/weasis/core/ui/model/utils/imp/DefaultGraphicLabel.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2009-2020 Weasis Team and other contributors. 3 | * 4 | * This program and the accompanying materials are made available under the terms of the Eclipse 5 | * Public License 2.0 which is available at https://www.eclipse.org/legal/epl-2.0, or the Apache 6 | * License, Version 2.0 which is available at https://www.apache.org/licenses/LICENSE-2.0. 7 | * 8 | * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 9 | */ 10 | package org.weasis.core.ui.model.utils.imp; 11 | 12 | import org.weasis.core.ui.model.graphic.AbstractGraphicLabel; 13 | import org.weasis.core.ui.model.graphic.GraphicLabel; 14 | 15 | public class DefaultGraphicLabel extends AbstractGraphicLabel { 16 | public DefaultGraphicLabel() { 17 | super(); 18 | } 19 | 20 | public DefaultGraphicLabel(DefaultGraphicLabel object) { 21 | super(object); 22 | } 23 | 24 | @Override 25 | public GraphicLabel copy() { 26 | return new DefaultGraphicLabel(this); 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /weasis-dicom/weasis-dicom-codec/src/main/java/org/weasis/dicom/codec/geometry/VectorUtils.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2022 Weasis Team and other contributors. 3 | * 4 | * This program and the accompanying materials are made available under the terms of the Eclipse 5 | * Public License 2.0 which is available at https://www.eclipse.org/legal/epl-2.0, or the Apache 6 | * License, Version 2.0 which is available at https://www.apache.org/licenses/LICENSE-2.0. 7 | * 8 | * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 9 | */ 10 | package org.weasis.dicom.codec.geometry; 11 | 12 | import org.joml.Vector3d; 13 | 14 | public class VectorUtils { 15 | 16 | public static Vector3d computeNormalOfSurface(Vector3d v1, Vector3d v2) { 17 | return v1.cross(v2, new Vector3d()).normalize(); 18 | } 19 | 20 | public static Vector3d computeNormalOfSurface(Vector3d origin, Vector3d v1, Vector3d v2) { 21 | Vector3d u = v1.sub(origin, new Vector3d()); 22 | Vector3d w = v2.sub(origin, new Vector3d()); 23 | return u.cross(w).normalize(); 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /weasis-distributions/resources/svg/action/mouseWheel.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /weasis-core/src/main/java/org/weasis/core/ui/model/utils/bean/GraphicClipboard.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2009-2020 Weasis Team and other contributors. 3 | * 4 | * This program and the accompanying materials are made available under the terms of the Eclipse 5 | * Public License 2.0 which is available at https://www.eclipse.org/legal/epl-2.0, or the Apache 6 | * License, Version 2.0 which is available at https://www.apache.org/licenses/LICENSE-2.0. 7 | * 8 | * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 9 | */ 10 | package org.weasis.core.ui.model.utils.bean; 11 | 12 | import java.util.List; 13 | import org.weasis.core.ui.model.graphic.Graphic; 14 | 15 | public class GraphicClipboard { 16 | private List graphics; 17 | 18 | public synchronized List getGraphics() { 19 | return graphics; 20 | } 21 | 22 | public synchronized void setGraphics(List graphics) { 23 | this.graphics = graphics; 24 | } 25 | 26 | public boolean hasGraphics() { 27 | return graphics != null && !graphics.isEmpty(); 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /weasis-core/src/main/java/org/weasis/core/api/gui/PreferencesPageFactory.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2009-2020 Weasis Team and other contributors. 3 | * 4 | * This program and the accompanying materials are made available under the terms of the Eclipse 5 | * Public License 2.0 which is available at https://www.eclipse.org/legal/epl-2.0, or the Apache 6 | * License, Version 2.0 which is available at https://www.apache.org/licenses/LICENSE-2.0. 7 | * 8 | * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 9 | */ 10 | package org.weasis.core.api.gui; 11 | 12 | import java.util.Hashtable; 13 | import org.weasis.core.api.gui.Insertable.Type; 14 | import org.weasis.core.api.gui.util.AbstractItemDialogPage; 15 | 16 | public interface PreferencesPageFactory extends InsertableFactory { 17 | 18 | @Override 19 | AbstractItemDialogPage createInstance(Hashtable properties); 20 | 21 | @Override 22 | default void dispose(Insertable component) {} 23 | 24 | @Override 25 | default Type getType() { 26 | return Insertable.Type.PREFERENCES; 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /weasis-distributions/resources/svg/action/drawPolyline.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /weasis-core/src/main/java/org/weasis/core/ui/model/layer/GraphicModelChangeListener.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2009-2020 Weasis Team and other contributors. 3 | * 4 | * This program and the accompanying materials are made available under the terms of the Eclipse 5 | * Public License 2.0 which is available at https://www.eclipse.org/legal/epl-2.0, or the Apache 6 | * License, Version 2.0 which is available at https://www.apache.org/licenses/LICENSE-2.0. 7 | * 8 | * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 9 | */ 10 | package org.weasis.core.ui.model.layer; 11 | 12 | import org.weasis.core.ui.model.GraphicModel; 13 | 14 | /** The listener interface for receiving layerModelChange events. */ 15 | public interface GraphicModelChangeListener { 16 | 17 | default void handleModelChanged(GraphicModel modelList) {} 18 | 19 | default void handleLayerAdded(GraphicModel modelList, Layer layer) {} 20 | 21 | default void handleLayerRemoved(GraphicModel modelList, Layer layer) {} 22 | 23 | default void handleLayerChanged(GraphicModel modelList, Layer layer) {} 24 | } 25 | --------------------------------------------------------------------------------