Basic Image AlgorithmS Library
2.8.0
|
class for setting viewports More...
#include <OpenGLFramework/Base/glfViewport.hh>
Public Member Functions | |
virtual void | Bind () const |
Binds the viewport. More... | |
int | GetHeight () const |
int | GetWidth () const |
glfViewport () | |
glfViewport (int x, int y, int width, int height) | |
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... | |
virtual | ~glfViewport () |
class for setting viewports
Definition at line 37 of file glfViewport.hh.
glfViewport::glfViewport | ( | ) |
Definition at line 29 of file glfViewport.cpp.
glfViewport::glfViewport | ( | int | x, |
int | y, | ||
int | width, | ||
int | height | ||
) |
Definition at line 37 of file glfViewport.cpp.
|
inlinevirtual |
Definition at line 42 of file glfViewport.hh.
|
virtual |
Binds the viewport.
Reimplemented in BIAS::glfPassiveViewport.
Definition at line 57 of file glfViewport.cpp.
Referenced by BIAS::DistortionRendering::BeginRendering(), and BIAS::DistortionRendering::Bind().
|
inline |
Definition at line 56 of file glfViewport.hh.
Referenced by BIAS::PlainPerPixelProcessing::Init_().
|
inline |
Definition at line 55 of file glfViewport.hh.
Referenced by BIAS::PlainPerPixelProcessing::Init_().
void glfViewport::SetOrigin | ( | int | x, |
int | y | ||
) |
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().
void glfViewport::SetSize | ( | int | width, |
int | height | ||
) |
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().