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

IPViewManager Class Reference

Search for all occurrences

#include <IPViewManager.h>

Inheritance diagram for IPViewManager:
Inheritance graph
[legend]

List of all members.

Public Types

enum   {
  kOpenParticleView, kUpdateParticleViews, kPreUpdateParticleViews, kPostUpdateParticleViews,
  kUpdateOnHold, kNumActionClasses, kActionClass, kActionName,
  kNumPViewItemClasses, kPViewItemClass, kPViewItemName, kParticleViewOpenCloseToggle,
  kParticleFlowActivationToggle
}

Public Member Functions

BEGIN_FUNCTION_MAP  FN_1 (kOpenParticleView, TYPE_bool, OpenParticleView, TYPE_OBJECT)
  FN_1 (kUpdateParticleViews, TYPE_bool, UpdateParticleViews, TYPE_bool)
  FN_1 (kPreUpdateParticleViews, TYPE_bool, PreUpdateParticleViews, TYPE_bool)
  FN_1 (kPostUpdateParticleViews, TYPE_bool, PostUpdateParticleViews, TYPE_bool)
  FN_0 (kUpdateOnHold, TYPE_bool, UpdateOnHold)
  FN_0 (kNumActionClasses, TYPE_INT, NumActionClasses)
  FN_1 (kActionClass, TYPE_CLASS, ActionClass, TYPE_INT)
  FN_1 (kActionName, TYPE_STRING, ActionName, TYPE_INT)
  FN_0 (kNumPViewItemClasses, TYPE_INT, NumPViewItemClasses)
  FN_1 (kPViewItemClass, TYPE_CLASS, PViewItemClass, TYPE_INT)
  FN_1 (kPViewItemName, TYPE_STRING, PViewItemName, TYPE_INT)
  FN_0 (kParticleViewOpenCloseToggle, TYPE_bool, ParticleViewOpenCloseToggle)
  FN_1 (kParticleFlowActivationToggle, TYPE_bool, ParticleFlowActivationToggle, TYPE_bool)
virtual bool  OpenParticleView (Object *engine)=0
  Opens ParticleView for a given PFEngine.
virtual bool  UpdateParticleViews (bool additionsOnly=false)=0
  If nothing was delete from PView then additionsOnly is set to true.
virtual bool  PreUpdateParticleViews (bool additionsOnly=false)=0
  If procedures between Pre.
virtual bool  PostUpdateParticleViews (bool additionsOnly=false)=0
  If procedures between Pre.
virtual bool  CancelUpdateParticleViews ()=0
  Not supported for maxscript.
virtual bool  UpdateOnHold ()=0
  Return true when in between PreUpdate and PostUpdate.
virtual void  UpdateParticleAmountShown ()
  Updates particle amount shown in PViews.
virtual void  ActionProceedBegin (INode *actionNode)
  Shows that an action starts the proceed.
virtual void  ActionProceedEnd (INode *actionNode)
  Shows that an action ends the proceed.
virtual bool  IsParticleViewInForeground ()
  Check if any ParticleView is a foreground window.
virtual bool  ParticleViewOpenCloseToggle ()=0
  Used for CUI shortcuts.
virtual bool  ParticleFlowActivationToggle (bool selectedOnly=false)=0
  Used for CUI shortcuts.
virtual int  GetVacantSpace ()=0
  Returns X coordinate of half-plane of space free from any PF item.
virtual void  KeepMaterial (Mtl *mtl)=0
  The method is used to prevent automatic removal of non-used materials from the scene.
FPInterfaceDesc GetDesc ()

Static Public Member Functions

static PFExport int  NumActionClasses ()
  Public classes only.
static PFExport ClassDesc ActionClass (int index)
static PFExport MCHAR *  ActionName (int index)
static PFExport int  NumPViewItemClasses ()
  Public classes only.
static PFExport ClassDesc PViewItemClass (int index)
static PFExport MCHAR *  PViewItemName (int index)
static PFExport void  RegisterModule (Class_ID moduleID)
  The method is used by a PFlow module to register itself with the system.
static PFExport bool  IsModuleRegistered (Class_ID moduleID)
  Returns true if a PFlow module was registered.

Protected Member Functions

PFExport  IPViewManager ()
virtual PFExport  ~IPViewManager ()
virtual void  releaseManager ()=0

Static Protected Attributes

static IPViewManager m_manager
static Tab< ClassEntry * >  m_actionClasses
static Tab< ClassEntry * >  m_pViewItemClasses
static Tab< Class_ID m_registeredModules

Friends

PFExport IPViewManager GetPViewManager ()
  friend PFExport void ReleasePViewManager();
PFExport void  ReleasePViewManager ()

Member Enumeration Documentation

anonymous enum

Constructor & Destructor Documentation

PFExport IPViewManager ( ) [protected]
virtual PFExport ~IPViewManager ( ) [protected, virtual]

Member Function Documentation

BEGIN_FUNCTION_MAP FN_1 ( kOpenParticleView  ,
TYPE_bool  ,
OpenParticleView  ,
TYPE_OBJECT   
)
FN_1 ( kUpdateParticleViews  ,
TYPE_bool  ,
UpdateParticleViews  ,
TYPE_bool   
)
FN_1 ( kPreUpdateParticleViews  ,
TYPE_bool  ,
PreUpdateParticleViews  ,
TYPE_bool   
)
FN_1 ( kPostUpdateParticleViews  ,
TYPE_bool  ,
PostUpdateParticleViews  ,
TYPE_bool   
)
FN_0 ( kUpdateOnHold  ,
TYPE_bool  ,
UpdateOnHold   
)
FN_0 ( kNumActionClasses  ,
TYPE_INT  ,
NumActionClasses   
)
FN_1 ( kActionClass  ,
TYPE_CLASS  ,
ActionClass  ,
TYPE_INT   
)
FN_1 ( kActionName  ,
TYPE_STRING  ,
ActionName  ,
TYPE_INT   
)
FN_0 ( kNumPViewItemClasses  ,
TYPE_INT  ,
NumPViewItemClasses   
)
FN_1 ( kPViewItemClass  ,
TYPE_CLASS  ,
PViewItemClass  ,
TYPE_INT   
)
FN_1 ( kPViewItemName  ,
TYPE_STRING  ,
PViewItemName  ,
TYPE_INT   
)
FN_0 ( kParticleViewOpenCloseToggle  ,
TYPE_bool  ,
ParticleViewOpenCloseToggle   
)
FN_1 ( kParticleFlowActivationToggle  ,
TYPE_bool  ,
ParticleFlowActivationToggle  ,
TYPE_bool   
)
virtual void releaseManager ( ) [protected, pure virtual]

Member Data Documentation

IPViewManager* m_manager [static, protected]
Tab<ClassEntry*> m_actionClasses [static, protected]
Tab<ClassEntry*> m_pViewItemClasses [static, protected]
Tab<Class_ID> m_registeredModules [static, protected]

IPViewManager IPViewManager IPViewManager IPViewManager IPViewManager IPViewManager IPViewManager IPViewManager IPViewManager IPViewManager
IPViewManager IPViewManager IPViewManager IPViewManager IPViewManager IPViewManager IPViewManager IPViewManager IPViewManager IPViewManager