APEX Emitter Module: nvidia::apex::EmitterGeom Class Reference

NVIDIA APEX

nvidia::apex::EmitterGeom Class Reference

Base class for all emitter shapes. More...

#include <EmitterGeoms.h>

Inheritance diagram for nvidia::apex::EmitterGeom:
nvidia::apex::EmitterGeomBox nvidia::apex::EmitterGeomCylinder nvidia::apex::EmitterGeomExplicit nvidia::apex::EmitterGeomSphere nvidia::apex::EmitterGeomSphereShell

List of all members.

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 EmitterGeomBoxisBoxGeom () const
 If it is a box, cast to box class, return NULL otherwise.
virtual const EmitterGeomSphereisSphereGeom () 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 EmitterGeomCylinderisCylinderGeom () const
 If it is a cylinder shell, cast to cylinder class, return NULL otherwise.
virtual const EmitterGeomExplicitisExplicitGeom () const
 If it is an explicit geom, cast to explicit geom class, return NULL otherwise.

Detailed Description

Base class for all emitter shapes.


Member Function Documentation

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.


The documentation for this class was generated from the following file:

Generated on Fri Dec 15 2017 13:58:27

Copyright © 2012-2017 NVIDIA Corporation, 2701 San Tomas Expressway, Santa Clara, CA 95050 U.S.A. All rights reserved.