Skip to content

Commit c984d9d

Browse files
committed
DOC: Tweak formatting of README and DeveloperGuide
* Use "atx" style of section headers * Remove empty "Usage" section * Use "wrench" emoji when referencing the corresponding icon in the Slicer toolbar
1 parent 4c38779 commit c984d9d

File tree

2 files changed

+23
-32
lines changed

2 files changed

+23
-32
lines changed

DeveloperGuide.md

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
1-
Information for developers
2-
==========================
1+
# Information for developers
32

43
This Slicer extension is in active development. The API may change from version to version without notice.
54

6-
Build instructions
7-
------------------
5+
## Build instructions
86

97
- Build the extension against the newly built Slicer with Qt5 and VTK9 enabled.
108
- To start Slicer from a build tree and ensure the extension is properly loaded, considering using the ``--launcher-additional-settings`` option:
@@ -21,8 +19,7 @@ Alternatively, to avoid the need to specify additional command-line parameters,
2119

2220
Note that specifying the top-level build directory of the extension ensures that Slicer find all types of modules.
2321

24-
Useful Python Snippets
25-
----------------------
22+
## Useful Python Snippets
2623

2724
Activate virtual reality view:
2825

README.md

Lines changed: 20 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
SlicerVirtualReality
2-
====================
1+
# SlicerVirtualReality
32

43
Extension for 3D slicer that enables user to interact with the 3D scene using virtual reality.
54

@@ -9,6 +8,8 @@ The extension works with all OpenVR-compatible headsets, such as [HTC Vive](#set
98

109
[![Demo: Pedicle screw insertion in virtual reality using Slicer](https://img.youtube.com/vi/F_UBoE4FaoY/0.jpg)](https://www.youtube.com/watch?v=F_UBoE4FaoY)
1110

11+
## Features
12+
1213
Features include:
1314
- View all content of any of the 3D viewers in Slicer, anytime, by a single click.
1415
- Show volumes as 2D image slices or volume rendering, render surfaces, points, etc.
@@ -22,9 +23,6 @@ Features include:
2223

2324
Feature set of the extension is continuously improved. You can give us feedback and propose ideas for improvements by submitting them on the [issue tracker](https://github.com/KitwareMedical/SlicerVirtualReality/issues).
2425

25-
Usage
26-
-----
27-
2826
## Setup
2927

3028
**Platform support:** Currently the extension only works on Windows computers. Linux support is experimental: [Steam VR has limited support on linux](https://github.com/ValveSoftware/SteamVR-for-Linux/blob/master/README.md) and the Slicer extension is built for Linux but not tested. The extension is not available on macOS, as currently there are no virtual reality headsets available for macOS. If you wish to use Virtual Reality extension on Linux or macOS and you have virtual reality capable hardware and Steam VR works well on your computer then add a comment in the issue tracker ([macOS](https://github.com/KitwareMedical/SlicerVirtualReality/issues/3) / [Linux](https://github.com/KitwareMedical/SlicerVirtualReality/issues/57)).
@@ -72,10 +70,10 @@ Controls:
7270
- Touchpad forward: fly forward
7371
- Touchpad backwad: fly backward
7472

75-
Notes:
76-
- Flying direction is specified by the orientation of the controller.
77-
- Speed is proportional to distance of the fingertip from the touchpad center.
78-
- Maximum speed is configurable in Virtual Reality module.
73+
> [!NOTE]
74+
> - Flying direction is specified by the orientation of the controller.
75+
> - Speed is proportional to distance of the fingertip from the touchpad center.
76+
> - Maximum speed is configurable in Virtual Reality module.
7977
8078
### Transform entire scene
8179

@@ -86,9 +84,9 @@ Controls: while keeping grip button depressed on both controllers
8684
- Translate controllers in parallel up/down/left/right/forward/backward: translate the entire scene
8785
- Pivot controllers around: rotate the entire scene
8886

89-
Notes:
90-
- Object positions in the scene are not modified.
91-
- Controllers must be outside of all selectable objects when grip buttons are pressed.
87+
> [!NOTE]
88+
> - Object positions in the scene are not modified.
89+
> - Controllers must be outside of all selectable objects when grip buttons are pressed.
9290
9391
### Transform objects
9492

@@ -99,12 +97,12 @@ Controls: press grip button when a controller is inside a selectable object
9997
- Translate controllers in parallel up/down/left/right/forward/backward: translate all objects
10098
- Move controller
10199

102-
Notes:
103-
- When you grab and move object, a parent transform is automatically created for it (if it has not been under a transform already) and that transform is modified.
104-
- To move a group of objects together, assign the same parent transform to them. You can do that in _Data_ module's _Transform hierarchy_ tab by drag-and-dropping objects under the same transform (or by double-clicking in the _Applied Transform_ column in _Data_ module's _Transform hierarchy_ tab and selecting a transform; or by selecting a transform in _Transforms_ module and applying it to all the nodes that must move together).
105-
- Either left or right controller can be used to grab an object. Each controller can be used to grab an object and move independently.
106-
- By default all objects are selectable. An object can be made non-selectable (thus non-movable) in Data module / Subject hierarchy tab, right-clicking on the node and unchecking "Toggle Selectable".
107-
- Moving of segmentation nodes is slow. If you want to move segmentations using controllers then export them to model nodes (in _Data_ module, right-click on the segmentation node and choose _Export visible segments to models_) and transform the model nodes.
100+
> [!NOTE]
101+
> - When you grab and move object, a parent transform is automatically created for it (if it has not been under a transform already) and that transform is modified.
102+
> - To move a group of objects together, assign the same parent transform to them. You can do that in _Data_ module's _Transform hierarchy_ tab by drag-and-dropping objects under the same transform (or by double-clicking in the _Applied Transform_ column in _Data_ module's _Transform hierarchy_ tab and selecting a transform; or by selecting a transform in _Transforms_ module and applying it to all the nodes that must move together).
103+
> - Either left or right controller can be used to grab an object. Each controller can be used to grab an object and move independently.
104+
> - By default all objects are selectable. An object can be made non-selectable (thus non-movable) in Data module / Subject hierarchy tab, right-clicking on the node and unchecking "Toggle Selectable".
105+
> - Moving of segmentation nodes is slow. If you want to move segmentations using controllers then export them to model nodes (in _Data_ module, right-click on the segmentation node and choose _Export visible segments to models_) and transform the model nodes.
108106
109107
## Other features
110108

@@ -167,26 +165,22 @@ If you are certain that you have found a software bug and no similar issue has b
167165

168166
Please do not use "VR" acronym (you can spell out "virtual reality" instead), because "VR" may mean "volume rendering" just as well as "virtual reality" - you can even do volume rendering in virtual reality in Slicer - and so it becomes confusing very quickly.
169167

170-
For developers
171-
--------------
168+
## For developers
172169

173170
Information for developers is available in the [Developer Guide](DeveloperGuide.md).
174171

175-
Contributors
176-
------------
172+
## Contributors
177173

178174
Contributors include:
179175
- Kitware: Jean-Christophe Fillion-Robin, Jean-Baptiste Vimort
180176
- PerkLab (Queen's University): Csaba Pinter, Andras Lasso
181177
- VASST Lab (Robarts Research Insitute): Adam Rankin
182178

183-
How to cite
184-
-----------
179+
## How to cite
185180

186181
Pinter, C., Lasso, A., Choueib, S., Asselin, M., Fillion-Robin, J. C., Vimort, J. B., Martin, K., Jolley, M. A. & Fichtinger, G. (2020). SlicerVR for Medical Intervention Training and Planning in Immersive Virtual Reality. IEEE Transactions on Medical Robotics and Bionics, vol. 2, no. 2, pp. 108-117, May 2020, doi: 10.1109/TMRB.2020.2983199
187182

188-
License
189-
-------
183+
## License
190184

191185
It is covered by the Apache License, Version 2.0:
192186

0 commit comments

Comments
 (0)