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 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96
|
# sight::data
This is one of the most important libraries in _Sight_. It defines data objects that are going to be used in services.
_Sight_ relies on many third part libraries, and as such, it needs common data structures to communicate between them.
Basic data are provided, such as scalar values, string, geometric entities, as well as medical data used in computer
assisted surgery such as images, segmentations, etc...
## Data classes
The base data class is `sight::data::object`. It provides a default slot to warn subscribers when its content changes.
All concrete data classes implement this interface.
### Basic
- **ActivitySet**: activity container.
- **Array**: generic and dynamic multi-dimensional array.
- **Boolean**: boolean value.
- **Color**: RGBA color value.
- **Float**: float value.
- **Image**: defines an image.
- **Integer**: integer value.
- **Map**: contains a map of objects.
- **Object**: base class for each data object.
- **Set**: generic and dynamic set of elements.
- **series_set**: series container.
- **String**: character array.
- **TimeLine**: generic definition for collection of objects, each object being associated with a timestamp. It is intended to store lightweight objects.
- **Vector**: generic and dynamic 1D array.
- **GenericField**: generic objet containing a data.
### Medical
- **Activity**: contains information and data of an application activity.
- **dicom_series**: contains a DICOM series.
- **Equipment**: contains an equipment information.
- **histogram**: contains the histogram of a `sight::data::image`.
- **image_series**: a `sight::data::image` with the associated medical data.
- **Landmarks**: defines a set of spatial (3D) or color (4D) points.
- **model_series**: holds a medical data.
- **Patient**: holds a patient information.
- **Reconstruction**: defines a reconstruction object.
- **ReconstructionTraits**: defines Reconstruction traits containing an identifier, a mask a mesh and a structure traits associated to the reconstruction.
- **Resection**: defines a resection.
- **ResectionDB**: defines a resection container.
- **ROITraits**: defines ROI traits containing an identifier, an evaluated expression, a ROI mask node used for ROIand a structure traits associated to the ROI.
- **Series**: defines medical data.
- **series_set**: holds `sight::data::series`
- **structure_traits**: defines a structure traits containing various data all optional (type, category, class, color, native ROI expression,... )
- **StructureTraitsDictionary**: dictionary of `sight::data::structure_traits`.
- **StructureTraitsHelper**: helper of `sight::data::structure_traits`.
- **Study**: contains a medical study information.
- **TransferFunction**: defines a transfer function which associates color and values
### Computer vision
- **CalibrationInfo**: stores calibration images used to compute camera calibration.
- **Camera**: contains intrinsic and extrinsic parameters of a camera.
- **CameraSet**: stores a collection of cameras.
- **FrameTL**: defines a timeline of `sight::data::image`.
- **marker_map**: stores a map of optical markers (2D).
- **MarkerTL**: defines a timeline of 2D markers from their four corner positions.
- **MatrixTL**: defines a timeline of raw 4x4 matrices.
- **RawBufferTL**: defines a timeline of buffers.
### Geometry
- **Line**: line defined by two points.
- **Matrix4**: 4x4 transformation matrix.
- **Material**: material is represented by an ambient color and a diffuse color.
- **Mesh**: geometrical mesh composed of points, lines, triangles, quads or polygons.
- **Plane**: plane defined by three `sight::data::point`.
- **PlaneList**: list of `sight::data::plane`.
- **Point**: 3D point.
- **PointList**: list of 3D `sight::data::point`.
- **TransformationMatrix3D**: 4x4 transformation matrix.
### Graph
- **Edge**: represents an edge in a `sight::data::Graph`.
- **Graph**: graph representation.
- **Node**: represents a node in a `sight::data::Graph`.
- **Port**: represents a connection point in a `sight::data::Node`.
### Technical
- **Exception**: implements exception related to data.
- **generic_tl**: defines a timeline of template objects.
## How to use it
### CMake
```cmake
target_link_libraries( my_target <PUBLIC|PRIVATE> data)
```
|