Public Types | Public Member Functions | Static Public Member Functions | Protected Attributes

IPViewItem Class Reference

Search for all occurrences

#include <IPViewItem.h>

Inheritance diagram for IPViewItem:
Inheritance graph
[legend]

List of all members.

Public Types

enum   {
  kNumPViewParamBlocks, kGetPViewParamBlock, kHasComments, kGetComments,
  kSetComments, kGetWireExtension, kSetWireExtension
}

Public Member Functions

BEGIN_FUNCTION_MAP  FN_0 (kNumPViewParamBlocks, TYPE_INT, NumPViewParamBlocks)
  FN_1 (kGetPViewParamBlock, TYPE_REFTARG, GetPViewParamBlock, TYPE_INDEX)
  FN_1 (kHasComments, TYPE_bool, HasComments, TYPE_INODE)
  FN_1 (kGetComments, TYPE_STRING, GetComments, TYPE_INODE)
  VFN_2 (kSetComments, SetComments, TYPE_INODE, TYPE_STRING)
  FN_2 (kGetWireExtension, TYPE_INT, GetWireExtension, TYPE_INODE, TYPE_INT)
  VFN_3 (kSetWireExtension, SetWireExtension, TYPE_INODE, TYPE_INT, TYPE_INT)
  IPViewItem ()
virtual int  NumPViewParamBlocks () const =0
virtual IParamBlock2 GetPViewParamBlock (int i) const =0
PFExport int  NumPViewParamMaps () const
PFExport IParamMap2 GetPViewParamMap (int i) const
PFExport void  AddPViewParamMap (IParamMap2 *map)
PFExport void  RemovePViewParamMap (IParamMap2 *map)
virtual bool  HasCustomPViewIcons ()
  Implement if you want your operator/test to be shown with a custom icon in ParticleView.
virtual HBITMAP  GetActivePViewIcon ()
  Implement if you want your operator/test to be shown with a custom icon in ParticleView.
virtual HBITMAP  GetInactivePViewIcon ()
  Implement if you want your operator/test to be shown with a custom icon in ParticleView.
virtual HBITMAP  GetTruePViewIcon ()
  Implement if you want your operator/test to be shown with a custom icon in ParticleView.
virtual HBITMAP  GetFalsePViewIcon ()
  Implement if you want your operator/test to be shown with a custom icon in ParticleView.
PFExport int  GetNumInstances () const
  Used to track instanced actions.
PFExport void  SetNumInstances (int num)
  Used to track instanced actions.
PFExport void  IncNumInstances ()
  Used to track instanced actions.
PFExport bool  HasComments (INode *itemNode) const
  A PView item can have comments.
PFExport MSTR  GetComments (INode *itemNode) const
  See HasComments().
PFExport void  SetComments (INode *itemNode, MSTR comments)
  See HasComments().
PFExport void  EditComments (INode *itemNode, HWND parentWnd, long x, long y)
  See HasComments().
PFExport LRESULT CALLBACK  commentsProc (HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam)
  For internal use.
virtual bool  HasDynamicName (MSTR &nameSuffix)
  For dynamic names support; if the action has a dynamic name then it supplies the name suffix.
FPInterfaceDesc GetDesc ()

Static Public Member Functions

static PFExport int  GetWireExtension (INode *node, int &wireHeight)
  To read/modify the length/height of the wire nub extended from an emitter, or an action list, or a test.
static PFExport void  SetWireExtension (INode *node, int wireLen, int wireHight)
  Sets wire length.

Protected Attributes

Tab< IParamMap2 * >  m_paramMaps
int  m_numInstances
Tab< INode * >  m_nodes
Tab< HWND >  m_hWnds

Member Enumeration Documentation

anonymous enum

Member Function Documentation

BEGIN_FUNCTION_MAP FN_0 ( kNumPViewParamBlocks  ,
TYPE_INT  ,
NumPViewParamBlocks   
)
FN_1 ( kGetPViewParamBlock  ,
TYPE_REFTARG  ,
GetPViewParamBlock  ,
TYPE_INDEX   
)
FN_1 ( kHasComments  ,
TYPE_bool  ,
HasComments  ,
TYPE_INODE   
)
FN_1 ( kGetComments  ,
TYPE_STRING  ,
GetComments  ,
TYPE_INODE   
)
VFN_2 ( kSetComments  ,
SetComments  ,
TYPE_INODE  ,
TYPE_STRING   
)
FN_2 ( kGetWireExtension  ,
TYPE_INT  ,
GetWireExtension  ,
TYPE_INODE  ,
TYPE_INT   
)
VFN_3 ( kSetWireExtension  ,
SetWireExtension  ,
TYPE_INODE  ,
TYPE_INT  ,
TYPE_INT   
)

Member Data Documentation

Tab<IParamMap2*> m_paramMaps [protected]
int m_numInstances [protected]
Tab<INode*> m_nodes [protected]
Tab<HWND> m_hWnds [protected]

IPViewItem IPViewItem IPViewItem IPViewItem IPViewItem IPViewItem IPViewItem IPViewItem IPViewItem IPViewItem
IPViewItem IPViewItem IPViewItem IPViewItem IPViewItem IPViewItem IPViewItem IPViewItem IPViewItem IPViewItem