void setPosition(const osg::Vec3 &p)
Set the position vector.
Definition Particle:483
Definition SegmentPlacer:32
const osg::Vec3 & getVertexA() const
get vertex A.
Definition SegmentPlacer:90
virtual ~SegmentPlacer()
Definition SegmentPlacer:70
osg::Vec3 getControlPosition() const
return the control position
Definition SegmentPlacer:136
const osg::Vec3 & getVertexB() const
get vertex B.
Definition SegmentPlacer:95
void setVertexA(const osg::Vec3 &v)
Set vertex A of the segment as a vector.
Definition SegmentPlacer:116
SegmentPlacer()
Definition SegmentPlacer:80
void place(Particle *P) const
Place a particle. This method is called by ModularEmitter, do not call it manually.
Definition SegmentPlacer:106
SegmentPlacer & operator=(const SegmentPlacer &)
Definition SegmentPlacer:71
void setVertexB(const osg::Vec3 &v)
Set vertex B of the segment as a vector.
Definition SegmentPlacer:126
float volume() const
return the length of the segment
Definition SegmentPlacer:111
void setSegment(const osg::Vec3 &A, const osg::Vec3 &B)
Set both vertices.
Definition SegmentPlacer:100
META_Object(osgParticle, SegmentPlacer)
Definition AccelOperator:27
range< osg::Vec3 > rangev3
Range of osg::Vec3s.
Definition range:82