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 (27 lines) | stat: -rw-r--r-- 1,216 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
# sight::module::geometry

Contains services to do basic geometrical operations  with `sight::data::matrix4` and `sight::data::point_list`.

## Services

- **concatenate_matrices**: concatenates N matrices together.
- **decompose_matrix**: decomposes a matrix into a 3 by 3 rotation matrix, a 3 dimensional translation vector and a 3 by 3 scaling matrix.
- **manage_point_list**: adds point in a `sight::data::point_list`.
- **point_list_from_matrices**: extracts translation part of multiple matrices and put it into a `sight::data::point_list`.
- **point_to_landmark_distance**: computes the intersection between a mesh and a line.
- **point_to_landmark_vector**: computes the vector between a point and a target.
- **switch_matrices**: switches between several matrices.
- **targeting**: returns a `sight::data::point_list` containing the position of a sight::data::landmarks on a CrossHair.
- **transform_landmark**: applies a transformation matrix on a `sight::data::landmarks`.

## How to use it

### CMake

```cmake
add_dependencies(my_target module_geometry ...)
```

### XML

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