diff --git a/mevislab.github.io/content/tutorials/basicmechanisms/coordinatesystems/coordinatesystems.md b/mevislab.github.io/content/tutorials/basicmechanisms/coordinatesystems/coordinatesystems.md index 1c6a88ee5..5bfcff143 100644 --- a/mevislab.github.io/content/tutorials/basicmechanisms/coordinatesystems/coordinatesystems.md +++ b/mevislab.github.io/content/tutorials/basicmechanisms/coordinatesystems/coordinatesystems.md @@ -89,6 +89,10 @@ The voxel size is now 1. You can add this network to the world coordinate system network developed above and see both coordinate systems. +{{}} +Replace the `SoGroup` module from the World Group in your network by a `SoSeparator`. Additional details about the difference can be found [here](https://mevislab.github.io/examples/tutorials/openinventor). +{{}} + ![World coordinates of the loaded image](/images/tutorials/basicmechanics/WorldVoxelNetwork.png "World coordinates of the loaded image") Opening the `SoExaminerViewer` shows the world coordinate system in white and the voxel coordinate system in yellow. diff --git a/mevislab.github.io/content/tutorials/basicmechanisms/macromodules/itemmodelview.md b/mevislab.github.io/content/tutorials/basicmechanisms/macromodules/itemmodelview.md index 45aabad55..8db3421fc 100644 --- a/mevislab.github.io/content/tutorials/basicmechanisms/macromodules/itemmodelview.md +++ b/mevislab.github.io/content/tutorials/basicmechanisms/macromodules/itemmodelview.md @@ -1,5 +1,5 @@ --- -title: "Example 7: Creating you own ItemModel by using the ItemModelView" +title: "Example 7: Creating your own ItemModel by using the ItemModelView" date: 2025-06-03 status: "OK" draft: false @@ -169,6 +169,11 @@ from mevis import MLAB gAttributes = ["patientName", "patientBirthdate", "studyDescription", "studyDate", "modality", "seriesDescription", "seriesDate", "sopInstanceUID"] gModel = None gNextId = 0 + +def getNextId(): + global gNextId + gNextId += 1 + return gNextId ``` {{}}