3ds Max C++ API Reference
IParticleContainer Class Reference

#include <IParticleContainer.h>

+ Inheritance diagram for IParticleContainer:

Additional Inherited Members

- Public Types inherited from IChannelContainer
enum  { kGetPublicChannel , kGetPrivateChannel , kAddChannel }
 
- Public Types inherited from BaseInterface
enum  LifetimeType { noRelease , immediateRelease , wantsRelease , serverControlled }
 
- Public Types inherited from IParticleChannelAmountR
enum  { kCount }
 
- Public Types inherited from IParticleChannelAmountW
enum  {
  kZeroCount , kSetCount , kDeleteByIndex , kDeleteByArray ,
  kSplit , kSpawn , kAppendNum , kAppend
}
 
- Public Member Functions inherited from IObject
virtual const MCHARGetIObjectName ()
 
virtual void AcquireIObject ()
 
virtual void ReleaseIObject ()
 
virtual void DeleteIObject ()
 
- Public Member Functions inherited from BaseInterfaceServer
virtual UtilExport BaseInterfaceGetInterface (Interface_ID id)
 
virtual UtilExport int NumInterfaces () const
 
virtual UtilExport BaseInterfaceGetInterfaceAt (int i) const
 
virtual UtilExport ~BaseInterfaceServer ()
 
- Public Member Functions inherited from InterfaceServer
virtual UtilExport ~InterfaceServer ()
 Destructor. More...
 
template<class InterfaceType >
InterfaceType * GetTypedInterface ()
 
- Public Member Functions inherited from IChannelContainer
 FN_2 (kGetPublicChannel, TYPE_IOBJECT, GetPublicChannel, TYPE_INT, TYPE_INT)
 
 FN_4 (kGetPrivateChannel, TYPE_IOBJECT, GetPrivateChannel, TYPE_INT, TYPE_INT, TYPE_OBJECT, TYPE_INODE)
 
 FN_1 (kAddChannel, TYPE_bool, AddChannel, TYPE_IOBJECT)
 
virtual Class_ID GetClassID ()=0
 Returns the unique ID for the particle container class. More...
 
virtual int NumChannels () const =0
 Returns number of channels in the container. More...
 
virtual IObject *& GetChannel (int i)=0
 Returns i-th channel in the container. More...
 
virtual IObjectGetChannel (Interface_ID id, Object *privateOwner=NULL, INode *creatorAction=NULL)=0
 Returns a channel with the given interface id. More...
 
IObjectGetPublicChannel (int id_PartA, int id_PartB)
 FnPub alternative for the method virtual IObject* GetChannel. More...
 
IObjectGetPrivateChannel (int id_PartA, int id_PartB, Object *privateOwner, INode *creatorAction)
 FnPub alternative for method virtual IObject* GetChannel. More...
 
virtual bool AddChannel (IObject *channel)=0
 Returns true if the channel has been added. More...
 
virtual IObjectEnsureChannel (Interface_ID &iChanID, Class_ID &channelClassID, bool isWrapper, Interface_ID &wrappingReadID, Interface_ID &wrappingWriteID, bool isTransferable=TRUE, INode *creatorAction=NULL, Object *privateOwner=NULL, bool *initChannel=NULL)=0
 Returns a channel object if a channel with the given interface id is in the container. More...
 
virtual BaseInterfaceEnsureInterface (Interface_ID &iChanID, Class_ID &channelClassID, bool isWrapper, Interface_ID &wrappingReadID, Interface_ID &wrappingWriteID, bool isTransferable=TRUE, INode *creatorAction=NULL, Object *privateOwner=NULL, bool *initChannel=NULL)=0
 Returns an interface if the interface with the given interface id is in the container. More...
 
virtual BaseInterfaceGetPrivateInterface (Interface_ID id, Object *privateOwner)=0
 Returns an interface of a channel with the given interface id and private owner. More...
 
virtual int RemoveNonTransferableChannels (INode *nextParticleGroup=NULL)=0
 Returns an interface of a channel with the given interface id and private owner parameters:
iChanID: interface id of channel to be present in the container
privateOwner: the parameter is used to identify a private owner of the channel. More...
 
virtual IObjectClone ()=0
 Makes a clone copy of the whole container (all channels), returns new container. More...
 
virtual bool Copy (IObject *container)=0
 Makes a copy from the other container, returns true if successful. More...
 
virtual IOResult Save (ISave *isave) const =0
 Saves content of the channel to file. More...
 
virtual IOResult Load (ILoad *iload)=0
 Loads content of the channel from file. More...
 
virtual int MemoryUsed () const =0
 Returns amount of memory used (in bytes) by the channel container to store the information. More...
 
FPInterfaceDescGetDesc ()
 
- Public Member Functions inherited from FPMixinInterface
 FPMixinInterface ()
 
virtual LifetimeType LifetimeControl ()
 
virtual CoreExport bool RegisterNotifyCallback (InterfaceNotifyCallback *incb)
 
virtual void UnRegisterNotifyCallback (InterfaceNotifyCallback *incb)
 
CoreExport ~FPMixinInterface ()
 
virtual BaseInterfaceGetInterface (Interface_ID id)
 
virtual FPInterfaceDescGetDescByID (Interface_ID id)
 
virtual Interface_ID GetID ()
 
- Public Member Functions inherited from FPInterface
virtual CoreExport FPStatus Invoke (FunctionID fid, TimeValue t=0, FPParams *params=NULL)
 
virtual FPStatus Invoke (FunctionID fid, FPParams *params)
 
virtual CoreExport FPStatus Invoke (FunctionID fid, TimeValue t, FPValue &result, FPParams *params=NULL)
 
virtual FPStatus Invoke (FunctionID fid, FPValue &result, FPParams *params=NULL)
 
virtual CoreExport FunctionID FindFn (const MCHAR *name)
 
virtual CoreExport BOOL IsEnabled (FunctionID actionID)
 
virtual CoreExport BOOL IsChecked (FunctionID actionID)
 
virtual CoreExport BOOL IsVisible (FunctionID actionID)
 
virtual CoreExport FunctionID GetIsEnabled (FunctionID actionID)
 
virtual CoreExport FunctionID GetIsChecked (FunctionID actionID)
 
virtual CoreExport FunctionID GetIsVisible (FunctionID actionID)
 
virtual ActionTableGetActionTable ()
 
virtual void EnableActions (BOOL onOff)
 
- Public Member Functions inherited from BaseInterface
virtual UtilExport ~BaseInterface ()
 Destructor. More...
 
virtual BaseInterfaceAcquireInterface ()
 
virtual void ReleaseInterface ()
 
virtual void DeleteInterface ()
 
virtual BaseInterfaceCloneInterface (void *remapDir=NULL)
 
- Public Member Functions inherited from IParticleChannelAmountR
 FN_0 (kCount, TYPE_INT, Count)
 
virtual int Count () const =0
 Particle count management; number of particles in the channel. More...
 
FPInterfaceDescGetDesc ()
 
- Public Member Functions inherited from IParticleChannelAmountW
 VFN_0 (kZeroCount, ZeroCount)
 
 FN_1 (kSetCount, TYPE_bool, SetCount, TYPE_INT)
 
 FN_2 (kDeleteByIndex, TYPE_INT, Delete, TYPE_INT, TYPE_INT)
 
 FN_1 (kDeleteByArray, TYPE_INT, Delete, TYPE_BITARRAY_BR)
 
 FN_1 (kSplit, TYPE_IOBJECT, Split, TYPE_BITARRAY_BR)
 
 FN_1 (kSpawn, TYPE_bool, Spawn, TYPE_INT_TAB_BR)
 
 FN_1 (kAppendNum, TYPE_bool, AppendNum, TYPE_INT)
 
 FN_1 (kAppend, TYPE_bool, Append, TYPE_IOBJECT)
 
virtual void ZeroCount ()=0
 set number of particles in the channel to zero More...
 
virtual bool SetCount (int n)=0
 set number of particles in the channel to n More...
 
virtual int Delete (int start, int num)=0
 Delete num particles from start index. More...
 
virtual int Delete (BitArray &toRemove)=0
 Delete particles according to the BitArray (bit set == remove). More...
 
virtual IObjectSplit (BitArray &toSplit)=0
 To new "split" particle channel. More...
 
virtual bool Spawn (Tab< int > &spawnTable)=0
 Spawn particles according to the spawnTable. More...
 
virtual bool AppendNum (int num)=0
 Append num particles to the channel(s). More...
 
virtual bool Append (IObject *obj)=0
 Append all particles of another channel/container, then the input channel/container is deleted. More...
 
virtual void ResetAddedAmount ()
 For internal use; no need to implement. More...
 
virtual int GetAddedAmount ()
 For internal use; no need to implement. More...
 
FPInterfaceDescGetDesc ()
 
- Static Public Member Functions inherited from MaxHeapOperators
static UtilExport voidoperator new (size_t size)
 Standard new operator used to allocate objects If there is insufficient memory, an exception will be thrown. More...
 
static UtilExport voidoperator new (size_t size, const std::nothrow_t &e)
 Standard new operator used to allocate objects if there is insufficient memory, NULL will be returned. More...
 
static UtilExport voidoperator new (size_t size, const char *filename, int line)
 New operator used to allocate objects that takes the filename and line number where the new was called If there is insufficient memory, an exception will be thrown. More...
 
static UtilExport voidoperator new (size_t size, int block_type, const char *filename, int line)
 New operator used to allocate objects that takes the type of memory, filename and line number where the new was called If there is insufficient memory, an exception will be thrown. More...
 
static UtilExport voidoperator new (size_t size, const std::nothrow_t &e, const char *filename, int line)
 New operator used to allocate objects that takes the filename and line number where the new was called If there is insufficient memory, NULL will be returned. More...
 
static UtilExport voidoperator new (size_t size, unsigned long flags)
 New operator used to allocate objects that takes extra flags to specify special operations If there is insufficient memory, an exception will be thrown. More...
 
static UtilExport voidoperator new (size_t size, const std::nothrow_t &e, unsigned long flags)
 New operator used to allocate objects that takes extra flags to specify special operations If there is insufficient memory, NULL will be returned. More...
 
static UtilExport voidoperator new[] (size_t size)
 New operator used to allocate arrays of objects If there is insufficient memory, an exception will be thrown. More...
 
static UtilExport voidoperator new[] (size_t size, const std::nothrow_t &e)
 New operator used to allocate arrays of objects If there is insufficient memory, NULL will be returned. More...
 
static UtilExport voidoperator new[] (size_t size, const char *filename, int line)
 New operator used to allocate arrays of objects If there is insufficient memory, an exception will be thrown. More...
 
static UtilExport voidoperator new[] (size_t size, int block_type, const char *filename, int line)
 New operator used to allocate arrays of objects. More...
 
static UtilExport voidoperator new[] (size_t size, const std::nothrow_t &e, const char *filename, int line)
 New operator used to allocate arrays of objects If there is insufficient memory, NULL will be returned. More...
 
static UtilExport voidoperator new[] (size_t size, unsigned long flags)
 New operator used to allocate arrays of objects If there is insufficient memory, an exception will be thrown. More...
 
static UtilExport voidoperator new[] (size_t size, const std::nothrow_t &e, unsigned long flags)
 New operator used to allocate arrays of objects If there is insufficient memory, NULL will be returned. More...
 
static UtilExport void operator delete (void *ptr)
 Standard delete operator used to deallocate an object If the pointer is invalid, an exception will be thrown. More...
 
static UtilExport void operator delete (void *ptr, const std::nothrow_t &e)
 Standard delete operator used to deallocate an object If the pointer is invalid, nothing will happen. More...
 
static UtilExport void operator delete (void *ptr, const char *filename, int line)
 Delete operator used to deallocate an object that takes the filename and line number where the delete was called If the pointer is invalid, an exception will be thrown. More...
 
static UtilExport void operator delete (void *ptr, int block_type, const char *filename, int line)
 Delete operator used to deallocate an object that takes the type of memory, filename and line number where the delete was called If the pointer is invalid, an exception will be thrown. More...
 
static UtilExport void operator delete (void *ptr, const std::nothrow_t &e, const char *filename, int line)
 Delete operator used to deallocate an object that takes the filename and line number where the delete was called If the pointer is invalid, nothing will happen. More...
 
static UtilExport void operator delete (void *ptr, unsigned long flags)
 Delete operator used to deallocate an object that takes extra flags to specify special operations If the pointer is invalid, an exception will be thrown. More...
 
static UtilExport void operator delete (void *ptr, const std::nothrow_t &e, unsigned long flags)
 Delete operator used to deallocate an object that takes extra flags to specify special operations If the pointer is invalid, nothing will happen. More...
 
static UtilExport void operator delete[] (void *ptr)
 Standard delete operator used to deallocate an array of objects If the pointer is invalid, an exception will be thrown. More...
 
static UtilExport void operator delete[] (void *ptr, const std::nothrow_t &e)
 Standard delete operator used to deallocate an array of objects If the pointer is invalid, nothing will happen. More...
 
static UtilExport void operator delete[] (void *ptr, const char *filename, int line)
 Delete operator used to deallocate an array of objects that takes the filename and line number where the delete was called If the pointer is invalid, an exception will be thrown. More...
 
static UtilExport void operator delete[] (void *ptr, int block_type, const char *filename, int line)
 Delete operator used to deallocate an array of objects that takes the type of memory, filename and line number where the delete was called If the pointer is invalid, an exception will be thrown. More...
 
static UtilExport void operator delete[] (void *ptr, const std::nothrow_t &e, const char *filename, int line)
 Delete operator used to deallocate an array of objects that takes the filename and line number where the delete was called If the pointer is invalid, nothing will happen. More...
 
static UtilExport void operator delete[] (void *ptr, unsigned long flags)
 Delete operator used to deallocate an array of objects that takes extra flags to specify special operations If the pointer is invalid, an exception will be thrown. More...
 
static UtilExport void operator delete[] (void *ptr, const std::nothrow_t &e, unsigned long flags)
 Delete operator used to deallocate an array of objects that takes extra flags to specify special operations If the pointer is invalid, an exception will be thrown. More...
 
static UtilExport voidoperator new (size_t size, void *placement_ptr)
 Placement new operator. More...
 
static UtilExport void operator delete (void *ptr, void *placement_ptr)
 Placement delete operator. More...
 
static UtilExport voidaligned_malloc (size_t size, size_t alignment)
 Allocates memory on a specified alignment boundary. More...
 
static UtilExport voidaligned_realloc (void *ptr, size_t size, size_t alignment)
 Reallocates memory on a specified alignment boundary. More...
 
static UtilExport void aligned_free (void *ptr)
 Frees a block of memory that was allocated with aligned_malloc/aligned_realloc. More...
 
- Static Public Attributes inherited from FPInterface
static CoreExport FPInterfaceDesc nullInterface
 
- Protected Member Functions inherited from FPMixinInterface
 FPMixinInterface (const FPMixinInterface &rhs)
 
FPMixinInterfaceoperator= (const FPMixinInterface &rhs)
 
- Protected Member Functions inherited from FPInterface
virtual FPStatus _dispatch_fn (FunctionID fid, TimeValue t, FPValue &result, FPParams *p)
 
- Protected Attributes inherited from BaseInterfaceServer
Tab< BaseInterface * > interfaces
 
- Protected Attributes inherited from FPMixinInterface
Tab< InterfaceNotifyCallback * > * interfaceNotifyCBs