#include <mxsPlugin.h>
MSObjectXtnd | ( | ) | [inline] |
: MS_SUPER() {}
void DeleteThis | ( | ) |
ReferenceTarget* get_delegate | ( | ) | [inline] |
{ return delegate; }
void GetClassName | ( | MSTR & | s | ) | [inline] |
{ s = pc->name->to_string(); } // non-localized name
Class_ID ClassID | ( | ) | [inline] |
{ return pc->class_id; }
void FreeCaches | ( | ) | [inline] |
{ }; // { delegate->FreeCaches(); }
int NumSubs | ( | ) | [inline] |
{ return pblocks.Count() + 1; }
Animatable* SubAnim | ( | int | i | ) | [inline] |
{ if (i == 0) return delegate; else return pblocks[i-1]; }
MSTR SubAnimName | ( | int | i | ) | [inline] |
{ if (i == 0) return delegate->GetObjectName(); else return pblocks[i-1]->GetLocalName(); }
int NumParamBlocks | ( | ) | [inline] |
{ return pblocks.Count(); }
IParamBlock2* GetParamBlock | ( | int | i | ) | [inline] |
{ return pblocks[i]; }
IParamBlock2* GetParamBlockByID | ( | BlockID | id | ) | [inline] |
{ return MSPlugin::GetParamBlockByID(id); }
void* GetInterface | ( | ULONG | id | ) | [inline] |
{ if (id == I_MAXSCRIPTPLUGIN) return (MSPlugin*)this; else return MS_SUPER::GetInterface(id); }
virtual BaseInterface* GetInterface | ( | Interface_ID | id | ) | [inline, virtual] |
{ // 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 MSObjectXtnd 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 MS_SUPER::GetInterface(id); }
int NumRefs | ( | ) |
RefTargetHandle GetReference | ( | int | i | ) |
void SetReference | ( | int | i, |
RefTargetHandle | rtarg | ||
) |
const MCHAR* GetObjectName | ( | ) | [inline] |
{ return pc->name->to_string(); } // non-localized name
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] |
Reimplemented in MSHelperXtnd, MSLightXtnd, MSCameraXtnd, and MSShapeXtnd.
{ return delegate->HitTest(t, inode, type, crossing, flags, p, vpt); }
Reimplemented in MSHelperXtnd, MSLightXtnd, and MSCameraXtnd.
{ return delegate->Display(t, inode, vpt, flags); }
bool RequiresSupportForLegacyDisplayMode | ( | ) | const [inline] |
{ return delegate->RequiresSupportForLegacyDisplayMode(); }
bool UpdateDisplay | ( | const MaxSDK::Graphics::MaxContext & | maxContext, |
const MaxSDK::Graphics::UpdateDisplayContext & | displayContext | ||
) | [inline] |
{ return delegate->UpdateDisplay(maxContext, displayContext); }
const MaxSDK::Graphics::RenderItemHandleArray& GetRenderItems | ( | ) | const [inline] |
{ return delegate->GetRenderItems(); }
Reimplemented in MSHelperXtnd, MSLightXtnd, and MSCameraXtnd.
{ delegate->GetWorldBoundBox(t, inode, vpt, box); }
Reimplemented in MSHelperXtnd, MSLightXtnd, and MSCameraXtnd.
{ delegate->GetLocalBoundBox(t, inode, vpt, box ); }
Reimplemented in MSHelperXtnd, MSLightXtnd, and MSCameraXtnd.
{ delegate->Snap(t, inode, snap, p, vpt); }
CreateMouseCallBack* GetCreateMouseCallBack | ( | ) |
BOOL HasUVW | ( | ) | [inline] |
void SetGenUVW | ( | BOOL | sw | ) | [inline] |
void SetExtendedDisplay | ( | int | flags | ) | [inline] |
{ delegate->SetExtendedDisplay( flags); } // for setting mode-dependent display attributes
ObjectState Eval | ( | TimeValue | time | ) |
Reimplemented in MSHelperXtnd, and MSShapeXtnd.
void InitNodeName | ( | MSTR & | s | ) | [inline] |
Reimplemented in MSShapeXtnd.
{s = GetObjectName();} // non-localized name
Reimplemented in MSHelperXtnd.
{ // CAL-10/1/2002: Don't return the delegate, because it might be deleted. // Return a copy of the delegate instead. (422964) Object* obj = delegate->ConvertToType(t, obtype); if (obj == delegate) { obj = delegate->MakeShallowCopy(OBJ_CHANNELS); obj->LockChannels(OBJ_CHANNELS); //if we shallow copy these channels they need to be locked since they will get double deleted } return obj; }
{ delegate->GetCollapseTypes(clist, nlist); }
Reimplemented in MSHelperXtnd, MSLightXtnd, and MSCameraXtnd.
{ delegate->GetDeformBBox(t, box, tm, useSel); }
Reimplemented in MSShapeXtnd.
{ return delegate->IntersectRay(t, r, at, norm); }