Commit 7f44f22c authored by Emmanuel Promayon's avatar Emmanuel Promayon

FIXED translation management

Uses cube face intersection to determine where (in %) is the
current translation
parent e33447ae
......@@ -137,15 +137,17 @@ private:
/// point of intersection of the line passing at the center of the image
/// in the z+ direction, i.e. (0,0,1) in the local frame.
/// This is the extreme possible point to translate C in the z+ direction
/// This is the extreme possible point to translate C in the z+ direction.
/// This position is expressed in the parent frame coordinate system
/// (required to compute getTranslationInVolume and set new translation)
QVector3D cPlus;
QVector3D cPlus_P;
/// point of intersection of the line passing at the center of the image
/// in the z- direction, i.e. (0,0,-1) in the local frame.
/// This is the extreme possible point to translate C in the z- direction
/// This position is expressed in the parent frame coordinate system
/// (required to compute getTranslationInVolume and set new translation)
QVector3D cMinus;
QVector3D cMinus_P;
};
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment