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);
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")
void setWireframeLineWidth(float w)
Definition Scribe:94
Scribe(const Scribe ©, const osg::CopyOp ©op=osg::CopyOp::SHALLOW_COPY)
float getWireframeLineWidth() const
Definition Scribe:89
Scribe & operator=(const Scribe &)
Definition Scribe:68
virtual ~Scribe()
Definition Scribe:67
const osg::Vec4 & getWireframeColor() const
Definition Scribe:79
void setWireframeColor(const osg::Vec4 &color)
Definition Scribe:84
@ SHALLOW_COPY
Definition CopyOp:47
void setWidth(float width)
float getWidth() const
Definition LineWidth:50
@ FRONT_AND_BACK
Definition Material:102
void setEmission(Face face, const Vec4 &emission)
const Vec4 & getEmission(Face face) const
Definition AnisotropicLighting:25
#define OSGFX_EXPORT
Definition osgFX/Export:27