OpenSceneGraph 2.8.3
|
An abstract placer base class for placers which need a center point. More...
Public Member Functions | |
CenteredPlacer () | |
CenteredPlacer (const CenteredPlacer ©, const osg::CopyOp ©op=osg::CopyOp::SHALLOW_COPY) | |
virtual const char * | libraryName () const |
return the name of the object's library. | |
virtual const char * | className () const |
return the name of the object's class type. | |
virtual bool | isSameKindAs (const osg::Object *obj) const |
const osg::Vec3 & | getCenter () const |
Get the center point. | |
void | setCenter (const osg::Vec3 &v) |
Set the center point. | |
void | setCenter (float x, float y, float z) |
Set the center point. | |
Protected Member Functions | |
virtual | ~CenteredPlacer () |
An abstract placer base class for placers which need a center point.
osgParticle::CenteredPlacer::CenteredPlacer | ( | ) | [inline] |
osgParticle::CenteredPlacer::CenteredPlacer | ( | const CenteredPlacer & | copy, |
const osg::CopyOp & | copyop = osg::CopyOp::SHALLOW_COPY |
||
) | [inline] |
virtual osgParticle::CenteredPlacer::~CenteredPlacer | ( | ) | [inline, protected, virtual] |
virtual const char* osgParticle::CenteredPlacer::className | ( | ) | const [inline, virtual] |
return the name of the object's class type.
Must be defined by derived classes.
Reimplemented from osgParticle::Placer.
const osg::Vec3 & osgParticle::CenteredPlacer::getCenter | ( | ) | const [inline] |
virtual bool osgParticle::CenteredPlacer::isSameKindAs | ( | const osg::Object * | obj | ) | const [inline, virtual] |
Reimplemented from osgParticle::Placer.
virtual const char* osgParticle::CenteredPlacer::libraryName | ( | ) | const [inline, virtual] |
return the name of the object's library.
Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name.
Reimplemented from osgParticle::Placer.
void osgParticle::CenteredPlacer::setCenter | ( | const osg::Vec3 & | v | ) | [inline] |
Set the center point.
void osgParticle::CenteredPlacer::setCenter | ( | float | x, |
float | y, | ||
float | z | ||
) | [inline] |
Set the center point.
References osg::Vec3f::set().
![]() | Generated at Tue Mar 22 2011 13:20:28 for the OpenSceneGraph by doxygen 1.7.3. |