Skip to content

Commit e83dc3d

Browse files
committed
rename tutorial examples
1 parent 1ec4007 commit e83dc3d

File tree

8 files changed

+8
-8
lines changed

8 files changed

+8
-8
lines changed

docs/README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ In `dash_vtk` we have several objects that falls into that category. The list be
109109

110110
Now that we have those core concepts down we can show you some code on how to render a mesh using `dash-vtk`.
111111

112-
[code](./tutorials/00_geometry_rendering.py)
112+
[code](./tutorials/t00_geometry_rendering.py)
113113
```py
114114
# Use helper to get a mesh structure that can be passed as-is to a Mesh
115115
mesh_state = to_mesh_state(dataset)
@@ -138,7 +138,7 @@ if __name__ == "__main__":
138138

139139
The previous example was using a 3D image and extracting its mesh to render. Let's keep the same data but show it as Volume Rendering.
140140

141-
[code](./tutorials/01_volume_rendering.py)
141+
[code](./tutorials/t01_volume_rendering.py)
142142
```py
143143
import dash
144144
import dash_html_components as html
@@ -198,7 +198,7 @@ The set of properties that can be given to `ImageData` are as follow:
198198

199199
A concreate example would be a grid of 5 points or 4 cells along each axis which will go from `[-2, 2]` along each axis.
200200

201-
[code](./tutorials/02_imagedata.py)
201+
[code](./tutorials/t02_imagedata.py)
202202
```py
203203
dash_vtk.ImageData(
204204
dimension=[5,5,5],
@@ -234,7 +234,7 @@ lines = [
234234

235235
You can see a concreate example in the image below
236236

237-
[code](./tutorials/03_polydata.py)
237+
[code](./tutorials/t03_polydata.py)
238238
![PolyData](./images/polydata.jpg)
239239

240240
The `dash_vtk.PolyData` element has an additional property to automatically generate cells based on some assumption of the order of the points defined in the `points` array. That property is named __connectivity__ which default to `manual` meaning no automatic action is taken. But that property can be set to `points` to automatically set the vertex to actually see the points provided or `triangles` which assume to use 3 concecutive points to create a triangle and finally `strips` which then assume it is a single triangle strip consuming all the points.
@@ -253,7 +253,7 @@ The example below show you how you can attach fields to a dataset (PolyData and/
253253

254254
Caution: By convention, we always attach data to points in an ImageData for doing VolumeRendering and the array must be registered as scalars.
255255

256-
[ImageData code](./tutorials/02_imagedata.py) | [PolyData code](./tutorials/03_polydata.py)
256+
[ImageData code](./tutorials/t02_imagedata.py) | [PolyData code](./tutorials/t03_polydata.py)
257257
```py
258258
dash_vtk.ImageData(
259259
dimensions=[5,5,5],
@@ -597,7 +597,7 @@ The current [list of classes](https://github.com/Kitware/react-vtk-js/blob/maste
597597

598598
The following example use a vtk source in vtk.js to generate a mesh
599599

600-
[code](./tutorials/04_algorithm.py)
600+
[code](./tutorials/t04_algorithm.py)
601601
```py
602602
import os
603603
import dash
@@ -671,7 +671,7 @@ Since the data loading is going to be asynchronous we've enabled some automatic
671671
- __resetCameraOnUpdate__: True (default)
672672

673673

674-
[code](./tutorials/05_reader.py)
674+
[code](./tutorials/t05_reader.py)
675675
```py
676676
import os
677677
import base64
@@ -721,7 +721,7 @@ The only property expected in a __ShareDataSet__ is a name to properly reference
721721

722722
The following example show how you can create a view with 1 __Volume__ and 4 representation of it.
723723

724-
[code](./tutorials/06_shared_dataset.py)
724+
[code](./tutorials/t06_shared_dataset.py)
725725
```py
726726
import dash
727727
import dash_html_components as html
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)