version 3.3

VRS::Reflection Class Reference

Reflection Matrix. More...

#include <vrs/reflection.h>

Inheritance diagram for VRS::Reflection:

VRS::Transform VRS::RenderObj VRS::SharedObj VRS::Visitable

List of all members.

Public Member Functions

 Reflection (const Vector &normal=Vector(0, 0, 1))
 Mirrors a scene at the plane given by the normal.
void setNormal (const Vector &)
Vector getNormal () const
virtual const Matrixmatrix (Engine *engine=0) const
 The matrix that represents the reflection.
 VRS_TYPEINFO (Reflection, Transform)
 VRS_SERIALIZABLE (Reflection)


Detailed Description

Reflection Matrix.

Constructor & Destructor Documentation

VRS::Reflection::Reflection ( const Vector normal = Vector(0, 0, 1)  ) 

Mirrors a scene at the plane given by the normal.


Member Function Documentation

void VRS::Reflection::setNormal ( const Vector  ) 

Vector VRS::Reflection::getNormal (  )  const [inline]

A reflection is defined by the normal of the reflection plane going through the origin.

virtual const Matrix& VRS::Reflection::matrix ( Engine engine = 0  )  const [virtual]

The matrix that represents the reflection.

Implements VRS::Transform.

VRS::Reflection::VRS_TYPEINFO ( Reflection  ,
Transform   
)

VRS::Reflection::VRS_SERIALIZABLE ( Reflection   ) 


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

Generated on Tue May 22 06:00:27 2012 by Doxygen 1.5.6
© 2001-2010 Hasso-Plattner-Institut | Impressum | Contact