3ds Max C++ API Reference
|
Functions | |
virtual bool | OpenParticleView (Object *engine)=0 |
Opens ParticleView for a given PFEngine. | |
virtual IParticleView * | GetActiveParticleView ()=0 |
Returns the ParticleView which is currently open and shown in PView. | |
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. | |
static PFExport int | NumActionClasses () |
Public classes only. | |
static PFExport ClassDesc * | ActionClass (int index) |
static PFExport const MCHAR * | ActionName (int index) |
static PFExport int | NumPViewItemClasses () |
Public classes only. | |
static PFExport ClassDesc * | PViewItemClass (int index) |
static PFExport const MCHAR * | PViewItemName (int index) |
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. | |
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. | |
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(); | |
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 |
Updates particle amount shown in PViews.
Shows that an action starts the proceed.
Shows that an action ends the proceed.
|
inlinevirtual |
Check if any ParticleView is a foreground window.
|
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