class OSGFX_EXPORT osgFX::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.

Inheritance:


Public Methods

[more] Scribe()
[more] Scribe(const Scribe &copy, const osg::CopyOp &copyop = osg::CopyOp::SHALLOW_COPY)
[more] 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")
[more]inline const osg::Vec4& getWireframeColor() const
get the wireframe color
[more]inline void setWireframeColor(const osg::Vec4 &color)
set the wireframe color
[more]inline float getWireframeLineWidth() const
get the wireframe line width
[more]inline void setWireframeLineWidth(float w)
set the wireframe line width

Protected Methods

[more]virtual ~Scribe()
[more]Scribe& operator=(const Scribe &)
[more]bool define_techniques()


Inherited from Effect:

Public Methods

ovirtual inline bool isSameKindAs(const osg::Object* obj) const
ovirtual inline const char* libraryName() const
ovirtual inline const char* className() const
ovirtual const char* effectName() const
ovirtual const char* effectDescription() const
ovirtual const char* effectAuthor() const
oinline virtual void setUpDemo()
ovirtual void traverse(osg::NodeVisitor &nv)
oinline bool getEnabled() const
oinline void setEnabled(bool v)
oinline int getNumTechniques() const
oinline Technique* getTechnique(int i)
oinline const Technique* getTechnique(int i) const
oinline int getSelectedTechnique() const
oinline void selectTechnique(int i)
oinline void addTechnique(Technique* tech)
oinline void dirtyTechniques()
oinline void inherited_traverse(osg::NodeVisitor &nv)

Public Members

oenum TechniqueSelection


Documentation

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. This effect uses the PolygonOffset attribute to avoid Z-fighting, so it requires at least OpenGL version 1.1.
o Scribe()

o Scribe(const Scribe &copy, const osg::CopyOp &copyop = osg::CopyOp::SHALLOW_COPY)

o 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")

ovirtual ~Scribe()

oScribe& operator=(const Scribe &)

obool define_techniques()

oinline const osg::Vec4& getWireframeColor() const
get the wireframe color

oinline void setWireframeColor(const osg::Vec4 &color)
set the wireframe color

oinline float getWireframeLineWidth() const
get the wireframe line width

oinline void setWireframeLineWidth(float w)
set the wireframe line width


This class has no child classes.

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.