3ds Max C++ API Reference
Loading...
Searching...
No Matches
IPatchDeformPWMod Class Referenceabstract

#include <ISkinWrapPatch.h>

+ Inheritance diagram for IPatchDeformPWMod:

Public Types

enum  { patchdeformpw_params }
 
enum  { pb_patch , pb_autoupdate , pb_samplerate , pb_patchlist }
 
- Public Types inherited from BaseInterface
enum  LifetimeType { noRelease , immediateRelease , wantsRelease , serverControlled }
 

Public Member Functions

FPInterfaceDescGetDesc ()
 
virtual void Resample ()=0
 Resample() This forces the modifier to resample itself.
 
virtual int GetNumberOfPoints (INode *node)=0
 int GetNumberOfPoints(INode *node) This returns the number of points that are deformed
 
virtual Point3 GetPointUVW (INode *node, int index)=0
 int Point3 GetPointUVW(INode *node, int index) This returns the closest UVW point on the patch to this point INode *node this is the node that owns the modifier so we can get the right local data int index this is the index of the point you want to lookup
 
virtual Point3 GetPointLocalSpace (INode *node, int index)=0
 int Point3 GetPointUVW(INode *node, int index) This returns the local space point of the deforming point before deformation INode *node this is the node that owns the modifier so we can get the right local data int index this is the index of the point you want to lookup
 
virtual Point3 GetPointPatchSpace (INode *node, int index)=0
 int Point3 GetPointPatchSpace(INode *node, int index) This returns the point in the space of the patch of the deforming point before deformation INode *node this is the node that owns the modifier so we can get the right local data int index this is the index of the point you want to lookup
 
virtual int GetPointPatchIndex (INode *node, int index)=0
 int int GetPointPatchIndex(INode *node, int index) This returns closest patch to this point INode *node this is the node that owns the modifier so we can get the right local data int index this is the index of the point you want to lookup
 
- 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 BaseInterfaceGetInterface (Interface_ID id)
 
virtual FPInterfaceDescGetDesc ()=0
 
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.
 
UtilExport BaseInterfaceGetInterface (Interface_ID id) override
 
virtual UtilExport Interface_ID GetID ()
 
virtual LifetimeType LifetimeControl ()
 
virtual bool RegisterNotifyCallback (InterfaceNotifyCallback *incb)
 
virtual void UnRegisterNotifyCallback (InterfaceNotifyCallback *incb)
 
virtual BaseInterfaceAcquireInterface ()
 
virtual void ReleaseInterface ()
 
virtual void DeleteInterface ()
 
virtual BaseInterfaceCloneInterface (void *remapDir=nullptr)
 
- Public Member Functions inherited from InterfaceServer
virtual UtilExport ~InterfaceServer ()
 Destructor.
 
virtual UtilExport BaseInterfaceGetInterface (Interface_ID id)
 
template<class InterfaceType >
InterfaceType * GetTypedInterface ()
 

Additional Inherited Members

- 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.
 
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.
 
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.
 
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.
 
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.
 
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.
 
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.
 
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.
 
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.
 
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.
 
static UtilExport voidoperator new[] (size_t size, int block_type, const char *filename, int line)
 New operator used to allocate arrays of objects.
 
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.
 
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.
 
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.
 
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.
 
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.
 
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.
 
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.
 
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.
 
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.
 
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.
 
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.
 
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.
 
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.
 
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.
 
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.
 
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.
 
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.
 
static UtilExport voidoperator new (size_t size, void *placement_ptr)
 Placement new operator.
 
static UtilExport void operator delete (void *ptr, void *placement_ptr)
 Placement delete operator.
 
static UtilExport voidaligned_malloc (size_t size, size_t alignment)
 Allocates memory on a specified alignment boundary.
 
static UtilExport voidaligned_realloc (void *ptr, size_t size, size_t alignment)
 Reallocates memory on a specified alignment boundary.
 
static UtilExport void aligned_free (void *ptr)
 Frees a block of memory that was allocated with aligned_malloc/aligned_realloc.
 
- 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 FPMixinInterface
Tab< InterfaceNotifyCallback * > * interfaceNotifyCBs
 

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
patchdeformpw_params 

This is the parameter rollup fields.

14 {
16 };
@ patchdeformpw_params
This is the parameter rollup fields.
Definition: ISkinWrapPatch.h:15

◆ anonymous enum

anonymous enum
Enumerator
pb_patch 
pb_autoupdate 

this is the patch that is doing the deformation

pb_samplerate 

Not used anymore.

pb_patchlist 

this is how far down the system will sample to find hits on the patch the higher the value the more accurate it will be

to be used later

19 {
20 pb_patch,
25 };
@ pb_patch
Definition: ISkinWrapPatch.h:20
@ pb_patchlist
this is how far down the system will sample to find hits on the patch the higher the value the more a...
Definition: ISkinWrapPatch.h:24
@ pb_autoupdate
this is the patch that is doing the deformation
Definition: ISkinWrapPatch.h:21
@ pb_samplerate
Not used anymore.
Definition: ISkinWrapPatch.h:22

Member Function Documentation

◆ GetDesc()

FPInterfaceDesc * GetDesc ( )
virtual
Remarks
Returns a pointer to the class which contains the interface metadata.

Implements FPInterface.

◆ Resample()

virtual void Resample ( )
pure virtual

Resample() This forces the modifier to resample itself.

This will force the system to resample the patch

◆ GetNumberOfPoints()

virtual int GetNumberOfPoints ( INode node)
pure virtual

int GetNumberOfPoints(INode *node) This returns the number of points that are deformed

◆ GetPointUVW()

virtual Point3 GetPointUVW ( INode node,
int  index 
)
pure virtual

int Point3 GetPointUVW(INode *node, int index) This returns the closest UVW point on the patch to this point INode *node this is the node that owns the modifier so we can get the right local data int index this is the index of the point you want to lookup

◆ GetPointLocalSpace()

virtual Point3 GetPointLocalSpace ( INode node,
int  index 
)
pure virtual

int Point3 GetPointUVW(INode *node, int index) This returns the local space point of the deforming point before deformation INode *node this is the node that owns the modifier so we can get the right local data int index this is the index of the point you want to lookup

◆ GetPointPatchSpace()

virtual Point3 GetPointPatchSpace ( INode node,
int  index 
)
pure virtual

int Point3 GetPointPatchSpace(INode *node, int index) This returns the point in the space of the patch of the deforming point before deformation INode *node this is the node that owns the modifier so we can get the right local data int index this is the index of the point you want to lookup

◆ GetPointPatchIndex()

virtual int GetPointPatchIndex ( INode node,
int  index 
)
pure virtual

int int GetPointPatchIndex(INode *node, int index) This returns closest patch to this point INode *node this is the node that owns the modifier so we can get the right local data int index this is the index of the point you want to lookup