Inheritance diagram for osgFX::Effect:

Public Types | |
| enum | TechniqueSelection { AUTO_DETECT = -1 } |
Public Member Functions | |
| Effect () | |
| Effect (const Effect ©, const osg::CopyOp ©op=osg::CopyOp::SHALLOW_COPY) | |
| virtual bool | isSameKindAs (const osg::Object *obj) const |
| virtual const char * | libraryName () const |
| virtual const char * | className () const |
| virtual const char * | effectName () const =0 |
| virtual const char * | effectDescription () const =0 |
| virtual const char * | effectAuthor () const =0 |
| bool | getEnabled () const |
| void | setEnabled (bool v) |
| virtual void | setUpDemo () |
| int | getNumTechniques () const |
| Technique * | getTechnique (int i) |
| const Technique * | getTechnique (int i) const |
| int | getSelectedTechnique () const |
| void | selectTechnique (int i=AUTO_DETECT) |
| virtual void | traverse (osg::NodeVisitor &nv) |
| void | inherited_traverse (osg::NodeVisitor &nv) |
Protected Member Functions | |
| virtual | ~Effect () |
| Effect & | operator= (const Effect &) |
| void | dirtyTechniques () |
| void | addTechnique (Technique *tech) |
| virtual bool | define_techniques ()=0 |
Friends | |
| class | Validator |
|
|
|
|
|
|
|
||||||||||||
|
|
|
|
|
|
|
add a technique to the effect |
|
|
return the name of the node's class type. Reimplemented from osg::Node. |
|
|
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. Implemented in osgFX::AnisotropicLighting, osgFX::BumpMapping, osgFX::Cartoon, osgFX::Scribe, and osgFX::SpecularHighlights. |
|
|
force rebuilding of techniques on next traversal |
|
|
get the effect author's name |
|
|
get a brief description of this effect |
|
|
get the name of this effect |
|
|
get whether the effect is enabled or not |
|
|
get the number of techniques defined for this effect |
|
|
get the index of the currently selected technique |
|
|
get the i-th const technique |
|
|
get the i-th technique |
|
|
default traversal |
|
|
|
|
|
return the name of the node's library. Reimplemented from osg::Node. |
|
|
|
|
|
select a technique or enable automatic detection |
|
|
set whether the effect is enabled or not |
|
|
optional: set effect parameters to produce a visually significant result to be used in demo applications like osgfxbrowser. Default is to do nothing. Reimplemented in osgFX::BumpMapping. |
|
|
custom traversal |
|
|
|
1.4.2