File failed to load: https://isis.astrogeology.usgs.gov/3.9.0/Object/assets/jax/output/NativeMML/config.js
Isis 3 Programmer Reference
ViewportBufferTransform.cpp
1 
2 #include "ViewportBufferTransform.h"
3 
4 #include <QRect>
5 
6 namespace Isis {
11  p_xTranslation = 0;
12  p_yTranslation = 0;
13  p_newBufferWidth = -1;
14  p_newBufferHeight = -1;
15  p_resizeFirst = false;
16  }
17 
25  p_xTranslation = x;
26  p_yTranslation = y;
27  }
28 
29 
36  void ViewportBufferTransform::setResize(int width, int height) {
37  p_newBufferWidth = width;
38  p_newBufferHeight = height;
39  }
40 }
int p_xTranslation
How far to translate in X.
bool p_resizeFirst
Do the resize before the translation?
void setTranslation(int x, int y)
Sets the translation amount in x and y.
int p_yTranslation
How far to translate in Y.
void setResize(int width, int height)
Sets the size the buffer should be resized to.
Namespace for ISIS/Bullet specific routines.
Definition: Apollo.h:31

U.S. Department of the Interior | U.S. Geological Survey
ISIS | Privacy & Disclaimers | Astrogeology Research Program
To contact us, please post comments and questions on the USGS Astrogeology Discussion Board
To report a bug, or suggest a feature go to: ISIS Github
File Modified: 07/12/2023 23:33:31