Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

osgUtil::TransformAttributeFunctor Class Reference

Inheritance diagram for osgUtil::TransformAttributeFunctor:

osg::Drawable::AttributeFunctor List of all members.

Public Member Functions

 TransformAttributeFunctor (const osg::Matrix &m)
virtual ~TransformAttributeFunctor ()
virtual void apply (osg::Drawable::AttributeType type, unsigned int count, osg::Vec3 *begin)

Public Attributes

osg::Matrix _m
osg::Matrix _im

Detailed Description

Functor for transforming a drawable's vertex and normal attributes by specified matrix. typically used for flattening transform down onto drawable leaves.


Constructor & Destructor Documentation

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]
 


Member Function Documentation

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.


Member Data Documentation

osg::Matrix osgUtil::TransformAttributeFunctor::_im
 

osg::Matrix osgUtil::TransformAttributeFunctor::_m
 


The documentation for this class was generated from the following file:
Generated on Thu Sep 8 04:58:47 2005 for OpenSceneGraph by  doxygen 1.3.9.1