#include <ViewportBufferTransform.h>
|
| ViewportBufferTransform () |
| Constructor.
|
|
virtual ActionType | getActionType () |
| Returns the instance type.
|
|
void | setTranslation (int x, int y) |
| Sets the translation amount in x and y.
|
|
int | getXTranslation () |
| Gets the amount the buffer should be translated in X.
|
|
int | getYTranslation () |
| Gets the amount the buffer should be translated in Y.
|
|
void | setResize (int width, int height) |
| Sets the size the buffer should be resized to.
|
|
const int & | getBufferWidth () |
| Returns the new buffer width.
|
|
const int & | getBufferHeight () |
| Returns the new buffer height.
|
|
bool | resizeFirst () |
| Returns true if the resize should happen before the translation.
|
|
void | resizeFirst (bool resizeFirst) |
| Sets whether the resize should happen before the translation.
|
|
bool | started () |
| Returns true if this is an action that takes time and has begun.
|
|
void | started (bool started) |
| Sets started.
|
|
virtual void | stop () |
| Cancels the process, used if reinitialize requested for example.
|
|
◆ ActionType
This uniquely identifies which child is instantiated.
◆ ViewportBufferTransform()
Isis::ViewportBufferTransform::ViewportBufferTransform |
( |
| ) |
|
◆ getActionType()
virtual ActionType Isis::ViewportBufferTransform::getActionType |
( |
| ) |
|
|
inlinevirtual |
◆ getBufferHeight()
const int & Isis::ViewportBufferTransform::getBufferHeight |
( |
| ) |
|
|
inline |
Returns the new buffer height.
- Returns
- const int&
◆ getBufferWidth()
const int & Isis::ViewportBufferTransform::getBufferWidth |
( |
| ) |
|
|
inline |
Returns the new buffer width.
- Returns
- const int&
◆ getXTranslation()
int Isis::ViewportBufferTransform::getXTranslation |
( |
| ) |
|
|
inline |
Gets the amount the buffer should be translated in X.
- Returns
- int
◆ getYTranslation()
int Isis::ViewportBufferTransform::getYTranslation |
( |
| ) |
|
|
inline |
Gets the amount the buffer should be translated in Y.
- Returns
- int
◆ resizeFirst() [1/2]
bool Isis::ViewportBufferTransform::resizeFirst |
( |
| ) |
|
|
inline |
◆ resizeFirst() [2/2]
void Isis::ViewportBufferTransform::resizeFirst |
( |
bool | resizeFirst | ) |
|
|
inline |
Sets whether the resize should happen before the translation.
- Parameters
-
References resizeFirst().
◆ setResize()
void Isis::ViewportBufferTransform::setResize |
( |
int | width, |
|
|
int | height ) |
◆ setTranslation()
void Isis::ViewportBufferTransform::setTranslation |
( |
int | x, |
|
|
int | y ) |
◆ started() [1/2]
bool Isis::ViewportBufferAction::started |
( |
| ) |
|
|
inlineinherited |
◆ started() [2/2]
void Isis::ViewportBufferAction::started |
( |
bool | started | ) |
|
|
inlineinherited |
◆ stop()
virtual void Isis::ViewportBufferAction::stop |
( |
| ) |
|
|
inlinevirtualinherited |
The documentation for this class was generated from the following files: