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

Information to change the zoom objective. More...

#include <IrisTypes.hpp>

Public Attributes

float increment = 0.f
 Fraction of current zoom amount by which to increase or decrease.
 
float x_location = 0.5f
 Horizontal location of zoom origin (towards or way from this point)
 
float y_location = 0.5f
 Vertical location of zoom origin.
 

Detailed Description

Information to change the zoom objective.

A positive zoom increment will increase the scope view zoom while a negative increment will decrease the current zoom. The zoom origin (x_location and y_location) defines the region around which to zoom. This is best set as either the cursor location or view center (0.5, 0.5).


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