18 #include <osgFX/Export>
19 #include <osgFX/Effect>
21 #include <osg/Material>
22 #include <osg/LineWidth>
46 "This is a two-passes effect; the first pass renders the subgraph as usual "
47 "while the second pass switches to wireframe mode, sets up lighting and "
48 "material to obtain a fixed (user-defined) color and then renders the subgraph.\n"
49 "This effect uses the PolygonOffset attribute to avoid Z-fighting, so it "
50 "requires at least OpenGL version 1.1.",
55 inline const osg::Vec4& getWireframeColor()
const;
58 inline void setWireframeColor(
const osg::Vec4& color);
61 inline float getWireframeLineWidth()
const;
64 inline void setWireframeLineWidth(
float w);
70 bool define_techniques();
Scribe & operator=(const Scribe &)
const osg::Vec4 & getWireframeColor() const
void setWireframeColor(const osg::Vec4 &color)
#define META_Effect(library, classname, effectname, effectdescription, effectauthor)
float getWireframeLineWidth() const
void setEmission(Face face, const Vec4 &emission)
const Vec4 & getEmission(Face face) const
void setWidth(float width)
void setWireframeLineWidth(float w)