version 3.3

VRS::Viewport Class Reference

Viewport Attribute. More...

#include <vrs/viewport.h>

Inheritance diagram for VRS::Viewport:

VRS::MonoAttribute VRS::Attribute VRS::RenderObj VRS::SharedObj VRS::Visitable

List of all members.

Public Member Functions

 Viewport (const Area &area=Area())
 Viewport (int x, int y, int width, int height)
void setArea (const Area &)
const AreagetArea () const
 Get/set the associated Area object.
void setAspectRatio (double)
double getAspectRatio () const
 VRS_TYPEINFO (Viewport, MonoAttribute)
 VRS_SERIALIZABLE (Viewport)


Detailed Description

Viewport Attribute.

Constructor & Destructor Documentation

VRS::Viewport::Viewport ( const Area area = Area()  ) 

VRS::Viewport::Viewport ( int  x,
int  y,
int  width,
int  height 
)


Member Function Documentation

void VRS::Viewport::setArea ( const Area c  )  [inline]

const Area & VRS::Viewport::getArea (  )  const [inline]

Get/set the associated Area object.

void VRS::Viewport::setAspectRatio ( double  aspect  )  [inline]

double VRS::Viewport::getAspectRatio (  )  const [inline]

Get/sets the aspect ratio of the viewport. Used internally by the camera

VRS::Viewport::VRS_TYPEINFO ( Viewport  ,
MonoAttribute   
)

VRS::Viewport::VRS_SERIALIZABLE ( Viewport   ) 


The documentation for this class was generated from the following file:

Generated on Wed May 23 06:00:31 2012 by Doxygen 1.5.6
© 2001-2010 Hasso-Plattner-Institut | Impressum | Contact