Public Types | Public Member Functions

IParticleChannelAmountW Class Reference

Search for all occurrences

#include <IParticleChannelAmount.h>

Inheritance diagram for IParticleChannelAmountW:
Inheritance graph
[legend]

List of all members.

Public Types

enum   {
  kZeroCount, kSetCount, kDeleteByIndex, kDeleteByArray,
  kSplit, kSpawn, kAppendNum, kAppend
}

Public Member Functions

BEGIN_FUNCTION_MAP  VFN_0 (kZeroCount, ZeroCount)
  FN_1 (kSetCount, TYPE_bool, SetCount, TYPE_INT)
  FN_2 (kDeleteByIndex, TYPE_INT, Delete, TYPE_INT, TYPE_INT)
  FN_1 (kDeleteByArray, TYPE_INT, Delete, TYPE_BITARRAY_BR)
  FN_1 (kSplit, TYPE_IOBJECT, Split, TYPE_BITARRAY_BR)
  FN_1 (kSpawn, TYPE_bool, Spawn, TYPE_INT_TAB_BR)
  FN_1 (kAppendNum, TYPE_bool, AppendNum, TYPE_INT)
  FN_1 (kAppend, TYPE_bool, Append, TYPE_IOBJECT)
virtual void  ZeroCount ()=0
  set number of particles in the channel to zero
virtual bool  SetCount (int n)=0
  set number of particles in the channel to n
virtual int  Delete (int start, int num)=0
  Delete num particles from start index.
virtual int  Delete (BitArray &toRemove)=0
  Delete particles according to the BitArray (bit set == remove).
virtual IObject Split (BitArray &toSplit)=0
  To new "split" particle channel.
virtual bool  Spawn (Tab< int > &spawnTable)=0
  Spawn particles according to the spawnTable.
virtual bool  AppendNum (int num)=0
  Append num particles to the channel(s).
virtual bool  Append (IObject *obj)=0
  Append all particles of another channel/container, then the input channel/container is deleted.
virtual void  ResetAddedAmount ()
  For internal use; no need to implement.
virtual int  GetAddedAmount ()
  For internal use; no need to implement.
FPInterfaceDesc GetDesc ()

Member Enumeration Documentation

anonymous enum

IParticleChannelAmountW IParticleChannelAmountW IParticleChannelAmountW IParticleChannelAmountW IParticleChannelAmountW IParticleChannelAmountW IParticleChannelAmountW IParticleChannelAmountW IParticleChannelAmountW IParticleChannelAmountW
IParticleChannelAmountW IParticleChannelAmountW IParticleChannelAmountW IParticleChannelAmountW IParticleChannelAmountW IParticleChannelAmountW IParticleChannelAmountW IParticleChannelAmountW IParticleChannelAmountW IParticleChannelAmountW