#include <osgprimitive.h>
Inherits OSGPrimitive.
Inheritance diagram for OSGMesh:


Public Member Functions | |
| OSGMesh (const std::string &filename, float scale=1, const osgDB::ReaderWriter::Options *options=0) | |
| Constuctor. | |
| ~OSGMesh () | |
| virtual void | init (const OsgHandle &osgHandle, Quality quality=Middle) |
| Initialisation of the primitive. | |
| virtual float | getRadius () |
| float | getScale () |
Protected Attributes | |
| std::string | filename |
| float | scale |
| const osgDB::ReaderWriter::Options * | options |
| osg::ref_ptr< osg::Node > | mesh |
| osg::ref_ptr< osg::MatrixTransform > | scaletrans |
|
||||||||||||||||
|
Constuctor.
|
|
|
|
|
|
|
|
|
|
|
||||||||||||
|
Initialisation of the primitive. Must in order to place the object into the scene. This function should be overloaded Implements OSGPrimitive.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1.3.8