IPFActionList.h

Module description

Enumerations

enum  { kListWidth =180 }
 

Functions

FPInterfaceDescGetDesc ()
 Must implement GetDescByID method. More...
 
virtual int NumActions () const =0
 
virtual INodeGetAction (int index) const =0
 
virtual bool AppendAction (INode *action)=0
 
virtual bool InsertAction (INode *action, int indexAt)=0
 
virtual bool RemoveAction (int index)=0
 
virtual bool HasAction (INode *action, int &index) const =0
 
static PFExport bool IsAction (INode *action)
 
static PFExport bool IsOperator (INode *action)
 
static PFExport bool IsTest (INode *action)
 
virtual bool IsActivated () const =0
 
virtual void Activate (bool active)=0
 Activate/deactivate all the actions in the list. More...
 
virtual int IsActionActive (int index) const =0
 Activate/deactivate all the actions in the list. More...
 
virtual void ActivateAction (int index, int active=1)=0
 Activate/deactivate all the actions in the list. More...
 
virtual void GetPViewLocation (int &x, int &y)=0
 
virtual void SetPViewLocation (int x, int y)
 
virtual int GetPViewZOrder ()
 
virtual void SetPViewZOrder (int z)
 
virtual int GetListWidth ()
 
virtual void SetListWidth (int w)
 
PFExport int GetPViewRightBoundary ()
 Returns x-coord of the right side of the action list. More...
 
virtual bool IsCollapsed ()
 Action list may be shown in a "collapsed" state in ParticleView. More...
 
virtual void Collapse ()
 Action list may be shown in a "collapsed" state in ParticleView. More...
 
virtual void Expand ()
 Action list may be shown in a "collapsed" state in ParticleView. More...
 
virtual bool HasUpStream ()
 Indicates if there are PFSystems or ActionLists that direct particle flow in this action list. More...
 
virtual int GetSelected () const
 ActionList has its own methods for selecting. More...
 
virtual void SetSelected (int onOff)
 See virtual int GetSelected(). More...
 
virtual bool AcceptFertile ()
 ActionList has some restrictions on whether it is able to add a "fertile" action. More...
 
virtual void UpdateMaterial ()
 The method is used to initiate material update in the associated particle group. More...
 

Enumeration Type Documentation

anonymous enum
Enumerator
kListWidth 
156 { kListWidth=180 }; // default actionList width
Definition: IPFActionList.h:156

Function Documentation

FPInterfaceDesc * GetDesc ( )
inlinevirtual

Must implement GetDescByID method.

Implements FPInterface.

#define PFACTIONLIST_INTERFACE
Definition: IPFActionList.h:25
virtual FPInterfaceDesc * GetDescByID(Interface_ID id)
Definition: ifnpub.h:613
int NumActions ( ) const
pure virtual
INode * GetAction ( int  index) const
pure virtual
bool AppendAction ( INode action)
pure virtual
bool InsertAction ( INode action,
int  indexAt 
)
pure virtual
bool RemoveAction ( int  index)
pure virtual
bool HasAction ( INode action,
int index 
) const
pure virtual
PFExport static bool IsAction ( INode action)
static
PFExport static bool IsOperator ( INode action)
static
PFExport static bool IsTest ( INode action)
static
bool IsActivated ( ) const
pure virtual
void Activate ( bool  active)
pure virtual

Activate/deactivate all the actions in the list.

int IsActionActive ( int  index) const
pure virtual

Activate/deactivate all the actions in the list.

1: active; 0: non-active for operators and "always false" for tests; -1: "always true" for tests

void ActivateAction ( int  index,
int  active = 1 
)
pure virtual

Activate/deactivate all the actions in the list.

void GetPViewLocation ( int x,
int y 
)
pure virtual
void SetPViewLocation ( int  x,
int  y 
)
inlinevirtual
167 { ; }
int GetPViewZOrder ( )
inlinevirtual
172 { return 0; }
void SetPViewZOrder ( int  z)
inlinevirtual
177 { ; }
int GetListWidth ( )
inlinevirtual
182 { return kListWidth; }
Definition: IPFActionList.h:156
void SetListWidth ( int  w)
inlinevirtual
187 { ; }
PFExport int GetPViewRightBoundary ( )

Returns x-coord of the right side of the action list.

bool IsCollapsed ( )
inlinevirtual

Action list may be shown in a "collapsed" state in ParticleView.

197 { return false; }
void Collapse ( )
inlinevirtual

Action list may be shown in a "collapsed" state in ParticleView.

202 { ; }
void Expand ( )
inlinevirtual

Action list may be shown in a "collapsed" state in ParticleView.

207 { ; }
virtual bool HasUpStream ( )
inlinevirtual

Indicates if there are PFSystems or ActionLists that direct particle flow in this action list.

If returns false then the action list won't produce particles.

213 { return false; }
int GetSelected ( ) const
inlinevirtual

ActionList has its own methods for selecting.

Selected ActionList has a white boundary in the ParticleView. If the corresponding particle system has Event-Based Selection ON, the the corresponding particles are shown as selected.

220 { return 0; }
void SetSelected ( int  onOff)
inlinevirtual

See virtual int GetSelected().

225 { ; }
bool AcceptFertile ( )
inlinevirtual

ActionList has some restrictions on whether it is able to add a "fertile" action.

ActionList may have only single "fertile" action in the list of actions. Also, ActionList may have a "fertile" action only if no test uses this actionList as a next event.

233 { return false; }
void UpdateMaterial ( )
inlinevirtual

The method is used to initiate material update in the associated particle group.

238 { ; }