Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Class Members | File Members

ViewPort Class Reference

#include <ViewPort.h>

Inheritance diagram for ViewPort:

OrthographicCamera GuiComponent List of all members.

Public Member Functions

 ViewPort (int x=1, int y=1, int w=1, int h=1)
void setViewPort ()
void setViewPort (int x, int y, int w, int h)
void resetViewPort ()
void flipYAxis (int &y)

Public Attributes

int x
int y
int h
int w

Constructor & Destructor Documentation

ViewPort::ViewPort int  x = 1,
int  y = 1,
int  w = 1,
int  h = 1
[inline]
 


Member Function Documentation

void ViewPort::flipYAxis int &  y  ) 
 

Turn the y axis upside down

void ViewPort::resetViewPort  ) 
 

Pop the viewport bit from the stack.

void ViewPort::setViewPort int  x,
int  y,
int  w,
int  h
 

void ViewPort::setViewPort  ) 
 

Setup a viewport defined by the class members using the glViewport call. The current viewport bit is pushed to the stack


Member Data Documentation

int ViewPort::h
 

int ViewPort::w
 

int ViewPort::x
 

int ViewPort::y
 


The documentation for this class was generated from the following files:
Generated on Tue Jan 24 00:36:47 2006 for ZVis by  doxygen 1.4.1