OpenSceneGraph
3.0.1
|
Functor for transforming a drawable's vertex and normal attributes by specified matrix. More...
Public Member Functions | |
TransformAttributeFunctor (const osg::Matrix &m) | |
Construct a functor to transform a drawable's vertex and normal attributes by specified matrix. | |
virtual | ~TransformAttributeFunctor () |
virtual void | apply (osg::Drawable::AttributeType type, unsigned int count, osg::Vec3 *begin) |
Do the work of transforming vertex and normal attributes. | |
virtual void | apply (osg::Drawable::AttributeType type, unsigned int count, osg::Vec3d *begin) |
Public Attributes | |
osg::Matrix | _m |
osg::Matrix | _im |
Functor for transforming a drawable's vertex and normal attributes by specified matrix.
typically used for flattening transform down onto drawable leaves.
osgUtil::TransformAttributeFunctor::TransformAttributeFunctor | ( | const osg::Matrix & | m | ) |
Construct a functor to transform a drawable's vertex and normal attributes by specified matrix.
virtual osgUtil::TransformAttributeFunctor::~TransformAttributeFunctor | ( | ) | [virtual] |
virtual void osgUtil::TransformAttributeFunctor::apply | ( | osg::Drawable::AttributeType | type, |
unsigned int | count, | ||
osg::Vec3 * | begin | ||
) | [virtual] |
Do the work of transforming vertex and normal attributes.
Reimplemented from osg::Drawable::AttributeFunctor.
virtual void osgUtil::TransformAttributeFunctor::apply | ( | osg::Drawable::AttributeType | type, |
unsigned int | count, | ||
osg::Vec3d * | begin | ||
) | [virtual] |
Reimplemented from osg::Drawable::AttributeFunctor.
![]() | Generated at Mon Oct 3 2011 12:39:50 for the OpenSceneGraph by doxygen 1.7.5. |