Isis 3 Programmer Reference
ViewportBufferTransform.h
1 
2 #ifndef ViewportBufferTransform_h
3 #define ViewportBufferTransform_h
4 
5 #include "ViewportBufferAction.h"
6 
7 
8 namespace Isis {
15  public:
17 
20  return transform;
21  }
22  void setTranslation(int x, int y);
23 
24 
31  return p_xTranslation;
32  }
33 
34 
41  return p_yTranslation;
42  }
43 
44  void setResize(int width, int height);
45 
51  const int &getBufferWidth() {
52  return p_newBufferWidth;
53  }
54 
60  const int &getBufferHeight() {
61  return p_newBufferHeight;
62  }
63 
70  bool resizeFirst() {
71  return p_resizeFirst;
72  }
73 
79  void resizeFirst(bool resizeFirst) {
81  }
82 
83 
84  private:
90  };
91 }
92 #endif
int getXTranslation()
Gets the amount the buffer should be translated in X.
virtual ActionType getActionType()
Returns the instance type.
bool resizeFirst()
Returns true if the resize should happen before the translation.
int getYTranslation()
Gets the amount the buffer should be translated in Y.
int p_xTranslation
How far to translate in X.
bool p_resizeFirst
Do the resize before the translation?
ActionType
This uniquely identifies which child is instantiated.
const int & getBufferWidth()
Returns the new buffer width.
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
void resizeFirst(bool resizeFirst)
Sets whether the resize should happen before the translation.
const int & getBufferHeight()
Returns the new buffer height.