3ds Max C++ API Reference
|
Functions | |
virtual bool | OpenParticleView (Object *engine)=0 |
Opens ParticleView for a given PFEngine. More... | |
virtual IParticleView * | GetActiveParticleView ()=0 |
Returns the ParticleView which is currently open and shown in PView. More... | |
virtual bool | UpdateParticleViews (bool additionsOnly=false)=0 |
If nothing was delete from PView then additionsOnly is set to true. More... | |
virtual bool | PreUpdateParticleViews (bool additionsOnly=false)=0 |
If procedures between Pre. More... | |
virtual bool | PostUpdateParticleViews (bool additionsOnly=false)=0 |
If procedures between Pre. More... | |
virtual bool | CancelUpdateParticleViews ()=0 |
Not supported for maxscript. More... | |
virtual bool | UpdateOnHold ()=0 |
Return true when in between PreUpdate and PostUpdate. More... | |
virtual void | UpdateParticleAmountShown () |
Updates particle amount shown in PViews. More... | |
virtual void | ActionProceedBegin (INode *actionNode) |
Shows that an action starts the proceed. More... | |
virtual void | ActionProceedEnd (INode *actionNode) |
Shows that an action ends the proceed. More... | |
virtual bool | IsParticleViewInForeground () |
Check if any ParticleView is a foreground window. More... | |
static PFExport int | NumActionClasses () |
Public classes only. More... | |
static PFExport ClassDesc * | ActionClass (int index) |
static PFExport const MCHAR * | ActionName (int index) |
static PFExport int | NumPViewItemClasses () |
Public classes only. More... | |
static PFExport ClassDesc * | PViewItemClass (int index) |
static PFExport const MCHAR * | PViewItemName (int index) |
virtual bool | ParticleViewOpenCloseToggle ()=0 |
Used for CUI shortcuts. More... | |
virtual bool | ParticleFlowActivationToggle (bool selectedOnly=false)=0 |
Used for CUI shortcuts. More... | |
virtual int | GetVacantSpace ()=0 |
Returns X coordinate of half-plane of space free from any PF item. More... | |
virtual void | KeepMaterial (Mtl *mtl)=0 |
The method is used to prevent automatic removal of non-used materials from the scene. More... | |
static PFExport void | RegisterModule (Class_ID moduleID) |
The method is used by a PFlow module to register itself with the system. More... | |
static PFExport bool | IsModuleRegistered (Class_ID moduleID) |
Returns true if a PFlow module was registered. More... | |
FPInterfaceDesc * | GetDesc () |
PFExport | IPViewManager () |
virtual PFExport | ~IPViewManager () |
virtual void | releaseManager ()=0 |
Variables | |
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(); More... | |
PFExport void | ReleasePViewManager () |
|
pure virtual |
Opens ParticleView for a given PFEngine.
If there are several ParticleViews with the given PFEngine, a dialog pops up to make a choice.
engine | PFEngine to open particle view for |
|
pure virtual |
Returns the ParticleView which is currently open and shown in PView.
|
pure virtual |
If nothing was delete from PView then additionsOnly is set to true.
|
pure virtual |
If procedures between Pre.
. and Post.. involve additions of new items only then set "additionsOnly" to "true". The rollup panel won't be updated.
|
pure virtual |
If procedures between Pre.
. and Post.. involve additions of new items only then set "additionsOnly" to "true". The rollup panel won't be updated.
|
pure virtual |
Not supported for maxscript.
|
pure virtual |
Return true when in between PreUpdate and PostUpdate.
|
inlinevirtual |
|
inlinevirtual |
|
pure virtual |
Used for CUI shortcuts.
|
pure virtual |
Used for CUI shortcuts.
|
pure virtual |
The method is used to prevent automatic removal of non-used materials from the scene.
The method is used by Shape Instance operator. The operator creates combined materials on-the-fly to be assigned to particles. When the reference object for the operator is changed, the material is changed. The old material could be deleted because it doesn't have any more references in the scene. This may create a problem for undo/redo operations. To prevent that this method creates a reference dependency between PViewManager and the Material. Since PViewManager is not saved with the scene, the materials won't be saved either.
The method is used by a PFlow module to register itself with the system.
This way other PFlow modules can query whether a specific module is present/loaded with the system and act accordingly. Once a module is registered, it cannot be unregistered.
Returns true if a PFlow module was registered.
|
inlinevirtual |
Implements FPInterface.
|
protected |
|
protectedvirtual |
|
protectedpure virtual |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
friend |
friend PFExport void ReleasePViewManager();
Friend function declarations