#include <mxsPlugin.h>
Public Member Functions |
|
void | DeleteThis () |
MSPluginObject () | |
HWND | AddRollupPage (HINSTANCE hInst, MCHAR *dlgTemplate, DLGPROC dlgProc, MCHAR *title, LPARAM param=0, DWORD flags=0, int category=ROLLUP_CAT_STANDARD) |
void | DeleteRollupPage (HWND hRollup) |
IRollupWindow * | GetRollupWindow () |
ReferenceTarget * | get_delegate () |
void | GetClassName (MSTR &s) |
Class_ID | ClassID () |
void | FreeCaches () |
int | NumSubs () |
Animatable * | SubAnim (int i) |
MSTR | SubAnimName (int i) |
int | NumParamBlocks () |
IParamBlock2 * | GetParamBlock (int i) |
IParamBlock2 * | GetParamBlockByID (BlockID id) |
void * | GetInterface (ULONG id) |
virtual BaseInterface * | GetInterface (Interface_ID id) |
RefResult | NotifyRefChanged (Interval changeInt, RefTargetHandle hTarget, PartID &partID, RefMessage message) |
int | NumRefs () |
RefTargetHandle | GetReference (int i) |
void | SetReference (int i, RefTargetHandle rtarg) |
void | RefDeleted () |
IOResult | Save (ISave *isave) |
IOResult | Load (ILoad *iload) |
void | RefAdded (RefMakerHandle rm) |
void | NotifyTarget (int msg, RefMakerHandle rm) |
MCHAR * | GetObjectName () |
void | BeginEditParams (IObjParam *ip, ULONG flags, Animatable *prev) |
void | EndEditParams (IObjParam *ip, ULONG flags, Animatable *next) |
int | HitTest (TimeValue t, INode *inode, int type, int crossing, int flags, IPoint2 *p, ViewExp *vpt) |
int | Display (TimeValue t, INode *inode, ViewExp *vpt, int flags) |
void | GetWorldBoundBox (TimeValue t, INode *inode, ViewExp *vpt, Box3 &box) |
void | GetLocalBoundBox (TimeValue t, INode *inode, ViewExp *vpt, Box3 &box) |
void | Snap (TimeValue t, INode *inode, SnapInfo *snap, IPoint2 *p, ViewExp *vpt) |
CreateMouseCallBack * | GetCreateMouseCallBack () |
BOOL | HasUVW () |
void | SetGenUVW (BOOL sw) |
ObjectState | Eval (TimeValue time) |
void | InitNodeName (MSTR &s) |
Interval | ObjectValidity (TimeValue t) |
int | CanConvertToType (Class_ID obtype) |
Object * | ConvertToType (TimeValue t, Class_ID obtype) |
void | GetCollapseTypes (Tab< Class_ID > &clist, Tab< MSTR * > &nlist) |
void | GetDeformBBox (TimeValue t, Box3 &box, Matrix3 *tm, BOOL useSel) |
int | IntersectRay (TimeValue t, Ray &r, float &at, Point3 &norm) |
Public Attributes |
|
IObjParam * | ip |
MSPluginObject | ( | ) | [inline] |
: TYPE(){}
void DeleteThis | ( | ) |
HWND AddRollupPage | ( | HINSTANCE | hInst, |
MCHAR * | dlgTemplate, | ||
DLGPROC | dlgProc, | ||
MCHAR * | title, | ||
LPARAM | param = 0 , |
||
DWORD | flags = 0 , |
||
int | category =
ROLLUP_CAT_STANDARD |
||
) | [virtual] |
Implements MSPlugin.
void DeleteRollupPage | ( | HWND | hRollup | ) | [virtual] |
Implements MSPlugin.
IRollupWindow* GetRollupWindow | ( | ) | [virtual] |
Implements MSPlugin.
ReferenceTarget* get_delegate | ( | ) | [inline, virtual] |
Implements MSPlugin.
Reimplemented in MSObjectXtnd< GenCamera, MSPluginCamera >, MSObjectXtnd< HelperObject, MSPluginHelper >, MSObjectXtnd< GeomObject, MSPluginGeomObject >, MSObjectXtnd< ShapeObject, MSPluginShape >, and MSObjectXtnd< GenLight, MSPluginLight >.
{ return NULL; } // no delegate
void GetClassName | ( | MSTR & | s | ) | [inline] |
Class_ID ClassID | ( | ) | [inline] |
void FreeCaches | ( | ) | [inline] |
int NumSubs | ( | ) | [inline] |
Animatable* SubAnim | ( | int | i | ) | [inline] |
MSTR SubAnimName | ( | int | i | ) | [inline] |
Reimplemented in MSObjectXtnd< GenCamera, MSPluginCamera >, MSObjectXtnd< HelperObject, MSPluginHelper >, MSObjectXtnd< GeomObject, MSPluginGeomObject >, MSObjectXtnd< ShapeObject, MSPluginShape >, and MSObjectXtnd< GenLight, MSPluginLight >.
{ return pblocks[i]->GetLocalName(); }
int NumParamBlocks | ( | ) | [inline] |
IParamBlock2* GetParamBlock | ( | int | i | ) | [inline] |
IParamBlock2* GetParamBlockByID | ( | BlockID | id | ) | [inline] |
Reimplemented from MSPlugin.
Reimplemented in MSObjectXtnd< GenCamera, MSPluginCamera >, MSObjectXtnd< HelperObject, MSPluginHelper >, MSObjectXtnd< GeomObject, MSPluginGeomObject >, MSObjectXtnd< ShapeObject, MSPluginShape >, and MSObjectXtnd< GenLight, MSPluginLight >.
{ return MSPlugin::GetParamBlockByID(id); }
void* GetInterface | ( | ULONG | id | ) | [inline] |
Reimplemented in MSObjectXtnd< GenCamera, MSPluginCamera >, MSObjectXtnd< HelperObject, MSPluginHelper >, MSObjectXtnd< GeomObject, MSPluginGeomObject >, MSObjectXtnd< ShapeObject, MSPluginShape >, and MSObjectXtnd< GenLight, MSPluginLight >.
{ if (id == I_MAXSCRIPTPLUGIN) return (MSPlugin*)this; else return TYPE::GetInterface(id); }
virtual BaseInterface* GetInterface | ( | Interface_ID | id | ) | [inline, virtual] |
Reimplemented from Value.
Reimplemented in MSObjectXtnd< GenCamera, MSPluginCamera >, MSObjectXtnd< HelperObject, MSPluginHelper >, MSObjectXtnd< GeomObject, MSPluginGeomObject >, MSObjectXtnd< ShapeObject, MSPluginShape >, and MSObjectXtnd< GenLight, MSPluginLight >.
{ // GetInterface(Interface_ID) was added after the MAX 4 // SDK shipped. This did not break the SDK because // it only calls the base class implementation. If you add // any other code here, plugins compiled with the MAX 4 SDK // that derive from MSPluginObject and call Base class // implementations of GetInterface(Interface_ID), will not call // that code in this routine. This means that the interface // you are adding will not be exposed for these objects, // and could have unexpected results. return TYPE::GetInterface(id); }
RefResult NotifyRefChanged | ( | Interval | changeInt, |
RefTargetHandle | hTarget, | ||
PartID & | partID, | ||
RefMessage | message | ||
) | [inline] |
int NumRefs | ( | ) |
RefTargetHandle GetReference | ( | int | i | ) |
void SetReference | ( | int | i, |
RefTargetHandle | rtarg | ||
) |
void RefDeleted | ( | ) | [inline] |
Reimplemented from MSPlugin.
Reimplemented in MSPluginShape, and MSShapeXtnd.
{ return MSPlugin::Save(isave); }
Reimplemented from MSPlugin.
Reimplemented in MSPluginShape, and MSShapeXtnd.
{ return MSPlugin::Load(iload); }
void RefAdded | ( | RefMakerHandle | rm | ) | [inline] |
void NotifyTarget | ( | int | msg, |
RefMakerHandle | rm | ||
) | [inline] |
MCHAR* GetObjectName | ( | ) | [inline] |
Reimplemented in MSObjectXtnd< GenCamera, MSPluginCamera >, MSObjectXtnd< HelperObject, MSPluginHelper >, MSObjectXtnd< GeomObject, MSPluginGeomObject >, MSObjectXtnd< ShapeObject, MSPluginShape >, and MSObjectXtnd< GenLight, MSPluginLight >.
{ return pc->class_name->to_string(); }
void BeginEditParams | ( | IObjParam * | ip, |
ULONG | flags, | ||
Animatable * | prev | ||
) |
void EndEditParams | ( | IObjParam * | ip, |
ULONG | flags, | ||
Animatable * | next | ||
) |
int HitTest | ( | TimeValue | t, |
INode * | inode, | ||
int | type, | ||
int | crossing, | ||
int | flags, | ||
IPoint2 * | p, | ||
ViewExp * | vpt | ||
) | [inline] |
CreateMouseCallBack* GetCreateMouseCallBack | ( | ) | [inline] |
BOOL HasUVW | ( | ) | [inline] |
void SetGenUVW | ( | BOOL | sw | ) | [inline] |
ObjectState Eval | ( | TimeValue | time | ) | [inline] |
void InitNodeName | ( | MSTR & | s | ) | [inline] |
Interval ObjectValidity | ( | TimeValue | t | ) | [inline] |
int CanConvertToType | ( | Class_ID | obtype | ) | [inline] |
Reimplemented in MSHelperXtnd, MSLightXtnd, MSCameraXtnd, MSObjectXtnd< GenCamera, MSPluginCamera >, MSObjectXtnd< HelperObject, MSPluginHelper >, MSObjectXtnd< GeomObject, MSPluginGeomObject >, MSObjectXtnd< ShapeObject, MSPluginShape >, and MSObjectXtnd< GenLight, MSPluginLight >.
{ Object::GetDeformBBox(t, box, tm, useSel); }