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 41 42 43 44 45
|
# sight::module::viz::scene2D
This module contains services to display various 2D elements.
The services are implementations of the adaptor present in lib/viz/scene2D
## Services
- **axis**
Renders an axis on the scene2d
- **grid2d**
Renders a grid on the scene2d
- **histogram**
Displays the histogram of an image
- **line**
Draws a line on the scene2D
- **transfer_function**
Displays a map of TF and interact with them.
- **negato**
Displays one slice of an 3D image.
- **square**
Draws a square on the scene2D.
- **transfer_function**
Displays and edits a transfer function from a medical image.
- **viewport_interactor**
Manages the camera on the scene2D view
- **viewport_range_selector**
Allows to select a delimited range of a viewport.
It uses a graphical delimiter (called shutter) that can be moved from both left to right
and right to left directions (in those cases, shutter's width is changing).
- **viewport_updater**
Manages the camera on the view (by updating the viewport object)
## How to use it
## CMake
```cmake
add_dependencies(my_target
...
module_viz_scene2D
)
```
|