| VRS - The Virtual Rendering System |
| version 3.3 |
#include <vrs/planarmirror.h>

Public Member Functions | |
| PlanarMirror (Facet *facet, double quality=0.5, const Color &background=Color::black, bool clip=true) | |
| Facet * | getFacet () const |
| Gets the mirroring Facet. | |
| void | setFacet (Facet *facet) |
| Sets the mirroring Facet. | |
| bool | getClip () const |
| Gets the current clip setting. | |
| void | setClip (bool) |
| Sets the clip setting. | |
| VRS_TYPEINFO (PlanarMirror, Mirror) | |
| VRS_SERIALIZABLE (PlanarMirror) | |
Protected Member Functions | |
| PlanarMirror () | |
| VRS::PlanarMirror::PlanarMirror | ( | Facet * | facet, | |
| double | quality = 0.5, |
|||
| const Color & | background = Color::black, |
|||
| bool | clip = true | |||
| ) |
Facet sets the facet which mirrors. The facet must be contained as a separate shape in the scene graph with the PlanarMirror attribute active to be mirroring.
Quality indicates the brightness of the mirrored image and must be between 0 and 1. background inducates the color of the reflected background area. clip indicates whether objects behind the mirror should be clipped away. The default value true always yields correct images, but with the setting false, the mirror might be rendered faster
| VRS::PlanarMirror::PlanarMirror | ( | ) | [protected] |
| bool VRS::PlanarMirror::getClip | ( | ) | const |
Gets the current clip setting.
| void VRS::PlanarMirror::setClip | ( | bool | ) |
Sets the clip setting.
| VRS::PlanarMirror::VRS_TYPEINFO | ( | PlanarMirror | , | |
| Mirror | ||||
| ) |
| VRS::PlanarMirror::VRS_SERIALIZABLE | ( | PlanarMirror | ) |