CIvfViewport Class Reference

#include <ivf/IvfViewport.h>

Inheritance diagram for CIvfViewport:

CIvfBase CIvfRefCountBase CIvfRTTIBase List of all members.

Public Member Functions

 CIvfViewport ()
virtual ~CIvfViewport ()
 IvfClassInfo ("CIvfViewport", CIvfBase)
void apply ()
void setPosition (int x, int y)
void getPosition (int &x, int &y)
void setSize (int width, int height)
void getSize (int &width, int &height)
double getAspect ()

Detailed Description

View port definition class

This class defines a viewport in OpenGL. Used together with CIvfView derived classes.

Definition at line 38 of file IvfViewport.h.


Constructor & Destructor Documentation

CIvfViewport::CIvfViewport (   ) 
 

Class constructor

virtual CIvfViewport::~CIvfViewport (   )  [virtual]
 

Class destructor


Member Function Documentation

void CIvfViewport::apply (   ) 
 

Applies the current viewport

double CIvfViewport::getAspect (   ) 
 

Return viewport aspect ratio

void CIvfViewport::getPosition (  int &  x,
int &  y
) 
 

Return position of viewport

void CIvfViewport::getSize (  int &  width,
int &  height
) 
 

Return viewport dimensions

void CIvfViewport::setPosition (  int  x,
int  y
) 
 

Set position of viewport

void CIvfViewport::setSize (  int  width,
int  height
) 
 

Set viewport dimensions


The documentation for this class was generated from the following file:
Generated on Fri Sep 1 15:37:00 2006 for Interactive Visualisation Framework - Ivf++ by  doxygen 1.4.6-NO