Basic Image AlgorithmS Library
2.8.0
|
This class allows to use the currently set viewport in the global opengl state! More...
#include <OpenGLFramework/Passive/glfPassiveViewport.hh>
Public Member Functions | |
virtual void | Bind () const |
Binds the viewport. More... | |
int | GetHeight () const |
int | GetWidth () const |
void | SetOrigin (int x, int y) |
Sets the position of the upper-left corner of the viewport in pixel coordinates. More... | |
void | SetSize (int width, int height) |
Sets the size of the viewport in pixel coordinates. More... | |
This class allows to use the currently set viewport in the global opengl state!
It is not the intention of the OpenGLFramework to work on a global scope! Use this class with caution and seldom even if it is convenient! Your classes will develop difficult behavior and will not be transportable outside a well defined state context! Nevertheless it is usefull to use passive components for the integration of concepts from the OpenGLFramework into old software.
Definition at line 47 of file glfPassiveViewport.hh.
|
virtual |
Binds the viewport.
Reimplemented from BIAS::glfViewport.
Definition at line 28 of file glfPassiveViewport.cpp.
|
inlineinherited |
Definition at line 56 of file glfViewport.hh.
Referenced by BIAS::PlainPerPixelProcessing::Init_().
|
inlineinherited |
Definition at line 55 of file glfViewport.hh.
Referenced by BIAS::PlainPerPixelProcessing::Init_().
|
inherited |
Sets the position of the upper-left corner of the viewport in pixel coordinates.
Definition at line 45 of file glfViewport.cpp.
Referenced by BIAS::DistortionRendering::EndRendering(), BIAS::DistortionRendering::Init(), and BIAS::TemplateSpecializedBatch::SetViewport().
|
inherited |
Sets the size of the viewport in pixel coordinates.
Definition at line 51 of file glfViewport.cpp.
Referenced by BIAS::DistortionRendering::EndRendering(), BIAS::SimpleMultiPassFragmentShader::Execute(), BIAS::DistortionRendering::Init(), BIAS::PlainPerPixelProcessing::SetOutputSize(), and BIAS::TemplateSpecializedBatch::SetViewport().