#include <GLBVRender.h>
Inheritance diagram for GLBVRender:
Public Member Functions | |
GLBVRender (int *stopFlag, bool useDisplayList=true, bool showSubBVs=false, bool showObjects=false, const Vector3 bvColor=Vector3(1.0, 1.0, 1.0), float bvTransp=0.5) | |
~GLBVRender () | |
void | setDepth (unsigned d) |
void | setShowSubVolumes (bool s=true) |
void | setShowObjects (bool s=true) |
void | setVolumesColor (const Vector3 &c) |
void | setVolumesAlpha (float a) |
unsigned | getDepth () const |
bool | getShowSubVolumes () const |
bool | getShowObjects () const |
const Vector3 & | getVolumesColor () const |
float | getVolumesAlpha () const |
virtual void | useDisplayList (bool use) |
void | clearBVDisplayList (void) |
virtual void | clearDisplayList (void) |
virtual bool | displayListUsed (void) const |
virtual void | renderScene (Shader &shader, FrameBuffer &fb, Camera &camera, Scene &scene) |
Protected Member Functions | |
virtual void | _render (Shader &shader, FrameBuffer &fb, Camera &camera, Scene &scene) |
Protected Attributes | |
unsigned | _depth |
bool | _showSubBVs |
bool | _showObjects |
GLint | _bvDisplayList |
Diffuse | _bvColor |
Transparency | _bvTransp |
GLuint | _displayList |
bool | _useDisplayList |
int * | _pStopFlag |
Definition at line 21 of file GLBVRender.h.
|
Constructor
Definition at line 53 of file GLBVRender.h. |
|
Destructor Definition at line 70 of file GLBVRender.h. |
|
Reimplemented from GLRender. Definition at line 8 of file GLBVRender.cc. References GLBVRender::_bvColor, GLBVRender::_bvDisplayList, GLBVRender::_bvTransp, GLBVRender::_depth, GLRender::_render(), GLBVRender::_showObjects, GLRender::_useDisplayList, Scene::root(), and Shader::setRenderedShape(). |
|
Definition at line 130 of file GLBVRender.h. |
|
Clear internal display list. Reimplemented from GLRender. Definition at line 136 of file GLBVRender.h. References GLRender::clearDisplayList(). |
|
Definition at line 88 of file GLRender.h. |
|
Definition at line 119 of file GLBVRender.h. |
|
Definition at line 121 of file GLBVRender.h. |
|
Definition at line 120 of file GLBVRender.h. |
|
Definition at line 123 of file GLBVRender.h. |
|
Definition at line 122 of file GLBVRender.h. |
|
To re-implement the rendering method in derived classes use protected function _render() unless you know what you do.
Definition at line 66 of file Render.h. References Scene::root(). Referenced by GLIrradCacheRender::_render(). |
|
Sets depth level of the scene graph for BVs visualization
Definition at line 77 of file GLBVRender.h. |
|
Sets/unsets visualization of scene objects
Definition at line 97 of file GLBVRender.h. |
|
Sets/unsets visualization of sub-volumes
Definition at line 87 of file GLBVRender.h. |
|
Sets BVs transarency
Definition at line 114 of file GLBVRender.h. |
|
Sets color of BVs
Definition at line 104 of file GLBVRender.h. |
|
Sets/unsets the usage of display list Reimplemented from GLRender. Definition at line 125 of file GLBVRender.h. References GLRender::useDisplayList(). |
|
Definition at line 27 of file GLBVRender.h. Referenced by GLBVRender::_render(). |
|
Definition at line 26 of file GLBVRender.h. Referenced by GLBVRender::_render(). |
|
Definition at line 28 of file GLBVRender.h. Referenced by GLBVRender::_render(). |
|
Definition at line 23 of file GLBVRender.h. Referenced by GLBVRender::_render(). |
|
Definition at line 35 of file GLRender.h. Referenced by GLRender::_render(), GLPhotonMapRender::_render(), GLIrradCacheRender::_render(), and GLEnergyRender::_render(). |
|
Definition at line 27 of file Render.h. Referenced by RTRender::_render(). |
|
Definition at line 25 of file GLBVRender.h. Referenced by GLBVRender::_render(). |
|
Definition at line 24 of file GLBVRender.h. |
|
Definition at line 36 of file GLRender.h. Referenced by GLRender::_render(), GLPhotonMapRender::_render(), GLIrradCacheRender::_render(), GLEnergyRender::_render(), and GLBVRender::_render(). |