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 (38 lines) | stat: -rw-r--r-- 1,024 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
# sight::modules::activity

Contains helpers and services allowing to launch activities. Initializes Activity extension point registry.

## Classes

### validator/CameraSet
- **mono_camera**: checks if the current CameraSet contains one and only one Camera and is calibrated.
- **stereo_camera**: checks if the current CameraSet contains two calibrated cameras and an extrinsic matrix.

### validator/ModelSeries
- **contain_one_skin**: checks that the ModelSeries contains one and only one Skin.
- **contain_one_tool**: checks that the ModelSeries contains one and only one Tool.
-
## How to use it

### CMake

```cmake
add_dependencies(my_target module_activity ... )
```

### XML

example of activity factory:

 ```xml
<extension implements="sight::activity::extension">
    <id>myActivity</id>
    <title>SDB</title>
    <desc>Series selector</desc>
    <icon>sight::module::ui::icons/selector.svg</icon>
    <requirements />
    <properties config="myActivity">
        <parameters />
    </appConfig>
</extension>
 ```