Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -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.

{{<alert class="warning" caption="Warning">}}
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).
{{</alert>}}

![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.
Expand Down
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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
```
{{</highlight>}}

Expand Down
Loading