File: README.md

package info (click to toggle)
sight 25.2.0-2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 42,184 kB
  • sloc: cpp: 289,476; xml: 17,257; ansic: 9,878; python: 1,379; sh: 144; makefile: 33
file content (23 lines) | stat: -rw-r--r-- 789 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# sight::module::io::matrix

Module containing services to read/write matrices from/to files.

## Services

- **matrices_reader**: reads a csv file, extracts matrices from it and pushes them into a sight::data::matrix_tl.
- **matrix_writer**: saves a timeline of matrices in a csv file.
- **matrix4_trf_reader**: reads a sight::data::matrix4 from a .trf file
- **matrix4_trf_writer**: writes a sight::data::matrix4 into a .trf file.
- **validator**: checks if a given matrix4 is valid or not as a rigid transformation matrix (homogenous and orthogonal).

## How to use it

### CMake

```cmake
add_dependencies(my_target module_io_matrix ... )
```

### XML

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