Visualization LibraryA lightweight C++ OpenGL middleware for 2D/3D graphics |
[Home] [Tutorials] [All Classes] [Grouped Classes] |
#include <EdgeUpdateCallback.hpp>

Public Member Functions | |
| virtual const char * | className () |
| Returns the name of the class. | |
| EdgeUpdateCallback () | |
| EdgeUpdateCallback (const std::vector< EdgeExtractor::Edge > &edge) | |
| void | setShowCreases (bool sonly) |
If true only the edges forming the silhouette of an object will be rendered. | |
| bool | showCreases () const |
If true only the edges forming the silhouette of an object will be rendered. | |
| virtual void | operator() (const Camera *cam, Actor *act, Renderable *renderable, const Shader *, int pass) |
| Called upon callback execution. | |
| const std::vector < EdgeExtractor::Edge > & | edges () const |
| std::vector < EdgeExtractor::Edge > & | edges () |
| vl::EdgeUpdateCallback::EdgeUpdateCallback | ( | ) | [inline] |
| vl::EdgeUpdateCallback::EdgeUpdateCallback | ( | const std::vector< EdgeExtractor::Edge > & | edge | ) | [inline] |
| virtual const char* vl::EdgeUpdateCallback::className | ( | ) | [inline, virtual] |
| void vl::EdgeUpdateCallback::setShowCreases | ( | bool | sonly | ) | [inline] |
If true only the edges forming the silhouette of an object will be rendered.
| bool vl::EdgeUpdateCallback::showCreases | ( | ) | const [inline] |
If true only the edges forming the silhouette of an object will be rendered.
| virtual void vl::EdgeUpdateCallback::operator() | ( | const Camera * | cam, | |
| Actor * | actor, | |||
| Renderable * | renderable, | |||
| const Shader * | shader, | |||
| int | pass | |||
| ) | [inline, virtual] |
Called upon callback execution.
| cam | The camera used for the current rendering. | |
| actor | The Actor bound to this rendering callback. | |
| renderable | The currently selected Actor LOD. | |
| shader | The currently active Shader. | |
| pass | The current Actor[s] rendering pass. |
Implements vl::ActorRenderingCallback.
| const std::vector<EdgeExtractor::Edge>& vl::EdgeUpdateCallback::edges | ( | ) | const [inline] |
| std::vector<EdgeExtractor::Edge>& vl::EdgeUpdateCallback::edges | ( | ) | [inline] |