Iris Whole Slide Imaging
Loading...
Searching...
No Matches
Iris::SlideAnnotation Struct Reference

Structure defining requirements to create an image-based slide annotation. More...

#include <IrisTypes.hpp>

Public Attributes

AnnotationFormat format = ANNOTATION_FORMAT_UNDEFINED
 AnnotationFormat of the image data to be rendered.
 
float x_offset = 0.f
 x-offset of the current scope view window where the image starts [0,1.f]
 
float y_offset = 0.f
 y-offset of the current scope view window where the image starts [0,1.f]
 
float width = 0.f
 Number of horizontal (x) pixels in the image annotation.
 
float height = 0.f
 Number of vertical (y) pixels in the image annotation.
 
Buffer data
 Encoded pixel data that comprises the image, width wide and hight tall.
 

Detailed Description

Structure defining requirements to create an image-based slide annotation.

The required information includes the location of the slide annotation on the slide and the size of the annotation. The offset locations are fractions of the current view window (for example an annotation that starts in the middle of the current view would have an offset of 0.5) The engine will immediately begin rendering the image on top of the rendered slide layers.


The documentation for this struct was generated from the following file: