version 3.3

VRS::Flare Class Reference

Shape for displaying lens flare. More...

#include <vrs/flare.h>

Inheritance diagram for VRS::Flare:

VRS::Shape VRS::RenderObj VRS::SharedObj VRS::Visitable

List of all members.

Public Member Functions

 Flare (Sky *sky=0, unsigned int n=20, double flareIntesity=1.0, double flareSize=1.0)
void setSky (Sky *s)
 Sets a new sky for the flare.
SkygetSky () const
 Returns the current sky.
void setFlareIntensity (double i)
 Sets the flare intensity.
double getFlareIntensity () const
 Returns the flare intensity.
void setFlareSize (double s)
 Sets the flare size.
double getFlareSize () const
 Returns the flare size.
void setNumber (unsigned int n)
 Sets the number of flares.
unsigned int getNumber () const
 Returns the number of flares.
Bounds boundingBox () const
 Returns the bounding box of the shape.
 VRS_TYPEINFO (Flare, Shape)
 VRS_SERIALIZABLE (Flare)


Detailed Description

Shape for displaying lens flare.

Constructor & Destructor Documentation

VRS::Flare::Flare ( Sky sky = 0,
unsigned int  n = 20,
double  flareIntesity = 1.0,
double  flareSize = 1.0 
)


Member Function Documentation

void VRS::Flare::setSky ( Sky s  )  [inline]

Sets a new sky for the flare.

Sky * VRS::Flare::getSky (  )  const [inline]

Returns the current sky.

void VRS::Flare::setFlareIntensity ( double  i  )  [inline]

Sets the flare intensity.

double VRS::Flare::getFlareIntensity (  )  const [inline]

Returns the flare intensity.

void VRS::Flare::setFlareSize ( double  s  )  [inline]

Sets the flare size.

double VRS::Flare::getFlareSize (  )  const [inline]

Returns the flare size.

void VRS::Flare::setNumber ( unsigned int  n  )  [inline]

Sets the number of flares.

unsigned int VRS::Flare::getNumber (  )  const [inline]

Returns the number of flares.

Bounds VRS::Flare::boundingBox (  )  const [inline, virtual]

Returns the bounding box of the shape.

Implements VRS::Shape.

VRS::Flare::VRS_TYPEINFO ( Flare  ,
Shape   
)

VRS::Flare::VRS_SERIALIZABLE ( Flare   ) 


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

Generated on Mon May 21 06:00:17 2012 by Doxygen 1.5.6
© 2001-2010 Hasso-Plattner-Institut | Impressum | Contact