version 3.3

VRS::Shadowed Class Reference

#include <vrs/shadowed.h>

Inheritance diagram for VRS::Shadowed:

VRS::PolyAttribute VRS::Attribute VRS::RenderObj VRS::SharedObj VRS::Visitable

List of all members.

Public Member Functions

 Shadowed (Light *light)
void setLightSource (Light *light)
LightgetLightSource () const
 VRS_TYPEINFO (Shadowed, PolyAttribute)
 VRS_SERIALIZABLE (Shadowed)

Protected Member Functions

 Shadowed ()


Detailed Description

PolyAttribute indicating that a shape might be in shadow of a given Light.

Constructor & Destructor Documentation

VRS::Shadowed::Shadowed ( Light light  ) 

Asserts if light is NULL.

VRS::Shadowed::Shadowed (  )  [protected]


Member Function Documentation

void VRS::Shadowed::setLightSource ( Light light  ) 

Sets the light source whose light portion is modulated by the Shadowed object. Asserts if light is NULL.

Light* VRS::Shadowed::getLightSource (  )  const

Returns the light source whose light portion is modulated by the Shadowed object.

VRS::Shadowed::VRS_TYPEINFO ( Shadowed  ,
PolyAttribute   
)

VRS::Shadowed::VRS_SERIALIZABLE ( Shadowed   ) 


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

Generated on Sat May 18 06:00:35 2013 by Doxygen 1.5.6
© 2001-2010 Hasso-Plattner-Institut | Impressum | Contact