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 () |
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::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.
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.
virtual bool osgParticle::CenteredPlacer::isSameKindAs | ( | const osg::Object * | obj | ) | const [inline, virtual] |
Reimplemented from osgParticle::Placer.
const osg::Vec3 & osgParticle::CenteredPlacer::getCenter | ( | ) | const [inline] |
Get the center point.
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.