IParticleChannelInt.h
 
 
 
IParticleChannelInt.h

Functions

virtual int  GetValue (int index) const =0
  get property for particle with index
virtual bool  IsGlobal () const =0
  verify if the channel is global
virtual int  GetValue () const =0
  if channel is global returns the global value.
FPInterfaceDesc GetDesc ()
BEGIN_FUNCTION_MAP  VFN_2 (kSetValue, SetValue, TYPE_INT, TYPE_INT)
  VFN_1 (kSetValueGlobal, SetValue, TYPE_INT)
virtual void  SetValue (int index, int value)=0
  set property for particle with index
virtual void  SetValue (int value)=0
  set property for all particles at once thus making the channel global
FPInterfaceDesc GetDesc ()

Function Documentation

int GetValue ( int  index ) const [pure virtual]

get property for particle with index

bool IsGlobal ( ) const [pure virtual]

verify if the channel is global

int GetValue ( ) const [pure virtual]

if channel is global returns the global value.

if channel is not global returns value of the first particle

FPInterfaceDesc * GetDesc ( ) [inline, virtual]
Remarks:
Returns a pointer to the class which contains the interface metadata.

Implements FPInterface.

BEGIN_FUNCTION_MAP VFN_2 ( kSetValue  ,
SetValue  ,
TYPE_INT  ,
TYPE_INT   
)
VFN_1 ( kSetValueGlobal  ,
SetValue  ,
TYPE_INT   
)
void SetValue ( int  index,
int  value 
) [pure virtual]

set property for particle with index

void SetValue ( int  value ) [pure virtual]

set property for all particles at once thus making the channel global

FPInterfaceDesc * GetDesc ( ) [inline, virtual]
Remarks:
Returns a pointer to the class which contains the interface metadata.

Implements FPInterface.