
Public Member Functions | |
| StateSetManipulator (osg::StateSet *stateset=0) | |
| virtual const char * | className () const |
| return the name of the object's class type. | |
| virtual void | setStateSet (osg::StateSet *) |
| attach a STATESTATE to the manipulator to be used for specifying view. | |
| virtual osg::StateSet * | getStateSet () |
| get the attached a STATESTATE. | |
| virtual const osg::StateSet * | getStateSet () const |
| get the attached a STATESTATE. | |
| virtual bool | handle (const GUIEventAdapter &ea, GUIActionAdapter &us) |
| Handle events, return true if handled, false otherwise. | |
| virtual void | getUsage (osg::ApplicationUsage &usage) const |
| Get the keyboard and mouse usage of this manipulator. | |
| void | setMaximumNumOfTextureUnits (unsigned int i) |
| unsigned int | getMaximumNumOfTextureUnits () const |
| void | setBackfaceEnabled (bool newbackface) |
| bool | getBackfaceEnabled () const |
| void | setLightingEnabled (bool newlighting) |
| bool | getLightingEnabled () const |
| void | setTextureEnabled (bool newtexture) |
| bool | getTextureEnabled () const |
| void | setPolygonMode (osg::PolygonMode::Mode newpolygonmode) |
| osg::PolygonMode::Mode | getPolygonMode () const |
| void | cyclePolygonMode () |
Protected Member Functions | |
| virtual | ~StateSetManipulator () |
| osg::PolygonMode * | getOrCreatePolygonMode () |
Protected Attributes | |
| osg::ref_ptr < osg::StateSet > | _stateset |
| bool | _initialized |
| bool | _backface |
| bool | _lighting |
| bool | _texture |
| unsigned int | _maxNumOfTextureUnits |
| osgGA::StateSetManipulator::StateSetManipulator | ( | osg::StateSet * | stateset = 0 |
) |
| virtual osgGA::StateSetManipulator::~StateSetManipulator | ( | ) | [protected, virtual] |
| virtual const char* osgGA::StateSetManipulator::className | ( | ) | const [inline, virtual] |
return the name of the object's class type.
Must be defined by derived classes.
Implements osg::Object.
| virtual void osgGA::StateSetManipulator::setStateSet | ( | osg::StateSet * | ) | [virtual] |
attach a STATESTATE to the manipulator to be used for specifying view.
| virtual osg::StateSet* osgGA::StateSetManipulator::getStateSet | ( | ) | [virtual] |
get the attached a STATESTATE.
| virtual const osg::StateSet* osgGA::StateSetManipulator::getStateSet | ( | ) | const [virtual] |
get the attached a STATESTATE.
| virtual bool osgGA::StateSetManipulator::handle | ( | const GUIEventAdapter & | ea, | |
| GUIActionAdapter & | us | |||
| ) | [virtual] |
| virtual void osgGA::StateSetManipulator::getUsage | ( | osg::ApplicationUsage & | usage | ) | const [virtual] |
| void osgGA::StateSetManipulator::setMaximumNumOfTextureUnits | ( | unsigned int | i | ) | [inline] |
| unsigned int osgGA::StateSetManipulator::getMaximumNumOfTextureUnits | ( | ) | const [inline] |
| void osgGA::StateSetManipulator::setBackfaceEnabled | ( | bool | newbackface | ) |
| bool osgGA::StateSetManipulator::getBackfaceEnabled | ( | ) | const [inline] |
| void osgGA::StateSetManipulator::setLightingEnabled | ( | bool | newlighting | ) |
| bool osgGA::StateSetManipulator::getLightingEnabled | ( | ) | const [inline] |
| void osgGA::StateSetManipulator::setTextureEnabled | ( | bool | newtexture | ) |
| bool osgGA::StateSetManipulator::getTextureEnabled | ( | ) | const [inline] |
| void osgGA::StateSetManipulator::setPolygonMode | ( | osg::PolygonMode::Mode | newpolygonmode | ) |
| osg::PolygonMode::Mode osgGA::StateSetManipulator::getPolygonMode | ( | ) | const |
| void osgGA::StateSetManipulator::cyclePolygonMode | ( | ) |
| osg::PolygonMode* osgGA::StateSetManipulator::getOrCreatePolygonMode | ( | ) | [protected] |
bool osgGA::StateSetManipulator::_initialized [protected] |
bool osgGA::StateSetManipulator::_backface [protected] |
bool osgGA::StateSetManipulator::_lighting [protected] |
bool osgGA::StateSetManipulator::_texture [protected] |
unsigned int osgGA::StateSetManipulator::_maxNumOfTextureUnits [protected] |