All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Static Public Member Functions | Public Attributes
pangolin::Viewport Struct Reference

Encapsulates OpenGl Viewport. More...

#include <display.h>

List of all members.

Public Member Functions

void Activate () const
void ActivateAndScissor () const
GLfloat aspect () const
bool Contains (int x, int y) const
Viewport Inset (int i) const
Viewport Inset (int horiz, int vert) const
GLint r () const
void Scissor () const
GLint t () const
 Viewport ()
 Viewport (GLint l, GLint b, GLint w, GLint h)

Static Public Member Functions

static void DisableScissor ()

Public Attributes

GLint b
GLint h
GLint l
GLint w

Detailed Description

Encapsulates OpenGl Viewport.

Definition at line 212 of file display.h.


Constructor & Destructor Documentation

Definition at line 214 of file display.h.

pangolin::Viewport::Viewport ( GLint  l,
GLint  b,
GLint  w,
GLint  h 
) [inline]

Definition at line 537 of file display.h.


Member Function Documentation

Definition at line 434 of file display.cpp.

Definition at line 445 of file display.cpp.

GLfloat pangolin::Viewport::aspect ( ) const [inline]

Definition at line 546 of file display.h.

bool pangolin::Viewport::Contains ( int  x,
int  y 
) const

Definition at line 458 of file display.cpp.

Definition at line 453 of file display.cpp.

Definition at line 463 of file display.cpp.

Viewport pangolin::Viewport::Inset ( int  horiz,
int  vert 
) const

Definition at line 468 of file display.cpp.

GLint pangolin::Viewport::r ( ) const [inline]

Definition at line 538 of file display.h.

Definition at line 439 of file display.cpp.

GLint pangolin::Viewport::t ( ) const [inline]

Definition at line 542 of file display.h.


Member Data Documentation

Definition at line 229 of file display.h.

Definition at line 229 of file display.h.

Definition at line 229 of file display.h.

Definition at line 229 of file display.h.


The documentation for this struct was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


pangolin_wrapper
Author(s): Todor Stoyanov
autogenerated on Wed Feb 13 2013 14:03:25