File: README.md

package info (click to toggle)
sight 25.2.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 42,180 kB
  • sloc: cpp: 289,476; xml: 17,257; ansic: 9,878; python: 1,379; sh: 144; makefile: 33
file content (40 lines) | stat: -rw-r--r-- 1,263 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# sight::module::io::vtk

This module contains services for reading and writing VTK related data.

## Services

- **image_reader**: reads a VTK image and converts it into a `sight::data::image`.

- **image_writer**: writes a VTK image from a `sight::data::image`.

- **image_series_reader**: reads a VTK image series and converts them into a `sight::data::image_series`.

- **image_series_writer**: writes a VTK image series file from a `sight::data::image_series`.

- **meshReader**: reads a VTK mesh and converts it into a `sight::data::mesh`.

- **meshWriter**: writes a VTK mesh from a `sight::data::mesh`.

- **model_series_reader**: reads VTK files and converts them into `ReconstructionDB` from a `sight::data::model_series`.

- **model_series_writer**: writes VTK files from `ReconstructionDB` from a `sight::data::model_series`.

- **model_series_obj_writer**: same as `model_series_writer`, but limited to `.obj` files.

- **series_set_reader**: reads VTK files and converts them into a `sight::data::series_set`.

## How to use it

### CMake

```cmake
add_dependencies(my_target
    ...
    module_io_vtk
)
```

### XML

Please consult the [doxygen](https://sight.pages.ircad.fr/sight) of each service to learn more about its use in xml configurations.