Inheritance diagram for osgFX::Scribe:
Public Member Functions | |
Scribe () | |
Scribe (const Scribe ©, const osg::CopyOp ©op=osg::CopyOp::SHALLOW_COPY) | |
META_Effect (osgFX, Scribe,"Scribe","This is a two-passes effect; the first pass renders the subgraph as usual ""while the second pass switches to wireframe mode, sets up lighting and ""material to obtain a fixed (user-defined) color and then renders the subgraph.\n""This effect uses the PolygonOffset attribute to avoid Z-fighting, so it ""requires at least OpenGL version 1.1.","Marco Jez") | |
const osg::Vec4 & | getWireframeColor () const |
void | setWireframeColor (const osg::Vec4 &color) |
float | getWireframeLineWidth () const |
void | setWireframeLineWidth (float w) |
Protected Member Functions | |
virtual | ~Scribe () |
Scribe & | operator= (const Scribe &) |
bool | define_techniques () |
|
|
|
|
|
|
|
abstract method to be implemented in derived classes; its purpose if to create the techniques that can be used for obtaining the desired effect. You will usually call addTechnique() inside this method. Implements osgFX::Effect. |
|
get the wireframe color |
|
get the wireframe line width |
|
|
|
|
|
set the wireframe color |
|
set the wireframe line width |