Skip to content

Commit c31b816

Browse files
committed
MLAB-6146: checked and fixed grammar (#128)
* MLAB-6146: checked and fixed grammar * MLAB-6146: fixes after review
1 parent 082691f commit c31b816

15 files changed

Lines changed: 23 additions & 23 deletions

File tree

mevislab.github.io/content/examples/basic_mechanisms/macro_modules_and_module_interaction/example2/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ This example shows how to create module interactions via Python scripting.
1010
## Summary
1111
A new macro module `IsoCSOs` is created providing two viewers in its internal network, `View2D` and `SoExaminerViewer`. Both viewers are included in the panel of the module.
1212

13-
To showcase how Python functions can be implemented in MeVisLab and called from within a module, additional buttons to browse directories, and create contours via the `CSOIsoGenerator` are added. Lastly, a field listener is implemented reacting to field changes by colorizing contours when the user hovers over them with the mouse.
13+
To showcase how Python functions can be implemented in MeVisLab and called from within a module, additional buttons to browse directories and create contours via the `CSOIsoGenerator` are added. Lastly, a field listener is implemented reacting to field changes by colorizing contours when the user hovers over them with the mouse.
1414

1515
![Screenshot](/examples/basic_mechanisms/macro_modules_and_module_interaction/example2/image2.png)
1616

mevislab.github.io/content/examples/data_objects/surface_objects/example2/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ title: "Processing and modification of WEMs"
44
category: "data_objects"
55
---
66

7-
# Surface Example 2: Processing and Modifying of WEMs
7+
# Surface Example 2: Processing and Modification of WEMs
88
This example shows how to process and modify WEMs using the modules `WEMModify`, `WEMSmooth`, and `WEMSurfaceDistance`.
99
![Screenshot](/examples/data_objects/surface_objects/example2/DO7_03.png)
1010

mevislab.github.io/content/introduction/introduction.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ An exemplary use case for a parameter connection is synchronization. Have a look
192192
The creation of macros is explained in more detail in [Tutorial Chapter I - Example 2.2](/tutorials/basicmechanisms/macromodules/globalmacromodules)
193193
{{</alert>}}
194194

195-
### Adding Modules to Your Workspace {#Searching_and_Adding_Modules}
195+
### Adding Modules to your Workspace {#Searching_and_Adding_Modules}
196196

197197
There are several ways to add a module to your current network:
198198
- via the menu bar entry {{< menuitem "Modules" >}}

mevislab.github.io/content/tutorials/basicmechanisms/coordinatesystems/coordinatesystems.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ The `ConstantImage` module generates an artificial image with a certain size, da
4242

4343
![ConstantImage Info](/images/tutorials/basicmechanics/ConstantImageInfo.png "ConstantImage Info")
4444

45-
Placing an object into the Open Inventor scene of the `SoExaminerViewer`, in this case a `SoCube` with *width*, *height*, and *depth* of 10, places the object to the origin of the world coordinate system.
45+
Placing an object into the Open Inventor Scene of the `SoExaminerViewer`, in this case a `SoCube` with *width*, *height*, and *depth* of 10, places the object to the origin of the world coordinate system.
4646

4747
![SoCube in world coordinate system](/images/tutorials/basicmechanics/SoCubeWorldCoordinates.png "SoCube in world coordinate system")
4848

mevislab.github.io/content/tutorials/basicmechanisms/coordinatesystems/coordinatesystems2.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ World coordinates also refer to the patient axes. They are:
2424

2525
![World Coordinates in Context of the Human Body](/images/tutorials/visualization/V2_00.png "World Coordinates in Context of the Human Body")
2626

27-
The Digital Imaging and Communications in Medicine (DICOM) standard defines a data format that groups information into data sets. This way, the image data is always kept together with all meta information like patient ID, study time, series time, acquisition data, etc. The image slice is represented by another tag with pixel information.
27+
The DICOM (Digital Imaging and Communications in Medicine) standard defines a data format that groups information into data sets. This way, the image data is always kept together with all meta information like patient ID, study time, series time, acquisition data, etc. The image slice is represented by another tag with pixel information.
2828

2929
DICOM tags have unique numbers, encoded as two 16-bit numbers, usually shown in hexadecimal notation as two four-digit numbers (xxxx,xxxx). These numbers are the data group number and the data element number.
3030

mevislab.github.io/content/tutorials/basicmechanisms/macromodules/guidesign.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ To add and edit a panel, open the context menu and select {{< menuitem "Related
4242

4343
### Module Interface
4444
By default, the *.script* file contains the {{< docuLinks "/Resources/Documentation/Publish/SDK/MDLReference/index.html#mdl_Interface" "interface" >}} of the module.
45-
In the interface section (everything inside the curled brackets behind the name *Interface*) you can define the module inputs, the module outputs, and also all module fields (or *Parameters*).
45+
In the interface section (everything insight the curled brackets behind the name *Interface*) you can define the module inputs, the module outputs, and also all module fields (or *Parameters*).
4646

4747
[//]: <> (MVL-653)
4848
{{< highlight filename="Filter.script" >}}
@@ -288,7 +288,7 @@ Commands {
288288
{{</highlight>}}
289289

290290
{{<alert class="info" caption="Infos">}}
291-
The section *Source* should already be available and generated automatically in the case you enable the Wizard to add a Python file to your module.
291+
The section *Source* should already be available and generated automatically in case you enable the Wizard to add a Python file to your module.
292292
{{</alert>}}
293293

294294
[//]: <> (MVL-653)

mevislab.github.io/content/tutorials/basicmechanisms/macromodules/helpfiles.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ Depending on the way the macro module was created, more or less features are aut
6969
{{</alert>}}
7070

7171
### Creation of an Example Network
72-
To add an example network to your module, you need to add a reference to the respective *.mlab* file to the module definition file (.def). Open the file *Filter.def*. You can find the line *exampleNetwork = "$(LOCAL)/networks/FilterExample.mlab"*, which defines the reference to the *.mlab* file containing the example network. By default, the name of the example network is *ModulenameExample.mlab*. An *.mlab* file containing only the module *Filter* is created inside the folder *networks*.
72+
To add an example network to your module, you need to add a reference to the respective *.mlab* file to the module definition file (*.def*). Open the file *Filter.def*. You can find the line *exampleNetwork = "$(LOCAL)/networks/FilterExample.mlab"*, which defines the reference to the *.mlab* file containing the example network. By default, the name of the example network is *ModulenameExample.mlab*. An *.mlab* file containing only the module *Filter* is created inside the folder *networks*.
7373

7474
It is possible that the reference to the example network or the file *FilterExample.mlab* is missing. One reason could be that its creation was not selected when creating the macro module. In this case, add the reference and the file manually.
7575

@@ -81,8 +81,8 @@ To create the example network, open the file *FilterExample.mlab* in MeVisLab an
8181

8282

8383
## Summary
84-
* {{< docuLinks "/Resources/Documentation/Publish/SDK/MeVisLabManual/ch26.html" "MeVisLab MATE">}} is a built-in text editor that can be used to create module help files and module panels, or to create module interactions via Python scripting.
85-
* You can create help files via the module context menu using MeVisLab's MATE.
86-
* You can add an example network to your macro module via the *.def* file.
84+
* {{< docuLinks "/Resources/Documentation/Publish/SDK/MeVisLabManual/ch26.html" "MeVisLab MATE">}} is a built-in text editor which can be used to create module help files, module panels or to create module interactionss via Python scripting.
85+
* You can create help files via the module context menu using MeVisLab Mate.
86+
* You can add an example network to your macro module via the .def file.
8787

8888
[//]: <> (MVL-653)

mevislab.github.io/content/tutorials/basicmechanisms/macromodules/pythonscripting.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,10 +83,10 @@ The module `RunPythonScript` allows to execute Python scripts from within a MeVi
8383

8484
#### Module Interactions via Python Scripting
8585

86-
You can reference to a Python function inside a *.script* file of a macro module. With this, you can, for example, execute a Python function whenever you open a panel, or define the action that is executed when pressing a button or specify the command triggered by a [field listener](tutorials/basicmechanisms/macromodules/scriptingexample2). An example for module interactions via Python scripting is given in the same example.
86+
You can reference to a Python function inside a *.script* file of a macro module. With this, you can, for example, execute a Python function, whenever you open a panel, define the action that is executed when pressing a button or specify the command triggered by a [field listener](tutorials/basicmechanisms/macromodules/scriptingexample2). An example for module interactions via Python scripting is given in the same example.
8787

8888
#### Python Scripting in Network Files (*.mlab*)
89-
If you do not want to create a macro module, you can also execute Python scripts in a network file (*.mlab*). Save your network using a defined name, for example, *mytest.mlab*. Then create a *.script* and a *.py* file in the same directory, using the same names (*mytest.script* and *mytest.py*).
89+
If you do not want to create a macro module, you can also execute Python scripts in a network file (*.mlab*). Save your network using a defined name, for example, *mytest.mlab*. Then, create a *.script* and a *.py* file in the same directory, using the same names (*mytest.script* and *mytest.py*).
9090

9191
Open the *.script* file and add a *Commands* section defining the name of the Python file.
9292

mevislab.github.io/content/tutorials/basicmechanisms/macromodules/scriptingexample2.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ Now, create your macro module and reload MeVisLab. You can find your module via
4242

4343
![Enable Python scripting](/images/tutorials/basicmechanics/EnablePythonScripting.png "Enable Python scripting")
4444

45-
To design a panel and create a user interface for the macro module, open the *.script* file. You can see that a *Commands* environment exist, which defines the Python file as source for all commands.
45+
To design a panel and create a user interface for the macro module, open the *.script* file. You can see that a *Commands* section exists, which defines the Python file as source for all commands.
4646

4747
![Open the script file](/images/tutorials/basicmechanics/OpenScriptFile.png "Open the script file")
4848

@@ -139,7 +139,7 @@ Window {
139139

140140
![Add name field](/images/tutorials/basicmechanics/AddNameField.png "Add name field")
141141

142-
### Add Buttons to Your Panel
142+
### Add Buttons to your Panel
143143

144144
As a next step, we like to add a *Browse\...* button, like in the module
145145
`LocalImage`, and also a button to create the CSOs.
@@ -237,7 +237,7 @@ can do this in the following way:
237237

238238
![Scripting Assistant](/images/tutorials/basicmechanics/GUI_Exp_15.png "Scripting Assistant")
239239

240-
2. Enable a functionality that allows us to notice the ID of the CSO we are currently hovering over with our mouse. For this, open the internal network of our macro module. We will use the module `SoView2DCSOExtensibleEditor`. Open its panel and select the tab *Advanced*. You can check a box to enable *Update CSO id under mouse*. If you now hover over a CSO, you can see its ID in the panel. We can save the internal network to save this functionality, but we can also solve our problem via scripting. The Scripting Assistant translated our action into code that we can use.
240+
2. Enable a functionality that allows us to notice the id of the CSO we are currently hovering over with our mouse. For this, open the internal network of our macro module. We will use the module `SoView2DCSOExtensibleEditor`. Open its panel and select the tab *Advanced*. You can check a box to enable *Update CSO id under mouse*. If you now hover over a CSO, you can see its ID in the panel. We can save the internal network to save this functionality, but we can also solve our problem via scripting. The Scripting Assistant translated our action into code that we can use.
241241

242242
![Enabling CSO id identification](/images/tutorials/basicmechanics/GUI_Exp_16.png "Enabling CSO id identification")
243243

mevislab.github.io/content/tutorials/basicmechanisms/macromodules/soviewportregion.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ Add an `ImageLoad` module to your workspace and select a 3D image like *./MeVisL
2929

3030
![Image Display Setup](/images/tutorials/basicmechanics/E6_1.png "Image Display Setup")
3131

32-
Opening the three `View2D` module panels now shows the image data in three orthogonal views. The module `OrthoReformat3` transforms the input image (by rotating and/or flipping) into the three main views commonly used.
32+
Opening the three `View2D` module panels now shows the data in three orthogonal views. The module `OrthoReformat3` transforms the input image (by rotating and/or flipping) into the three main views commonly used.
3333

3434
![3 Views in 3 Viewers](/images/tutorials/basicmechanics/E6_2.png "3 Views in 3 Viewers")
3535

0 commit comments

Comments
 (0)