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

Information to translate the rendered scope view as a fraction of the active view space with direction given by the sign. More...

#include <IrisTypes.hpp>

Public Attributes

float x_translate = 0.f
 Fraction of horizontal viewspace to translate [-1,1](-left, +right)
 
float y_translate = 0.f
 Fraction of vertical viewspace to translate [-1,1](-left, +right)
 
float x_velocity = 0.f
 Horizontal translation velocity (suggested [0,2])
 
float y_velocity = 0.f
 Velocity of translation (suggested [0,2]) in the horizontal.
 

Detailed Description

Information to translate the rendered scope view as a fraction of the active view space with direction given by the sign.

An x translation value of 0.5 will shift the view to the right by half of the current view sapce while -1.0 will shift the scope view to the left by an entire screen.


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