Base class for all emitter shapes. More...
#include <EmitterGeoms.h>
Public Member Functions | |
virtual void | setEmitterType (EmitterType::Enum)=0 |
Sets the type of the emitter. | |
virtual EmitterType::Enum | getEmitterType () const =0 |
Gets the type of the emitter. | |
virtual const EmitterGeomBox * | isBoxGeom () const |
If it is a box, cast to box class, return NULL otherwise. | |
virtual const EmitterGeomSphere * | isSphereGeom () const |
If it is a sphere, cast to sphere class, return NULL otherwise. | |
virtual const EmitterGeomSphereShell * | isSphereShellGeom () const |
If it is a sphere shell, cast to sphere shell class, return NULL otherwise. | |
virtual const EmitterGeomCylinder * | isCylinderGeom () const |
If it is a cylinder shell, cast to cylinder class, return NULL otherwise. | |
virtual const EmitterGeomExplicit * | isExplicitGeom () const |
If it is an explicit geom, cast to explicit geom class, return NULL otherwise. |
Base class for all emitter shapes.
virtual EmitterType::Enum nvidia::apex::EmitterGeom::getEmitterType | ( | ) | const [pure virtual] |
Gets the type of the emitter.
virtual const EmitterGeomBox* nvidia::apex::EmitterGeom::isBoxGeom | ( | ) | const [inline, virtual] |
If it is a box, cast to box class, return NULL otherwise.
virtual const EmitterGeomCylinder* nvidia::apex::EmitterGeom::isCylinderGeom | ( | ) | const [inline, virtual] |
If it is a cylinder shell, cast to cylinder class, return NULL otherwise.
virtual const EmitterGeomExplicit* nvidia::apex::EmitterGeom::isExplicitGeom | ( | ) | const [inline, virtual] |
If it is an explicit geom, cast to explicit geom class, return NULL otherwise.
virtual const EmitterGeomSphere* nvidia::apex::EmitterGeom::isSphereGeom | ( | ) | const [inline, virtual] |
If it is a sphere, cast to sphere class, return NULL otherwise.
virtual const EmitterGeomSphereShell* nvidia::apex::EmitterGeom::isSphereShellGeom | ( | ) | const [inline, virtual] |
If it is a sphere shell, cast to sphere shell class, return NULL otherwise.
virtual void nvidia::apex::EmitterGeom::setEmitterType | ( | EmitterType::Enum | ) | [pure virtual] |
Sets the type of the emitter.