Interface7 Class Reference

#include <maxapi.h>

Class Description

This class extends Max's previous version of core interface (class Interface) "7" is the major version number of Max that exposes this interface.

Call GetCOREInterface7 to acquire a pointer to this interface.

+ Inheritance diagram for Interface7:

Public Types

enum  PivotMode { kPIV_NONE = PIV_NONE, kPIV_PIVOT_ONLY = PIV_PIVOT_ONLY, kPIV_OBJECT_ONLY = PIV_OBJECT_ONLY, kPIV_HIERARCHY_ONLY = PIV_HIERARCHY_ONLY }
 Pivot modes the system can be in. More...
 
enum  ResCode { kRES_INTERNAL_ERROR = -3, kRES_MOD_NOT_FOUND = -2, kRES_MOD_NOT_APPLICABLE = -1, kRES_SUCCESS = 0 }
 
- Public Types inherited from BaseInterface
enum  LifetimeType { noRelease, immediateRelease, wantsRelease, serverControlled }
 

Public Member Functions

virtual void GetSelNodeTab (INodeTab &selectedNodes) const =0
 Retrieves the currently selected nodes into the supplied parameter. More...
 
virtual PivotMode GetPivotMode () const =0
 Returns the current pivot mode the system is in. More...
 
virtual void SetPivotMode (PivotMode pivMode)=0
 Set the pivot mode of the system. More...
 
virtual bool GetAffectChildren () const =0
 Returns true if the transforms applied to a node will affect its children, otherwise returns false. More...
 
virtual void SetAffectChildren (bool bAffectChildren)=0
 Sets whether the transforms applied to a node will affect its children. More...
 
virtual void GetCurRefCoordSysName (MSTR &name) const =0
 Given a reference coordinate system id, returns the name of it. More...
 
virtual void AddRefCoordNode (INode *node)=0
 Allows for setting the specified node's axis, as the current reference coordinate system. More...
 
virtual INodeGetRefCoordNode ()=0
 
virtual bool ShouldContinueRenderOnError () const =0
 Only relevant for network rendering. More...
 
virtual void SetupFrameRendParams (FrameRendParams &frp, RendParams &rp, ViewExp *vx, RECT *r)=0
 
virtual void SetupFrameRendParams_MXS (FrameRendParams &frp, RendParams &rp, ViewExp *vx, RECT *r, bool useSelBox)=0
 
virtual int InitDefaultLights (DefaultLight *dl, int maxn, BOOL applyGlobalLevel=FALSE, ViewExp *vx=NULL, BOOL forRenderer=FALSE)=0
 
virtual void IncrRenderActive ()=0
 Methods used to sync use with Material Editor sample rendering. More...
 
virtual void DecrRenderActive ()=0
 
virtual BOOL IsRenderActive ()=0
 
virtual BOOL XRefRenderBegin ()=0
 
virtual void XRefRenderEnd ()=0
 
virtual void OpenRenderDialog ()=0
 
virtual void CancelRenderDialog ()=0
 
virtual void CloseRenderDialog ()=0
 
virtual void CommitRenderDialogParameters ()=0
 
virtual void UpdateRenderDialogParameters ()=0
 
virtual BOOL RenderDialogOpen ()=0
 
virtual BitmapGetLastRenderedImage ()=0
 
virtual HWND GetStatusPanelHWnd ()=0
 Returns the window handle of the status panel window (this holds the MAXScript mini-listener) More...
 
virtual void SetListenerMiniHWnd (HWND wnd)=0
 
virtual HWND GetListenerMiniHWnd ()=0
 
virtual int MAXScriptHelp (const MCHAR *keyword=NULL)=0
 Starts the MAXScript help. More...
 
virtual MAXScriptPrefsGetMAXScriptPrefs ()=0
 Retrieves maxscript preferences. More...
 
virtual BOOL OpenTrackViewWindow (const MCHAR *tv_name, const MCHAR *layoutName=NULL, Point2 pos=Point2(-1.0f,-1.0f), int width=-1, int height=-1, int dock=TV_FLOAT)=0
 
virtual BOOL BringTrackViewWindowToTop (const MCHAR *tv_name)=0
 Sets the focus to the specified track view window. More...
 
virtual BOOL TrackViewZoomSelected (const MCHAR *tv_name)=0
 
virtual BOOL TrackViewZoomOn (const MCHAR *tv_name, Animatable *parent, int subNum)=0
 
virtual BOOL CloseTrackView (const MCHAR *tv_name)=0
 
virtual int NumTrackViews ()=0
 
virtual const MCHARGetTrackViewName (int i)=0
 
virtual BOOL SetTrackViewFilter (const MCHAR *tv_name, DWORD mask, int which, BOOL redraw=TRUE)=0
 The mask bits are defined in MAXSDK/INCLUDE/ITREEVW.H. More...
 
virtual BOOL ClearTrackViewFilter (const MCHAR *tv_name, DWORD mask, int which, BOOL redraw=TRUE)=0
 
virtual DWORD TestTrackViewFilter (const MCHAR *tv_name, DWORD mask, int which)=0
 
virtual void FlushAllTrackViewWindows ()=0
 
virtual void UnFlushAllTrackViewWindows ()=0
 
virtual void CloseAllTrackViewWindows ()=0
 
virtual void SetCurEditObject (BaseObject *obj, INode *hintNode=NULL)=0
 
virtual BaseObjectGetCurEditObject ()=0
 Get the object or modifier that is currently being edited in the modifier panel. More...
 
virtual void AddModToSelection (Modifier *mod)=0
 
virtual void InvalidateObCache (INode *node)=0
 
virtual INodeFindNodeFromBaseObject (ReferenceTarget *obj)=0
 
virtual void SelectedHistoryChanged ()=0
 
virtual BOOL CmdPanelOpen ()=0
 
virtual void CmdPanelOpen (BOOL openClose)=0
 
virtual void SuspendEditing (DWORD whichPanels=(1<< TASK_MODE_MODIFY), BOOL alwaysSuspend=FALSE)=0
 Suspends / Resumes command panels specified via bits set in whichPanels param. More...
 
virtual void ResumeEditing (DWORD whichPanels=(1<< TASK_MODE_MODIFY), BOOL alwaysSuspend=FALSE)=0
 
virtual void SuspendMotionEditing ()=0
 
virtual void ResumeMotionEditing ()=0
 
virtual int AddClass (ClassDesc *cdesc, int dllNum=-1, int index=-1, bool load=true)=0
 This method expands Interface::AddClass. More...
 
virtual void ReBuildSuperList ()=0
 Rebuilds the list of groups and categories of the Create Panel. More...
 
virtual BOOL IsEditing ()=0
 Returns FALSE if the editing is stopped. While stopped, it shouldn't be resumed. More...
 
virtual void ChangeHistory (int upDown)=0
 Allows for changing the modifier panel's. More...
 
virtual void StartCreatingObject (ClassDesc *pCD)=0
 
virtual BOOL IsCreatingObject (Class_ID &id)=0
 
virtual BOOL IsCreatingObject ()=0
 
virtual void UpdateLockCheckObjectCounts ()=0
 Fast node creation for FileLink. More...
 
virtual INodeCreateObjectNode (Object *obj, const MCHAR *name)=0
 
virtual BOOL SetDir (int which, const MCHAR *dir)=0
 
virtual BOOL AddAssetDir (const MCHAR *dir, MaxSDK::AssetManagement::AssetType assetType, int update=TRUE)=0
 Adds a permanent user path associated to a particular asset type. More...
 
virtual BOOL DeleteAssetDir (int i, MaxSDK::AssetManagement::AssetType assetType, int update=TRUE)=0
 Deletes the "ith" permanent user path associated with a particular asset type. More...
 
virtual void UpdateAssetSection (MaxSDK::AssetManagement::AssetType assetType)=0
 Updates system configuration files' asset directory section of a particular asset type, with changes made to the session and/or permanent asset directories of that particular asset type. More...
 
virtual BOOL AppendToCurFilePath (const MCHAR *toAppend)=0
 Appends a string to the current file name and file path. More...
 
virtual MSTR GetMAXIniFile ()=0
 Returns empty MSTR if locType == LOC_REGISTRY. More...
 
virtual BOOL OpenSchematicViewWindow (const MCHAR *sv_name)=0
 — Schematic View -----------------------------------------------— /// More...
 
virtual BOOL SchematicViewZoomSelected (const MCHAR *sv_name)=0
 
virtual BOOL CloseSchematicView (const MCHAR *sv_name)=0
 
virtual int NumSchematicViews ()=0
 
virtual const MCHARGetSchematicViewName (int i)=0
 
virtual void CloseAllSchematicViewWindows ()=0
 
virtual void FlushAllSchematicViewWindows ()=0
 
virtual void UnFlushAllSchematicViewWindows ()=0
 
virtual BOOL DrawingEnabled ()=0
 
virtual void EnableDrawing (BOOL onOff)=0
 
virtual BOOL SceneResetting ()=0
 
virtual BOOL QuitingApp ()=0
 
virtual BOOL GetHideFrozen ()=0
 
virtual void SetSceneDisplayFlag (DWORD flag, BOOL onOff, BOOL updateUI=TRUE)=0
 See 'Scene Display Flags' in maxapi.h for the possible values of 'flag'. More...
 
virtual BOOL GetSceneDisplayFlag (DWORD flag)=0
 
virtual ISceneGetScene ()=0
 Access to the scene interface. More...
 
virtual void SetMtlSlot (int i, MtlBase *m)=0
 
virtual int GetActiveMtlSlot ()=0
 
virtual void SetActiveMtlSlot (int i)=0
 
virtual int NumMtlSlots ()=0
 
virtual void FlushMtlDlg ()=0
 
virtual void UnFlushMtlDlg ()=0
 
virtual BOOL IsMtlInstanced (MtlBase *m)=0
 
virtual MtlFindMtlNameInScene (MSTR &name)=0
 
virtual void PutMaterial (MtlBase *mtl, MtlBase *oldMtl, BOOL delOld=1, RefMakerHandle skipThis=0)=0
 
virtual BOOL IsMtlDlgShowing ()=0
 Returns whether any Material Editor is open. More...
 
virtual void OpenMtlDlg ()=0
 Opens the Material Editor. No effect if already open. More...
 
virtual void CloseMtlDlg ()=0
 Closes the Material Editor. No effect is already closed. More...
 
virtual HWND GetViewPanelHWnd ()=0
 Returns the window handle for the viewport frame. More...
 
virtual int getActiveViewportIndex ()=0
 Viewport access by index. More...
 
virtual BOOL setActiveViewport (int index)=0
 
virtual int getNumViewports ()=0
 
virtual ViewExpgetViewExp (int i)=0
 
virtual void resetAllViews ()=0
 
virtual const MCHARgetActiveViewportLabel ()=0
 Viewport name access. More...
 
virtual const MCHARgetViewportLabel (int index)=0
 
virtual void SetRegionRect (int index, Rect r)=0
 Viewport blow-up and sub-region access. More...
 
virtual Rect GetRegionRect (int index)=0
 
virtual void SetBlowupRect (int index, Rect r)=0
 
virtual Rect GetBlowupRect (int index)=0
 
virtual void SetRegionRect2 (int index, Rect r)=0
 
virtual Rect GetRegionRect2 (int index)=0
 
virtual void SetBlowupRect2 (int index, Rect r)=0
 
virtual Rect GetBlowupRect2 (int index)=0
 
virtual int GetRenderType ()=0
 
virtual void SetRenderType (int rtype)=0
 
virtual BOOL GetLockImageAspRatio ()=0
 
virtual void SetLockImageAspRatio (BOOL on)=0
 
virtual float GetImageAspRatio ()=0
 
virtual void SetImageAspRatio (float on)=0
 
virtual BOOL GetLockPixelAspRatio ()=0
 
virtual void SetLockPixelAspRatio (BOOL on)=0
 
virtual float GetPixelAspRatio ()=0
 
virtual void SetPixelAspRatio (float on)=0
 
virtual void SetViewportGridVisible (int index, BOOL state)=0
 
virtual BOOL GetViewportGridVisible (int index)=0
 
virtual void ViewportInvalidate (int index)=0
 
virtual void ViewportInvalidateBkgImage (int index)=0
 
virtual void InvalidateAllViewportRects ()=0
 
virtual void RedrawViewportsNow (TimeValue t, DWORD vpFlags=VP_DONT_SIMPLIFY)=0
 
virtual void RedrawViewportsLater (TimeValue t, DWORD vpFlags=VP_DONT_SIMPLIFY)=0
 
virtual void SetActiveViewportRenderLevel (int level)=0
 Sets the current viewport rendering level. More...
 
virtual int GetActiveViewportRenderLevel ()=0
 Returns the current viewport rendering level. More...
 
virtual void SetActiveViewportShowEdgeFaces (BOOL show)=0
 Access to viewport show edge faces states. More...
 
virtual BOOL GetActiveViewportShowEdgeFaces ()=0
 
virtual void SetActiveViewportTransparencyLevel (int level)=0
 There are 3 levels of transparency: 0, 1 and 2. More...
 
virtual int GetActiveViewportTransparencyLevel ()=0
 
virtual BOOL GetDualPlanes ()=0
 Access dual plane settings. More...
 
virtual void SetDualPlanes (BOOL b)=0
 
virtual void SetTestOnlyFrozen (int onOff)=0
 When the flag is On, only frozen objects are hit tested during a pick. More...
 
virtual void SetScaleMode (int mode)=0
 Scale modes: CID_OBJSCALE, CID_OBJUSCALE, CID_OBJSQUASH (see cmdmode.h) More...
 
virtual void SetCenterMode (int mode)=0
 Center modes - see 'Origin modes' in maxapi.h. More...
 
virtual BOOL InManipMode ()=0
 Manipulator related. More...
 
virtual void StartManipulateMode ()=0
 
virtual void EndManipulateMode ()=0
 
virtual BOOL IsViewportCommandMode (CommandMode *m)=0
 
virtual void ConvertFlagedNodesToXRefs (const MaxSDK::AssetManagement::AssetUser &fname, INode *rootNode, Tab< INode * > &nodes, int xFlags)=0
 — XRefs -----------------------------------------------------—— /// More...
 
virtual void XRefSceneSetIgnoreFlag (int index, DWORD f, BOOL onOff)=0
 'f' parameter can take values defined as 'Xref flag bits' in inode.h More...
 
virtual void UpdateSceneXRefState ()=0
 
virtual BOOL GetSnapActive ()=0
 
virtual void SetSnapActive (BOOL onOff)=0
 
virtual int GetSnapType ()=0
 
virtual void SetSnapType (int type)=0
 See 'Snap types' in snap.h for possible values of 'type'. More...
 
virtual void ToggleASnap ()=0
 
virtual int ASnapStatus ()=0
 
virtual void TogglePSnap ()=0
 
virtual int PSnapStatus ()=0
 
virtual float GetGridSpacing ()=0
 
virtual void SetGridSpacing (float newVal)=0
 
virtual int GetGridMajorLines ()=0
 
virtual void SetGridMajorLines (float newVal)=0
 
virtual float GetSnapAngle ()=0
 
virtual void SetSnapAngle (float newVal)=0
 
virtual float GetSnapPercent ()=0
 
virtual void SetSnapPercent (float newVal)=0
 
MAX_DEPRECATED BOOL GetPrimaryVisibility (INode *node)
 
MAX_DEPRECATED void SetPrimaryVisibility (INode *node, BOOL onOff)
 
MAX_DEPRECATED BOOL GetSecondaryVisibility (INode *node)
 
MAX_DEPRECATED void SetSecondaryVisibility (INode *node, BOOL onOff)
 
virtual void SetNodeAttribute (INodeTab &nodes, int whatAttrib, int onOff)=0
 Set the given attribute on the passed nodes. More...
 
virtual void SetNodeAttribute (INode *node, int whatAttrib, int onOff)=0
 Set the given attribute on the passed node. More...
 
virtual void SetExpertMode (int onOff)=0
 
virtual int GetExpertMode ()=0
 
virtual void LoadCUIConfig (const MCHAR *fileName)=0
 
virtual void WriteCUIConfig ()=0
 
virtual void SaveCUIAs ()=0
 
virtual void LoadCUI ()=0
 
virtual void RevertToBackupCUI ()=0
 
virtual void ResetToFactoryDefaultCUI ()=0
 
virtual void DoUICustomization (int startPage)=0
 
virtual int GetDefaultImageListBaseIndex (SClass_ID sid, Class_ID cid)=0
 
virtual MSTRGetDefaultImageListFilePrefix (SClass_ID sid, Class_ID cid)=0
 
virtual float GetGridIntens ()=0
 
virtual void SetGridIntens (float f)=0
 
virtual BOOL GetWhiteOrigin ()=0
 
virtual void SetWhiteOrigin (BOOL b)=0
 
virtual BOOL GetUseGridColor ()=0
 
virtual void SetUseGridColor (BOOL b)=0
 
virtual void UpdateColors (BOOL useGridColor, int gridIntensity, BOOL whiteOrigin)=0
 
virtual IMenuGetIMenu ()=0
 
virtual IMenuItemGetIMenuItem ()=0
 
virtual void RepaintTimeSlider ()=0
 
virtual MSTR GetTabPageTitle (ITabPage *page)=0
 
virtual BOOL DoMaxFileSaveAsDlg (MSTR &fileName, BOOL setAsCurrent=TRUE)=0
 
virtual BOOL DoMaxFileOpenDlg (MSTR &fileName, MSTR *defDir, MSTR *defFile)=0
 
virtual BOOL DoMaxFileMergeDlg (MSTR &fileName, MSTR *defDir, MSTR *defFile)=0
 
virtual BOOL DoMaxFileXRefDlg (MSTR &fileName, MSTR *defDir, MSTR *defFile)=0
 
virtual void StartAnimPlayback2 (int selOnly)=0
 Old style playback with no immediate return. More...
 
virtual BOOL IsValidModForSelection (ClassEntry *ce)=0
 Tests of modifier applicability. More...
 
virtual BOOL IsValidModifier (INode &node, Modifier &mod)=0
 Returns FALSE if the specified modifier cannot be applied to the object. More...
 
virtual ResCode AddModifier (INode &node, Modifier &mod, int beforeIdx=0)=0
 Adds the specified modifier to a node. More...
 
virtual ResCode DeleteModifier (INode &node, Modifier &mod)=0
 Deletes the first occurrence of the specified modifier from the node's modifier stack. More...
 
virtual ResCode DeleteModifier (INode &node, int modIdx)=0
 Deletes the modifier at the specified index from the node's modifier stack Returns one of the following values: kRES_INTERNAL_ERROR, kRES_MOD_NOT_FOUND or kRES_SUCCESS. More...
 
virtual IDerivedObjectFindModifier (INode &node, Modifier &mod, int &modStackIdx, int &derivedObjIdx)=0
 Finds the first occurrence of the specified modifier on a node. More...
 
virtual IDerivedObjectFindModifier (INode &node, int modIdx, int &idx, Modifier *&mod)=0
 Finds the modifier at the specified modstack index on a node. More...
 
virtual IDerivedObjectFindModifier (INode &node, Modifier &mod, ModContext &mc, int &modStackIdx, int &dobjidx)=0
 Finds the index of a modifier instance in a modstack of a node, when the node, the modifier it's corresponding cod context are given. More...
 
virtual ResCode DoDeleteModifier (INode &node, IDerivedObject &dobj, int idx)=0
 
virtual ObjectGetReplaceableObjRef (INode &node)=0
 A node's reference to its object should be replaced using this method. More...
 
virtual void OpenEnvEffectsDialog ()=0
 
virtual void CloseEnvEffectsDialog ()=0
 
virtual BOOL EnvEffectsDialogOpen ()=0
 
- Public Member Functions inherited from Interface
virtual BOOL SetActiveViewportTransparencyDisplay (int transType)=0
 
virtual BOOL SetSelectionType (BOOL autoWinCross, int winCrossOrAutoDir)=0
 
virtual PickModeCallbackGetCurPickMode ()=0
 
virtual void RealizeParamPanel ()=0
 
virtual BOOL GetToolButtonState (int button)=0
 
virtual void EnableToolButton (int button, BOOL enable=TRUE)=0
 
virtual void EnableUndo (BOOL enable)=0
 
virtual ViewExpGetViewExp (HWND hwnd)=0
 
virtual int GetAssetDirCount (MaxSDK::AssetManagement::AssetType assetType)=0
 Returns the number of permanent user paths associated with a particular type of asset. More...
 
virtual const MCHARGetAssetDir (int i, MaxSDK::AssetManagement::AssetType assetType)=0
 Returns the "ith" permanent user path associated with a particular asset type. More...
 
virtual BOOL AddAssetDir (const MCHAR *dir, MaxSDK::AssetManagement::AssetType assetType)=0
 Adds a permanent user path associated to a particular asset type. More...
 
virtual BOOL AddSessionAssetDir (const MCHAR *dir, MaxSDK::AssetManagement::AssetType assetType, int update=TRUE)=0
 Adds a session user path associated to a particular asset type. More...
 
virtual int GetSessionAssetDirCount (MaxSDK::AssetManagement::AssetType assetType)=0
 Returns the number of session user paths associated with a particular type of asset. More...
 
virtual const MCHARGetSessionAssetDir (int i, MaxSDK::AssetManagement::AssetType assetType)=0
 Returns the "ith" session user path associated with a particular asset type. More...
 
virtual BOOL DeleteSessionAssetDir (int i, MaxSDK::AssetManagement::AssetType assetType, int update=TRUE)=0
 Deletes the "ith" session user path associated with a particular asset type. More...
 
virtual int GetCurAssetDirCount (MaxSDK::AssetManagement::AssetType assetType)=0
 Returns the number of session (temporary) and permanent user paths associated with a particular type of asset. More...
 
virtual const MCHARGetCurAssetDir (int i, MaxSDK::AssetManagement::AssetType assetType)=0
 Returns the "ith" session\permanent user path associated with a particular asset type. More...
 
virtual bool AttachNodesToGroup (INodeTab &nodes, INode &pTargetNode)=0
 
virtual bool DetachNodesFromGroup (INodeTab &nodes)=0
 
virtual void IncrementValidityToken ()=0
 
virtual unsigned int CurrentValidityToken ()=0
 
virtual RendererCreateDefaultRenderer (RenderSettingID renderSettingID)=0
 Creates an instance of the default renderer for the given render setting. More...
 
virtual Class_ID GetDefaultRendererClassID (RenderSettingID renderSettingID)=0
 Gets the class ID of the default renderer for the given render setting. More...
 
virtual void SetDefaultRendererClassID (RenderSettingID renderSettingID, Class_ID classID)=0
 Gets the class ID of the default renderer for the given render setting. More...
 
virtual RendererGetMEditRenderer (bool createRendererIfItDoesntExist=true)=0
 Gets the renderer assigned to the MEdit slot.

. More...
 
virtual void AssignMEditRenderer (Renderer *renderer)=0
 Sets the renderer assigned to the MEdit slot.

. More...
 
virtual RendererGetActualMEditRenderer (bool createRendererIfItDoesntExist=true)=0
 Returns the renderer to be used for MEdit.

. More...
 
virtual bool GetMEditRendererLocked ()=0
 Gets the status of the MEdit renderer lock. More...
 
virtual void SetMEditRendererLocked (bool locked)=0
 Sets the status of the MEdit renderer lock. More...
 
virtual bool GetMEditRendererLocked_DefaultValue ()=0
 
virtual void SetMEditRendererLocked_DefaultValue (bool locked)=0
 
virtual BOOL GetRendSimplifyAreaLights ()=0
 returns the state of the toggle in the render dialog, "Area Lights/Shadows as Points". More...
 
virtual void SetRendSimplifyAreaLights (BOOL onOff)=0
 Sets the toggle in the render dialog, "Area Lights/Shadows as Points". More...
 
virtual IOsnapManagerGetOsnapManager ()=0
 
virtual MouseManagerGetMouseManager ()=0
 
virtual void InvalidateOsnapdraw ()=0
 
virtual bool IsNetworkRenderServer () const =0
 Returns true if the application operates in network render server mode. More...
 
virtual voidGetInterface (DWORD id)=0
 
virtual BaseInterfaceGetInterface (Interface_ID id)=0
 
virtual ShadowTypeGetGlobalShadowGenerator ()=0
 
virtual void SetGlobalShadowGenerator (ShadowType *st)=0
 
virtual MacroRecorderGetMacroRecorder ()=0
 
virtual HFONT GetAppHFont ()=0
 
virtual HCURSOR GetSysCursor (int id)=0
 
virtual void SetCrossHairCur (BOOL onOff)=0
 
virtual BOOL GetCrossHairCur ()=0
 
virtual void RedrawViews (TimeValue t, DWORD vpFlags=REDRAW_NORMAL, ReferenceTarget *change=NULL)=0
 
virtual BOOL SetActiveViewport (HWND hwnd)=0
 
virtual ViewExpGetActiveViewExp ()=0
 
virtual void ForceCompleteRedraw (BOOL doDisabled=TRUE)=0
 
virtual void DisableSceneRedraw ()=0
 Turns off scene redraws. More...
 
virtual void EnableSceneRedraw ()=0
 Turns on scene redraws. More...
 
virtual int IsSceneRedrawDisabled ()=0
 Tells whether the scene redraw is disabled. More...
 
virtual void MakeExtendedViewportActive (HWND hWnd)=0
 
virtual void PutUpViewMenu (HWND hWnd, POINT pt)=0
 
virtual int IsCPEdgeOnInView ()=0
 
virtual int GetViewportLayout ()=0
 
virtual void SetViewportLayout (int layout)=0
 
virtual BOOL IsViewportMaxed ()=0
 
virtual void SetViewportMax (BOOL max)=0
 
virtual void ViewportZoomExtents (BOOL doAll, BOOL skipPersp=FALSE)=0
 
virtual void ZoomToBounds (BOOL doAll, Box3 box)=0
 
virtual BOOL RegisterViewWindow (ViewWindow *vw)=0
 
virtual BOOL UnRegisterViewWindow (ViewWindow *vw)=0
 
virtual IObjCreateGetIObjCreate ()=0
 
virtual IObjParamGetIObjParam ()=0
 
virtual HWND GetMAXHWnd () const =0
 
virtual MaxSDK::QmaxMainWindowGetQmaxMainWindow () const =0
 Returns the Qt docking main window of 3ds Max. More...
 
virtual BOOL DisplayActiveCameraViewWithMultiPassEffect ()=0
 
virtual int OpenCurRenderer (INode *camNode, ViewExp *view, RendType t=RENDTYPE_NORMAL, int w=0, int h=0)=0
 
virtual int OpenCurRenderer (ViewParams *vpar, RendType t=RENDTYPE_NORMAL, int w=0, int h=0)=0
 
virtual void CloseCurRenderer ()=0
 
virtual int CurRendererRenderFrame (TimeValue t, Bitmap *bm, RendProgressCallback *prog=NULL, float frameDur=1.0f, ViewParams *vp=NULL, RECT *regionRect=NULL)=0
 
virtual IScanRendererCreateDefaultScanlineRenderer ()=0
 
virtual void RegisterRedrawViewsCallback (RedrawViewsCallback *cb)=0
 
virtual void UnRegisterRedrawViewsCallback (RedrawViewsCallback *cb)=0
 
virtual void RegisterSelectFilterCallback (SelectFilterCallback *cb)=0
 
virtual void UnRegisterSelectFilterCallback (SelectFilterCallback *cb)=0
 
virtual void RegisterDisplayFilterCallback (DisplayFilterCallback *cb)=0
 
virtual void UnRegisterDisplayFilterCallback (DisplayFilterCallback *cb)=0
 
virtual void RegisterAxisChangeCallback (AxisChangeCallback *cb)=0
 
virtual void UnRegisterAxisChangeCallback (AxisChangeCallback *cb)=0
 
virtual void RegisterTimeChangeCallback (TimeChangeCallback *tc)=0
 
virtual void UnRegisterTimeChangeCallback (TimeChangeCallback *tc)=0
 
virtual void RegisterCommandModeChangedCallback (CommandModeChangedCallback *cb)=0
 
virtual void UnRegisterCommandModeChangedCallback (CommandModeChangedCallback *cb)=0
 
virtual void RegisterViewportDisplayCallback (BOOL preScene, ViewportDisplayCallback *cb)=0
 
virtual void UnRegisterViewportDisplayCallback (BOOL preScene, ViewportDisplayCallback *cb)=0
 
virtual void NotifyViewportDisplayCallbackChanged (BOOL preScene, ViewportDisplayCallback *cb)=0
 
virtual void RegisterExitMAXCallback (ExitMAXCallback *cb)=0
 
virtual void UnRegisterExitMAXCallback (ExitMAXCallback *cb)=0
 
virtual BOOL TrackViewPickDlg (HWND hParent, TrackViewPick *res, TrackViewFilter *filter=NULL, DWORD pickTrackFlags=0)=0
 
virtual BOOL TrackViewPickMultiDlg (HWND hParent, MaxSDK::Array< TrackViewPick > *res, TrackViewFilter *filter=NULL, DWORD pickTrackFlags=0)=0
 
virtual BOOL DoHitByNameDialog (HitByNameDlgCallback *hbncb=NULL)=0
 
virtual void ChooseDirectory (HWND hWnd, const MCHAR *title, MCHAR *dir, MCHAR *desc=NULL)=0
 
virtual int DoExclusionListDialog (ExclList *nl, BOOL doShadows=TRUE)=0
 
virtual void ConvertNameTabToExclList (const NameTab *nt, ExclList *excList)=0
 
virtual MtlBaseDoMaterialBrowseDlg (HWND hParent, DWORD vflags, BOOL &newMat, BOOL &cancel)=0
 
virtual void PutMtlToMtlEditor (MtlBase *mb, int slot=-1)=0
 
virtual BOOL NodeColorPicker (HWND hWnd, DWORD &col)=0
 
virtual int ConfigureBitmapPaths ()=0
 
virtual BOOL DoSpaceArrayDialog (SpaceArrayCallback *sacb=NULL)=0
 
virtual void PushCommandMode (CommandMode *m)=0
 
virtual void SetCommandMode (CommandMode *m)=0
 
virtual void PopCommandMode ()=0
 
virtual CommandModeGetCommandMode ()=0
 
virtual void SetStdCommandMode (int cid)=0
 
virtual void PushStdCommandMode (int cid)=0
 
virtual void RemoveMode (CommandMode *m)=0
 
virtual void DeleteMode (CommandMode *m)=0
 
virtual int GetCommandStackSize ()=0
 
virtual CommandModeGetCommandStackEntry (int entry)=0
 
virtual void PushPrompt (const MCHAR *s)=0
 
virtual void PopPrompt ()=0
 
virtual void ReplacePrompt (const MCHAR *s)=0
 
virtual void DisplayTempPrompt (const MCHAR *s, int msec=1000)=0
 
virtual void RemoveTempPrompt ()=0
 
virtual void DisableStatusXYZ ()=0
 
virtual void EnableStatusXYZ ()=0
 
virtual void SetStatusXYZ (Point3 xyz, int type)=0
 
virtual void SetStatusXYZ (AngAxis aa)=0
 
virtual float GetAutoBackupTime ()=0
 
virtual void SetAutoBackupTime (float minutes)=0
 
virtual BOOL AutoBackupEnabled ()=0
 
virtual void EnableAutoBackup (BOOL onOff)=0
 
virtual BOOL ProgressStart (const MCHAR *title, BOOL dispBar, LPTHREAD_START_ROUTINE fn, LPVOID arg)=0
 
virtual void ProgressUpdate (int pct, BOOL showPct=TRUE, const MCHAR *title=NULL)=0
 
virtual void ProgressEnd ()=0
 
virtual BOOL GetCancel ()=0
 
virtual void SetCancel (BOOL sw)=0
 
virtual void CreatePreview (PreviewParams *pvp=NULL, MSTR *filename=NULL, MSTR *snippet=NULL)=0
 
virtual void AddGridToScene (INode *node)=0
 
virtual void SetActiveGrid (INode *node)=0
 
virtual INodeGetActiveGrid ()=0
 
virtual void SetExtendedDisplayMode (int vflags)=0
 
virtual int GetExtendedDisplayMode ()=0
 
virtual void SetFlyOffTime (int msecs)=0
 
virtual int GetFlyOffTime ()=0
 
virtual BOOL GetCrossing ()=0
 
virtual void SetToolButtonState (int button, BOOL state)=0
 
virtual int GetAxisConstraints ()=0
 
virtual void SetAxisConstraints (int c)=0
 
virtual void EnableAxisConstraints (int c, BOOL enabled)=0
 
virtual void PushAxisConstraints (int c)=0
 
virtual void PopAxisConstraints ()=0
 
virtual int GetCoordCenter ()=0
 
virtual void SetCoordCenter (int c)=0
 
virtual void EnableCoordCenter (BOOL enabled)=0
 
virtual int GetRefCoordSys ()=0
 
virtual void SetRefCoordSys (int c)=0
 
virtual void EnableRefCoordSys (BOOL enabled)=0
 
virtual float SnapAngle (float angleIn, BOOL fastSnap=TRUE, BOOL forceSnap=FALSE)=0
 
virtual float SnapPercent (float percentIn)=0
 
virtual BOOL GetSnapState ()=0
 
virtual int GetSnapMode ()=0
 
virtual BOOL SetSnapMode (int mode)=0
 
virtual int InitSnapInfo (SnapInfo *info)=0
 
virtual void SetPickMode (PickModeCallback *pCB)=0
 
virtual void ClearPickMode ()=0
 
virtual INodePickNode (HWND hWnd, IPoint2 pt, PickNodeCallback *filt=NULL)=0
 
virtual void BoxPickNode (ViewExp *vpt, IPoint2 *pt, BOOL crossing, PickNodeCallback *filt=NULL)=0
 
virtual void CirclePickNode (ViewExp *vpt, IPoint2 *pt, BOOL crossing, PickNodeCallback *filt=NULL)=0
 
virtual void FencePickNode (ViewExp *vpt, IPoint2 *pt, BOOL crossing, PickNodeCallback *filt=NULL)=0
 
virtual void FlashNodes (INodeTab *nodes)=0
 
virtual void RegisterSubObjectTypes (const MCHAR **types, int count, int startIndex=0)=0
 
virtual int GetSubObjectLevel ()=0
 
virtual void SetSubObjectLevel (int level, BOOL force=FALSE)=0
 
virtual int GetNumSubObjectLevels ()=0
 
virtual void PipeSelLevelChanged ()=0
 
virtual void GetPipelineSubObjLevel (DWORDTab &levels)=0
 
virtual int SubObHitTest (TimeValue t, int type, int crossing, int vflags, IPoint2 *p, ViewExp *vpt)=0
 
virtual void AppendSubObjectNamedSelSet (const MCHAR *set)=0
 
virtual void ClearSubObjectNamedSelSets ()=0
 
virtual void ClearCurNamedSelSet ()=0
 
virtual void SetCurNamedSelSet (const MCHAR *setName)=0
 
virtual void NamedSelSetListChanged ()=0
 
virtual void GetModContexts (ModContextList &list, INodeTab &nodes)=0
 
virtual BOOL SelectionFrozen ()=0
 
virtual void FreezeSelection ()=0
 
virtual void ThawSelection ()=0
 
virtual INodeGetSelNode (int i)=0
 
virtual int GetSelNodeCount ()=0
 
virtual void SelectNode (INode *node, int clearSel=1)=0
 
virtual void DeSelectNode (INode *node)=0
 
virtual void SelectNodeTab (INodeTab &nodes, BOOL sel, BOOL redraw=TRUE)=0
 
virtual void ClearNodeSelection (BOOL redraw=TRUE)=0
 
virtual void GetSelectionWorldBox (TimeValue t, Box3 &box)=0
 
virtual bool CloneNodes (INodeTab &nodes, Point3 &offset, bool expandHierarchies=true, CloneType cloneType=NODE_COPY, INodeTab *resultSource=NULL, INodeTab *resultTarget=NULL)=0
 
virtual void CollapseNode (INode *node, BOOL noWarning=FALSE)=0
 @ More...
 
virtual BOOL CollapseNodeTo (INode *node, int modIndex, BOOL noWarning=FALSE)=0
 
virtual BOOL ConvertNode (INode *node, Class_ID &cid)=0
 
virtual IRenderPresetsManagerGetRenderPresetsManager ()=0
 
virtual DefaultActionSysDefaultActions ()=0
 
virtual BOOL SetQuietMode (BOOL onOff)=0
 Sets internal flag, returns old value. More...
 
virtual BOOL GetQuietMode (BOOL checkServerMode=TRUE)=0
 The return value from this method should be called before displaying any dialogs. More...
 
virtual void SetAutoGridEnable (bool sw=true)=0
 Enables/disables system AutoGrid feature. More...
 
virtual bool GetAutoGridEnable ()=0
 Query system AutoGrid feature enable state. More...
 
virtual bool GetAutoGridState ()=0
 Query system AutoGrid feature state. More...
 
virtual void SetAutoGridState (bool sw=true)=0
 Sets system AutoGrid state. More...
 
virtual void EnableShowEndResult (BOOL enabled)=0
 
virtual BOOL GetShowEndResult ()=0
 
virtual void SetShowEndResult (BOOL show)=0
 
virtual int GetCommandPanelTaskMode ()=0
 
virtual void SetCommandPanelTaskMode (int mode)=0
 
virtual HWND AddRollupPage (HINSTANCE hInst, const MCHAR *dlgTemplate, DLGPROC dlgProc, const MCHAR *title, LPARAM param=0, DWORD rollUpFlags=0, int category=ROLLUP_CAT_STANDARD)=0
 
virtual void AddRollupPage (QWidget &qtWidget, const MCHAR *title, DWORD rollupFlags=0, int category=ROLLUP_CAT_STANDARD)=0
 Adds a rollup page that hosts a Qt dialog. More...
 
virtual HWND AddRollupPage (HINSTANCE hInst, DLGTEMPLATE *dlgTemplate, DLGPROC dlgProc, const MCHAR *title, LPARAM param=0, DWORD rollUpFlags=0, int category=ROLLUP_CAT_STANDARD)=0
 
virtual void DeleteRollupPage (HWND hRollup)=0
 
virtual void DeleteRollupPage (QWidget &qtWidget)=0
 Removes a rollup page that hosts a Qt dialog. More...
 
virtual HWND ReplaceRollupPage (HWND hOldRollup, HINSTANCE hInst, const MCHAR *dlgTemplate, DLGPROC dlgProc, const MCHAR *title, LPARAM param=0, DWORD rollUpFlags=0, int category=ROLLUP_CAT_STANDARD)=0
 
virtual HWND ReplaceRollupPage (HWND hOldRollup, HINSTANCE hInst, DLGTEMPLATE *dlgTemplate, DLGPROC dlgProc, const MCHAR *title, LPARAM param=0, DWORD rollUpFlags=0, int category=ROLLUP_CAT_STANDARD)=0
 
virtual IRollupWindowGetCommandPanelRollup ()=0
 
virtual void RollupMouseMessage (HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam)=0
 
virtual void EnableAnimateButton (BOOL enable)=0
 
virtual BOOL IsAnimateEnabled ()=0
 
virtual void SetAnimateButtonState (BOOL onOff)=0
 
virtual bool InProgressiveMode ()=0
 
virtual void BeginProgressiveMode ()=0
 
virtual void EndProgressiveMode ()=0
 
virtual TimeValue GetTime ()=0
 
virtual void SetTime (TimeValue t, BOOL redraw=TRUE)=0
 
virtual Interval GetAnimRange ()=0
 
virtual void SetAnimRange (Interval range)=0
 
virtual BOOL GetRealTimePlayback ()=0
 
virtual void SetRealTimePlayback (BOOL realTime)=0
 
virtual BOOL GetPlayActiveOnly ()=0
 
virtual void SetPlayActiveOnly (BOOL playActive)=0
 
virtual void StartAnimPlayback (int selOnly=FALSE)=0
 
virtual void EndAnimPlayback ()=0
 
virtual BOOL IsAnimPlaying ()=0
 
virtual int GetPlaybackSpeed ()=0
 
virtual void SetPlaybackSpeed (int s)=0
 
virtual BOOL GetPlaybackLoop ()=0
 
virtual void SetPlaybackLoop (BOOL loop)=0
 
virtual int GetSelectFilter ()=0
 
virtual void SetSelectFilter (int c)=0
 
virtual int GetNumberSelectFilters ()=0
 
virtual const MCHARGetSelectFilterName (int index)=0
 
virtual BOOL GetDisplayFilter (int index)=0
 
virtual void SetDisplayFilter (int index, BOOL on)=0
 
virtual int GetNumberDisplayFilters ()=0
 
virtual BOOL DisplayFilterIsNodeVisible (int index, int sid, Class_ID cid, INode *node)=0
 
virtual const MCHARGetDisplayFilterName (int index)=0
 
virtual Matrix3 GetTransformAxis (INode *node, int subIndex, BOOL *local=NULL)=0
 
virtual int GetNumAxis ()=0
 
virtual void LockAxisTripods (BOOL onOff)=0
 
virtual BOOL AxisTripodLocked ()=0
 
virtual void RegisterDlgWnd (HWND hDlg)=0
 
virtual int UnRegisterDlgWnd (HWND hDlg)=0
 
virtual void RegisterAccelTable (HWND hWnd, HACCEL hAccel)=0
 
virtual int UnRegisterAccelTable (HWND hWnd, HACCEL hAccel)=0
 
virtual IActionManagerGetActionManager ()=0
 
virtual IMenuManagerGetMenuManager ()=0
 
virtual RightClickMenuManagerGetRightClickMenuManager ()=0
 
virtual void RegisterDeleteUser (EventUser *user)=0
 
virtual void UnRegisterDeleteUser (EventUser *user)=0
 
virtual void MakeNameUnique (MSTR &name)=0
 
virtual NameMakerNewNameMaker (BOOL initFromScene=TRUE)=0
 
virtual INodeCreateObjectNode (Object *obj)=0
 
virtual GenCameraCreateCameraObject (int type)=0
 Creates a new camera object of the given type. More...
 
virtual ObjectCreateTargetObject ()=0
 
virtual GenLightCreateLightObject (int type)=0
 
virtual voidCreateInstance (SClass_ID superID, Class_ID classID)=0
 
virtual int BindToTarget (INode *laNode, INode *targNode)=0
 
virtual void StopCreating ()=0
 
virtual ObjectNonMouseCreate (Matrix3 tm)=0
 
virtual void NonMouseCreateFinish (Matrix3 tm)=0
 
virtual unsigned int DeleteNode (INode *node, BOOL redraw=TRUE, BOOL overrideSlaves=FALSE)=0
 Deletes the specified node from the scene. More...
 
virtual INodeGetRootNode ()=0
 
virtual void SetNodeTMRelConstPlane (INode *node, Matrix3 &mat)=0
 
virtual INodeGetINodeByName (const MCHAR *name)=0
 
virtual INodeGetINodeByHandle (ULONG handle)=0
 
virtual void AddLightToScene (INode *node)=0
 
virtual float GetLightConeConstraint ()=0
 
virtual void AddSFXRollupPage (ULONG vflags=0)=0
 
virtual void DeleteSFXRollupPage ()=0
 
virtual void RefreshSFXRollupPage ()=0
 
virtual const MCHARGetDir (int which)=0
 
virtual int GetPlugInEntryCount ()=0
 
virtual const MCHARGetPlugInDesc (int i)=0
 
virtual const MCHARGetPlugInDir (int i)=0
 
virtual MtlBaseGetMtlSlot (int slot)=0
 
virtual MtlBaseLibGetSceneMtls ()=0
 
virtual BOOL OkMtlForScene (MtlBase *m)=0
 
virtual MtlBaseLibGetMaterialLibrary ()=0
 
CoreExport void DeActivateTexture (MtlBase *tx, Mtl *mtl, int subNum=-1)
 
CoreExport void ActivateTexture (MtlBase *tx, Mtl *mtl, int subNum=-1)
 
virtual void AssignNewName (Mtl *m)=0
 
virtual void AssignNewName (Texmap *m)=0
 
virtual void UpdateMtlEditorBrackets ()=0
 
virtual void ConvertMtl (TimeValue t, Material &gm, Mtl *mtl, BOOL doTex, int subNum, float vis, BOOL &needDecal, INode *node, BitArray *needTex, GraphicsWindow *gw)=0
 
virtual MSTRGetCurFileName ()=0
 
virtual MSTRGetCurFilePath ()=0
 
virtual const MCHARGetMatLibFileName ()=0
 
virtual void FileOpen ()=0
 
virtual BOOL FileSave ()=0
 
virtual BOOL FileSaveAs ()=0
 
virtual void FileSaveSelected ()=0
 
virtual void FileReset (BOOL noPrompt=FALSE)=0
 
virtual void FileMerge ()=0
 
virtual void FileHold ()=0
 
virtual void FileFetch ()=0
 
virtual void FileOpenMatLib (HWND hWnd)=0
 
virtual void FileSaveMatLib (HWND hWnd)=0
 
virtual void FileSaveAsMatLib (HWND hWnd)=0
 
virtual void LoadDefaultMatLib ()=0
 
virtual int LoadFromFile (const MCHAR *name, BOOL refresh=TRUE)=0
 
virtual int SaveToFile (const MCHAR *fname, BOOL clearNeedSaveFlag=TRUE, BOOL useNewFile=TRUE)=0
 
virtual void FileSaveSelected (const MCHAR *fname)=0
 
virtual void FileSaveNodes (INodeTab *nodes, const MCHAR *fname)=0
 
virtual int LoadMaterialLib (const MCHAR *name, MtlBaseLib *lib=NULL)=0
 
virtual int SaveMaterialLib (const MCHAR *name, MtlBaseLib *lib=NULL)=0
 
virtual int MergeFromFile (const MCHAR *name, BOOL mergeAll=FALSE, BOOL selMerged=FALSE, BOOL refresh=TRUE, int dupAction=MERGE_DUPS_PROMPT, NameTab *mrgList=NULL, int dupMtlAction=MERGE_DUP_MTL_PROMPT, int reparentAction=MERGE_REPARENT_PROMPT, BOOL includeFullGroup=FALSE)=0
 
virtual BOOL CheckForSave ()=0
 
virtual void SetMAXFileOpenDlg (MAXFileOpenDialog *dlg)=0
 
virtual void SetMAXFileSaveDlg (MAXFileSaveDialog *dlg)=0
 
virtual bool IsMaxFile (const MCHAR *filename)=0
 
virtual bool IsInternetCachedFile (const MCHAR *filename)=0
 
virtual BOOL FileImport ()=0
 
virtual BOOL FileExport ()=0
 
virtual BOOL ImportFromFile (const MCHAR *name, BOOL suppressPrompts=FALSE, Class_ID *importerID=NULL)=0
 
virtual BOOL ExportToFile (const MCHAR *name, BOOL suppressPrompts=FALSE, DWORD options=0, Class_ID *exporterID=NULL)=0
 
virtual BOOL GetImportZoomExtents ()=0
 
virtual void SetImportZoomExtents (BOOL onOff)=0
 
virtual bool CanImportFile (const MCHAR *filename)=0
 
virtual INodeGroupNodes (INodeTab *nodes=NULL, MSTR *name=NULL, BOOL selGroup=TRUE)=0
 
virtual void UngroupNodes (INodeTab *nodes=NULL)=0
 
virtual void ExplodeNodes (INodeTab *nodes=NULL)=0
 
virtual void OpenGroup (INodeTab *nodes=NULL, BOOL clearSel=TRUE)=0
 
virtual void CloseGroup (INodeTab *nodes=NULL, BOOL selGroup=TRUE)=0
 
virtual void TranslateAndDispatchMAXMessage (MSG &msg)=0
 
virtual BOOL CheckMAXMessages ()=0
 
virtual BOOL setBkgImageAsset (const MaxSDK::AssetManagement::AssetUser &asset)=0
 
virtual const MaxSDK::AssetManagement::AssetUsergetBkgImageAsset (void)=0
 
virtual void setBkgImageAspect (int t)=0
 
virtual int getBkgImageAspect ()=0
 
virtual void setBkgImageAnimate (BOOL onOff)=0
 
virtual int getBkgImageAnimate (void)=0
 
virtual void setBkgFrameRange (int start, int end, int step=1)=0
 
virtual int getBkgFrameRangeVal (int which)=0
 
virtual void setBkgORType (int which, int type)=0
 
virtual int getBkgORType (int which)=0
 
virtual void setBkgStartTime (TimeValue t)=0
 
virtual TimeValue getBkgStartTime ()=0
 
virtual void setBkgSyncFrame (int f)=0
 
virtual int getBkgSyncFrame ()=0
 
virtual int getBkgFrameNum (TimeValue t)=0
 
virtual void SetViewportBGColor (const Point3 &color)=0
 
virtual Point3 GetViewportBGColor ()=0
 
virtual int OpenRenderer (Renderer *pRenderer, INode *camNode, ViewExp *view, RendType type=RENDTYPE_NORMAL, int w=0, int h=0)=0
 
virtual int OpenRenderer (Renderer *pRenderer, ViewParams *vpar, RendType type=RENDTYPE_NORMAL, int w=0, int h=0)=0
 
virtual int RendererRenderFrame (Renderer *pRenderer, TimeValue t, Bitmap *bm, RendProgressCallback *prog=NULL, float frameDur=1.0f, ViewParams *vp=NULL, RECT *regionRect=NULL)=0
 
virtual void CloseRenderer (Renderer *pRenderer)=0
 
virtual RendererGetCurrentRenderer (bool createRendererIfItDoesntExist=true)=0
 
virtual RendererGetProductionRenderer (bool createRendererIfItDoesntExist=true)=0
 
virtual RendererGetDraftRenderer (bool createRendererIfItDoesntExist=true)=0
 
virtual RendererGetRenderer (RenderSettingID renderSettingID, bool createRendererIfItDoesntExist=true)=0
 
virtual void AssignCurRenderer (Renderer *rend)=0
 
virtual void AssignProductionRenderer (Renderer *rend)=0
 
virtual void AssignDraftRenderer (Renderer *rend)=0
 
virtual void AssignRenderer (RenderSettingID renderSettingID, Renderer *rend)=0
 
virtual void SetUseDraftRenderer (BOOL b)=0
 
virtual BOOL GetUseDraftRenderer ()=0
 
virtual void ChangeRenderSetting (RenderSettingID renderSettingID)=0
 
virtual RenderSettingID GetCurrentRenderSetting ()=0
 
virtual IRenderElementMgrGetCurRenderElementMgr ()=0
 
virtual IRenderElementMgrGetRenderElementMgr (RenderSettingID renderSettingID)=0
 
virtual void SetupRendParams (RendParams &rp, ViewExp *vpt, RendType t=RENDTYPE_NORMAL)=0
 
virtual void GetViewParamsFromNode (INode *vnode, ViewParams &vp, TimeValue t)=0
 
virtual BOOL CheckForRenderAbort ()=0
 This method may be called during a rendering to check if user has cancelled the render. More...
 
virtual void AbortRender ()=0
 Calling this method during a render will set the flag that indicates that the render is to be aborted. More...
 
virtual int GetRendTimeType ()=0
 
virtual void SetRendTimeType (int type)=0
 
virtual TimeValue GetRendStart ()=0
 
virtual void SetRendStart (TimeValue start)=0
 
virtual TimeValue GetRendEnd ()=0
 
virtual void SetRendEnd (TimeValue end)=0
 
virtual int GetRendNThFrame ()=0
 
virtual void SetRendNThFrame (int n)=0
 
virtual BOOL GetRendShowVFB ()=0
 
virtual void SetRendShowVFB (BOOL onOff)=0
 
virtual BOOL GetRendSaveFile ()=0
 
virtual void SetRendSaveFile (BOOL onOff)=0
 
virtual BOOL GetRendUseDevice ()=0
 
virtual void SetRendUseDevice (BOOL onOff)=0
 
virtual BOOL GetRendUseNet ()=0
 
virtual void SetRendUseNet (BOOL onOff)=0
 
virtual BitmapInfoGetRendFileBI ()=0
 
virtual BitmapInfoGetRendDeviceBI ()=0
 
virtual int GetRendWidth ()=0
 
virtual void SetRendWidth (int w)=0
 
virtual int GetRendHeight ()=0
 
virtual void SetRendHeight (int h)=0
 
virtual float GetRendApect ()=0
 
virtual void SetRendAspect (float a)=0
 
virtual float GetRendImageAspect ()=0
 
virtual float GetRendApertureWidth ()=0
 
virtual void SetRendApertureWidth (float aw)=0
 
virtual BOOL GetRendFieldRender ()=0
 
virtual void SetRendFieldRender (BOOL onOff)=0
 
virtual BOOL GetRendColorCheck ()=0
 
virtual void SetRendColorCheck (BOOL onOff)=0
 
virtual BOOL GetRendSuperBlack ()=0
 
virtual void SetRendSuperBlack (BOOL onOff)=0
 
virtual BOOL GetRendHidden ()=0
 
virtual void SetRendHidden (BOOL onOff)=0
 
virtual BOOL GetRendForce2Side ()=0
 
virtual void SetRendForce2Side (BOOL onOff)=0
 
virtual BOOL GetRendAtmosphere ()=0
 
virtual void SetRendAtmosphere (BOOL onOff)=0
 
virtual BOOL GetRendEffects ()=0
 
virtual void SetRendEffects (BOOL onOff)=0
 
virtual BOOL GetRendDisplacement ()=0
 
virtual void SetRendDisplacement (BOOL onOff)=0
 
virtual MSTRGetRendPickFramesString ()=0
 
virtual BOOL GetRendDitherTrue ()=0
 
virtual void SetRendDitherTrue (BOOL onOff)=0
 
virtual BOOL GetRendDither256 ()=0
 
virtual void SetRendDither256 (BOOL onOff)=0
 
virtual BOOL GetRendMultiThread ()=0
 
virtual void SetRendMultiThread (BOOL onOff)=0
 
virtual BOOL GetRendNThSerial ()=0
 
virtual void SetRendNThSerial (BOOL onOff)=0
 
virtual int GetRendVidCorrectMethod ()=0
 
virtual void SetRendVidCorrectMethod (int m)=0
 
virtual int GetRendFieldOrder ()=0
 
virtual void SetRendFieldOrder (int fo)=0
 
virtual int GetRendNTSC_PAL ()=0
 
virtual void SetRendNTSC_PAL (int np)=0
 
virtual int GetRendSuperBlackThresh ()=0
 
virtual void SetRendSuperBlackThresh (int sb)=0
 
virtual int GetRendFileNumberBase ()=0
 
virtual void SetRendFileNumberBase (int n)=0
 
virtual BOOL GetSkipRenderedFrames ()=0
 
virtual void SetSkipRenderedFrames (BOOL onOff)=0
 
virtual DWORD GetHideByCategoryFlags ()=0
 
virtual void SetHideByCategoryFlags (DWORD f)=0
 
virtual INodeGetINodeFromRenderID (UWORD id)=0
 
virtual void ExecuteMAXCommand (int id)=0
 
virtual TexmapGetEnvironmentMap ()=0
 
virtual void SetEnvironmentMap (Texmap *map)=0
 
virtual BOOL GetUseEnvironmentMap ()=0
 
virtual void SetUseEnvironmentMap (BOOL onOff)=0
 
virtual Point3 GetAmbient (TimeValue t, Interval &valid)=0
 
virtual void SetAmbient (TimeValue t, Point3 col)=0
 
virtual ControlGetAmbientController ()=0
 
virtual void SetAmbientController (Control *c)=0
 
virtual Point3 GetLightTint (TimeValue t, Interval &valid)=0
 
virtual void SetLightTint (TimeValue t, Point3 col)=0
 
virtual ControlGetLightTintController ()=0
 
virtual void SetLightTintController (Control *c)=0
 
virtual float GetLightLevel (TimeValue t, Interval &valid)=0
 
virtual void SetLightLevel (TimeValue t, float lev)=0
 
virtual ControlGetLightLevelController ()=0
 
virtual void SetLightLevelController (Control *c)=0
 
virtual int NumAtmospheric ()=0
 
virtual AtmosphericGetAtmospheric (int i)=0
 
virtual void SetAtmospheric (int i, Atmospheric *a)=0
 
virtual void AddAtmosphere (Atmospheric *atmos)=0
 
virtual void DeleteAtmosphere (int i)=0
 
virtual void EditAtmosphere (Atmospheric *a, INode *gizmo=NULL)=0
 
virtual Point3 GetBackGround (TimeValue t, Interval &valid)=0
 
virtual void SetBackGround (TimeValue t, Point3 col)=0
 
virtual ControlGetBackGroundController ()=0
 
virtual void SetBackGroundController (Control *c)=0
 
virtual int NumEffects ()=0
 
virtual EffectGetEffect (int i)=0
 
virtual void SetEffect (int i, Effect *e)=0
 
virtual void AddEffect (Effect *eff)=0
 
virtual void DeleteEffect (int i)=0
 
virtual void EditEffect (Effect *e, INode *gizmo=NULL)=0
 
virtual SoundObjGetSoundObject ()=0
 
virtual void SetSoundObject (SoundObj *snd)=0
 
virtual LogSysLog ()=0
 
virtual DllDirGetDllDir ()=0
 
virtual DllDirGetDllDirectory ()=0
 
virtual INT_PTR Execute (int cmd, ULONG_PTR arg1=0, ULONG_PTR arg2=0, ULONG_PTR arg3=0, ULONG_PTR arg4=0, ULONG_PTR arg5=0, ULONG_PTR arg6=0)=0
 
virtual ReferenceTargetGetScenePointer ()=0
 
virtual ITrackViewNodeGetTrackViewRootNode ()=0
 
virtual ITrackBarGetTrackBar ()=0
 
virtual ITreeViewCreateTreeViewChild (ReferenceTarget *root, HWND hParent, DWORD style=0, ULONG id=0, int open=OPENTV_SPECIAL)=0
 
virtual void FreeSceneBitmaps ()=0
 
virtual void EnumAuxFiles (AssetEnumCallback &assetEnum, DWORD vflags)=0
 
virtual void RenderTexmap (Texmap *tex, Bitmap *bm, float scale3d=1.0f, BOOL filter=FALSE, BOOL display=FALSE, float z=0.0f, TimeValue t=GetCOREInterface() ->GetTime(), bool bake=false)=0
 
virtual bool CanImportBitmap (const MCHAR *filename)=0
 
virtual bool CaptureSubObjectRegistration (bool OnOff, Class_ID cid)=0
 
virtual bool DownloadUrl (HWND hwnd, const MCHAR *url, const MCHAR *filename, DWORD downloadFlags=0)=0
 
virtual INodeGetImportCtxNode (void)=0
 
virtual void RescaleWorldUnits (float f, BOOL selected)=0
 
virtual BOOL GetKeyStepsSelOnly ()=0
 
virtual void SetKeyStepsSelOnly (BOOL onOff)=0
 
virtual BOOL GetKeyStepsUseTrans ()=0
 
virtual void SetKeyStepsUseTrans (BOOL onOff)=0
 
virtual BOOL GetKeyStepsPos ()=0
 
virtual void SetKeyStepsPos (BOOL onOff)=0
 
virtual BOOL GetKeyStepsRot ()=0
 
virtual void SetKeyStepsRot (BOOL onOff)=0
 
virtual BOOL GetKeyStepsScale ()=0
 
virtual void SetKeyStepsScale (BOOL onOff)=0
 
virtual BOOL GetKeyStepsUseTrackBar ()=0
 
virtual void SetKeyStepsUseTrackBar (BOOL onOff)=0
 
virtual BOOL GetUseTransformGizmo ()=0
 
virtual void SetUseTransformGizmo (BOOL onOff)=0
 
virtual void SetTransformGizmoRestoreAxis (BOOL bOnOff)=0
 
virtual BOOL GetTransformGizmoRestoreAxis ()=0
 
virtual BOOL GetConstantAxisRestriction ()=0
 
virtual void SetConstantAxisRestriction (BOOL onOff)=0
 
virtual int HitTestTransformGizmo (IPoint2 *p, ViewExp *vpt, int axisFlags)=0
 
virtual void DeactivateTransformGizmo ()=0
 
virtual int AddClass (ClassDesc *pCD)=0
 
virtual int DeleteClass (ClassDesc *pCD)=0
 
virtual int GetNumProperties (int PropertySet)=0
 
virtual int FindProperty (int PropertySet, const PROPSPEC *propspec)=0
 
virtual const PROPVARIANT * GetPropertyVariant (int PropertySet, int idx)=0
 
virtual const PROPSPEC * GetPropertySpec (int PropertySet, int idx)=0
 
virtual void AddProperty (int PropertySet, const PROPSPEC *propspec, const PROPVARIANT *propvar)=0
 
virtual void DeleteProperty (int PropertySet, const PROPSPEC *propspec)=0
 
virtual void SetIncludeXRefsInHierarchy (BOOL onOff)=0
 
virtual BOOL GetIncludeXRefsInHierarchy ()=0
 
virtual BOOL IsXRefAutoUpdateSuspended ()=0
 
virtual void SetXRefAutoUpdateSuspended (BOOL onOff)=0
 
virtual BOOL IsSceneXRefNode (INode *node)=0
 
virtual bool IsTrialLicense ()=0
 
virtual bool IsNetworkLicense ()=0
 Returns true if the application is running under a network license. More...
 
virtual void RAMPlayer (HWND hWndParent, const MCHAR *szChanA=NULL, const MCHAR *szChanB=NULL)=0
 
virtual void FlushUndoBuffer ()=0
 
virtual bool DeferredPluginLoadingEnabled ()=0
 
virtual void EnableDeferredPluginLoading (bool onOff)=0
 
- Public Member Functions inherited from FPInterfaceDesc
CoreExport FPInterfaceDesc ()
 
CoreExport FPInterfaceDesc (Interface_ID id, const MCHAR *int_name, StringResID descr, ClassDesc *cd, ULONG flag,...)
 
CoreExport ~FPInterfaceDesc ()
 
virtual void Init ()
 
LifetimeType LifetimeControl ()
 
CoreExport void LoadDescriptor (Interface_ID id, const MCHAR *int_name, StringResID descr, ClassDesc *pCD, ULONG flag,...)
 
CoreExport void AppendFunction (int id,...)
 Add a new function to this interface descriptor. More...
 
CoreExport void AppendProperty (int id,...)
 Add a new property to this interface descriptor. More...
 
CoreExport void AppendEnum (int id,...)
 Add a new enum to this interface descriptor. More...
 
CoreExport void SetClassDesc (ClassDesc *i_cd)
 
CoreExport va_list check_fn (va_list ap, int id)
 
CoreExport va_list scan_fn (va_list ap, int id, int index)
 
CoreExport va_list check_prop (va_list ap, int id)
 
CoreExport va_list scan_prop (va_list ap, int id, int index)
 
CoreExport va_list check_enum (va_list ap, EnumID id)
 
CoreExport va_list scan_enum (va_list ap, EnumID id, int index)
 
FPInterfaceDescGetDesc ()
 
Interface_ID GetID ()
 
CoreExport FPFunctionDefGetFnDef (FunctionID fid)
 
ActionTableGetActionTable ()
 
CoreExport void EnableActions (BOOL onOff)
 
virtual CoreExport HINSTANCE HInstance ()
 
virtual CoreExport const MCHARGetRsrcString (StringResID id)
 
- 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)
 
- Public Member Functions inherited from BaseInterface
virtual UtilExport ~BaseInterface ()
 Destructor. More...
 
virtual bool RegisterNotifyCallback (InterfaceNotifyCallback *incb)
 
virtual void UnRegisterNotifyCallback (InterfaceNotifyCallback *incb)
 
virtual BaseInterfaceAcquireInterface ()
 
virtual void ReleaseInterface ()
 
virtual void DeleteInterface ()
 
virtual BaseInterfaceCloneInterface (void *remapDir=NULL)
 
- Public Member Functions inherited from InterfaceServer
virtual UtilExport ~InterfaceServer ()
 Destructor. More...
 

Static Public Attributes

static CoreExport const Interface_ID kInterface7InterfaceID
 The ID for this interface. Pass this ID to Interface::GetInterface to get an Interface7 pointer. More...
 
- Static Public Attributes inherited from FPInterface
static CoreExport FPInterfaceDesc nullInterface
 

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. 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...
 
- Public Attributes inherited from FPInterfaceDesc
Interface_ID ID
 
MSTR internal_name
 
StringResID description
 
ClassDesccd
 
USHORT flags
 
Tab< FPFunctionDef * > functions
 
Tab< FPPropDef * > props
 
Tab< FPEnum * > enumerations
 
MSPluginClass * pc
 
Rolloutrollout
 
ActionTableaction_table
 
- Protected Member Functions inherited from FPInterfaceDesc
CoreExport void load_descriptor (Interface_ID id, const MCHAR *int_name, StringResID descr, ClassDesc *cd, USHORT flag, va_list ap)
 
- Protected Member Functions inherited from FPInterface
virtual FPStatus _dispatch_fn (FunctionID fid, TimeValue t, FPValue &result, FPParams *p)
 

Member Enumeration Documentation

enum PivotMode

Pivot modes the system can be in.

Enumerator
kPIV_NONE 

Transforms will affect the objects' world transform.

kPIV_PIVOT_ONLY 

Transforms will affect only the pivot point of objects.

kPIV_OBJECT_ONLY 

Transforms will affect only the objects and not their pivot points.

kPIV_HIERARCHY_ONLY 

Rotation and Scale will be applied to the hierarchy by rotating or scaling the position of the pivot point without rotating or scaling the pivot point itself.

8349  {
8351  kPIV_NONE = PIV_NONE,
8359  kPIV_HIERARCHY_ONLY = PIV_HIERARCHY_ONLY
8360  };
#define PIV_NONE
Definition: INodeTransformModes.h:13
#define PIV_OBJECT_ONLY
Definition: INodeTransformModes.h:15
Transforms will affect the objects' world transform.
Definition: maxapi.h:8351
#define PIV_PIVOT_ONLY
Definition: INodeTransformModes.h:14
Transforms will affect only the pivot point of objects.
Definition: maxapi.h:8353
Transforms will affect only the objects and not their pivot points.
Definition: maxapi.h:8355
Rotation and Scale will be applied to the hierarchy by rotating or scaling the position of the pivot ...
Definition: maxapi.h:8359
enum ResCode
Enumerator
kRES_INTERNAL_ERROR 
kRES_MOD_NOT_FOUND 
kRES_MOD_NOT_APPLICABLE 
kRES_SUCCESS 
8805  {
8806  kRES_INTERNAL_ERROR = -3,
8807  kRES_MOD_NOT_FOUND = -2,
8809  kRES_SUCCESS = 0,
8810  };
Definition: maxapi.h:8809
Definition: maxapi.h:8806
Definition: maxapi.h:8808
Definition: maxapi.h:8807

Member Function Documentation

virtual void GetSelNodeTab ( INodeTab selectedNodes) const
pure virtual

Retrieves the currently selected nodes into the supplied parameter.

It clears the node tab supplied as parameter before using it.

virtual PivotMode GetPivotMode ( ) const
pure virtual

Returns the current pivot mode the system is in.

virtual void SetPivotMode ( PivotMode  pivMode)
pure virtual

Set the pivot mode of the system.

virtual bool GetAffectChildren ( ) const
pure virtual

Returns true if the transforms applied to a node will affect its children, otherwise returns false.

virtual void SetAffectChildren ( bool  bAffectChildren)
pure virtual

Sets whether the transforms applied to a node will affect its children.

If bAffectChildren is true, the children of a node will be transformed when their parent node is transformed. Otherwise, they won't be transformed.

virtual void GetCurRefCoordSysName ( MSTR name) const
pure virtual

Given a reference coordinate system id, returns the name of it.

virtual void AddRefCoordNode ( INode node)
pure virtual

Allows for setting the specified node's axis, as the current reference coordinate system.

virtual INode* GetRefCoordNode ( )
pure virtual
virtual bool ShouldContinueRenderOnError ( ) const
pure virtual

Only relevant for network rendering.

It is possible to set a job flag indicates that max should attempt to continue to render even when an "error" has been detected. This method allows plug-ins to determine whether this flag has been set.

virtual void SetupFrameRendParams ( FrameRendParams frp,
RendParams rp,
ViewExp vx,
RECT *  r 
)
pure virtual
virtual void SetupFrameRendParams_MXS ( FrameRendParams frp,
RendParams rp,
ViewExp vx,
RECT *  r,
bool  useSelBox 
)
pure virtual
virtual int InitDefaultLights ( DefaultLight dl,
int  maxn,
BOOL  applyGlobalLevel = FALSE,
ViewExp vx = NULL,
BOOL  forRenderer = FALSE 
)
pure virtual
virtual void IncrRenderActive ( )
pure virtual

Methods used to sync use with Material Editor sample rendering.

virtual void DecrRenderActive ( )
pure virtual
virtual BOOL IsRenderActive ( )
pure virtual
virtual BOOL XRefRenderBegin ( )
pure virtual
virtual void XRefRenderEnd ( )
pure virtual
virtual void OpenRenderDialog ( )
pure virtual
virtual void CancelRenderDialog ( )
pure virtual
virtual void CloseRenderDialog ( )
pure virtual
virtual void CommitRenderDialogParameters ( )
pure virtual
virtual void UpdateRenderDialogParameters ( )
pure virtual
virtual BOOL RenderDialogOpen ( )
pure virtual
virtual Bitmap* GetLastRenderedImage ( )
pure virtual
virtual HWND GetStatusPanelHWnd ( )
pure virtual

Returns the window handle of the status panel window (this holds the MAXScript mini-listener)

virtual void SetListenerMiniHWnd ( HWND  wnd)
pure virtual
virtual HWND GetListenerMiniHWnd ( )
pure virtual
virtual int MAXScriptHelp ( const MCHAR keyword = NULL)
pure virtual

Starts the MAXScript help.

virtual MAXScriptPrefs& GetMAXScriptPrefs ( )
pure virtual

Retrieves maxscript preferences.

virtual BOOL OpenTrackViewWindow ( const MCHAR tv_name,
const MCHAR layoutName = NULL,
Point2  pos = Point2(-1.0f,-1.0f),
int  width = -1,
int  height = -1,
int  dock = TV_FLOAT 
)
pure virtual
virtual BOOL BringTrackViewWindowToTop ( const MCHAR tv_name)
pure virtual

Sets the focus to the specified track view window.

virtual BOOL TrackViewZoomSelected ( const MCHAR tv_name)
pure virtual
virtual BOOL TrackViewZoomOn ( const MCHAR tv_name,
Animatable parent,
int  subNum 
)
pure virtual
virtual BOOL CloseTrackView ( const MCHAR tv_name)
pure virtual
virtual int NumTrackViews ( )
pure virtual
virtual const MCHAR* GetTrackViewName ( int  i)
pure virtual
virtual BOOL SetTrackViewFilter ( const MCHAR tv_name,
DWORD  mask,
int  which,
BOOL  redraw = TRUE 
)
pure virtual

The mask bits are defined in MAXSDK/INCLUDE/ITREEVW.H.

Internally, the mask bits are stored in two DWORDs The 'which' param tells which to work with - valid values are 0 and 1.

virtual BOOL ClearTrackViewFilter ( const MCHAR tv_name,
DWORD  mask,
int  which,
BOOL  redraw = TRUE 
)
pure virtual
virtual DWORD TestTrackViewFilter ( const MCHAR tv_name,
DWORD  mask,
int  which 
)
pure virtual
virtual void FlushAllTrackViewWindows ( )
pure virtual
virtual void UnFlushAllTrackViewWindows ( )
pure virtual
virtual void CloseAllTrackViewWindows ( )
pure virtual
virtual void SetCurEditObject ( BaseObject obj,
INode hintNode = NULL 
)
pure virtual
virtual BaseObject* GetCurEditObject ( )
pure virtual

Get the object or modifier that is currently being edited in the modifier panel.

Implements Interface.

virtual void AddModToSelection ( Modifier mod)
pure virtual
virtual void InvalidateObCache ( INode node)
pure virtual
virtual INode* FindNodeFromBaseObject ( ReferenceTarget obj)
pure virtual
virtual void SelectedHistoryChanged ( )
pure virtual
virtual BOOL CmdPanelOpen ( )
pure virtual
virtual void CmdPanelOpen ( BOOL  openClose)
pure virtual
virtual void SuspendEditing ( DWORD  whichPanels = (1<< TASK_MODE_MODIFY),
BOOL  alwaysSuspend = FALSE 
)
pure virtual

Suspends / Resumes command panels specified via bits set in whichPanels param.

virtual void ResumeEditing ( DWORD  whichPanels = (1<< TASK_MODE_MODIFY),
BOOL  alwaysSuspend = FALSE 
)
pure virtual
virtual void SuspendMotionEditing ( )
pure virtual
virtual void ResumeMotionEditing ( )
pure virtual
virtual int AddClass ( ClassDesc cdesc,
int  dllNum = -1,
int  index = -1,
bool  load = true 
)
pure virtual

This method expands Interface::AddClass.

It allows for adding new ClassDesc dynamically to create panel

virtual void ReBuildSuperList ( )
pure virtual

Rebuilds the list of groups and categories of the Create Panel.

virtual BOOL IsEditing ( )
pure virtual

Returns FALSE if the editing is stopped. While stopped, it shouldn't be resumed.

virtual void ChangeHistory ( int  upDown)
pure virtual

Allows for changing the modifier panel's.

virtual void StartCreatingObject ( ClassDesc pCD)
pure virtual
virtual BOOL IsCreatingObject ( Class_ID id)
pure virtual
virtual BOOL IsCreatingObject ( )
pure virtual
virtual void UpdateLockCheckObjectCounts ( )
pure virtual

Fast node creation for FileLink.

virtual INode* CreateObjectNode ( Object obj,
const MCHAR name 
)
pure virtual
virtual BOOL SetDir ( int  which,
const MCHAR dir 
)
pure virtual
virtual BOOL AddAssetDir ( const MCHAR dir,
MaxSDK::AssetManagement::AssetType  assetType,
int  update = TRUE 
)
pure virtual

Adds a permanent user path associated to a particular asset type.

Parameters
[in]dirAn absolute path
[in]assetTypeAn enumeration constant representing the asset type
[in]updateUpdate system configuration files with the new data
Returns
TRUE if the path was added, FALSE if not
Remarks
Remember that this function is for adding permanent user paths, not session user paths. Session user paths are temporary.
virtual BOOL DeleteAssetDir ( int  i,
MaxSDK::AssetManagement::AssetType  assetType,
int  update = TRUE 
)
pure virtual

Deletes the "ith" permanent user path associated with a particular asset type.

Parameters
[in]iThe index of the directory you want to delete
[in]assetTypeAn enumeration constant representing the asset type
[in]updateUpdate system configuration files with the new data
Returns
a c-string with an absolute path to the ith asset directory
Remarks
Remember that this function returns a permanent user path, not a session user path.
virtual void UpdateAssetSection ( MaxSDK::AssetManagement::AssetType  assetType)
pure virtual

Updates system configuration files' asset directory section of a particular asset type, with changes made to the session and/or permanent asset directories of that particular asset type.

Parameters
[in]assetTypeAn enumeration constant representing the asset type
Returns
a c-string with an absolute path to the ith asset directory
Remarks
Remember that this function returns a permanent user path, not a session user path.
virtual BOOL AppendToCurFilePath ( const MCHAR toAppend)
pure virtual

Appends a string to the current file name and file path.

It also updates the string in the application's title bar.

virtual MSTR GetMAXIniFile ( )
pure virtual

Returns empty MSTR if locType == LOC_REGISTRY.

virtual BOOL OpenSchematicViewWindow ( const MCHAR sv_name)
pure virtual

— Schematic View -----------------------------------------------— ///

virtual BOOL SchematicViewZoomSelected ( const MCHAR sv_name)
pure virtual
virtual BOOL CloseSchematicView ( const MCHAR sv_name)
pure virtual
virtual int NumSchematicViews ( )
pure virtual
virtual const MCHAR* GetSchematicViewName ( int  i)
pure virtual
virtual void CloseAllSchematicViewWindows ( )
pure virtual
virtual void FlushAllSchematicViewWindows ( )
pure virtual
virtual void UnFlushAllSchematicViewWindows ( )
pure virtual
virtual BOOL DrawingEnabled ( )
pure virtual
virtual void EnableDrawing ( BOOL  onOff)
pure virtual
virtual BOOL SceneResetting ( )
pure virtual
virtual BOOL QuitingApp ( )
pure virtual
virtual BOOL GetHideFrozen ( )
pure virtual
virtual void SetSceneDisplayFlag ( DWORD  flag,
BOOL  onOff,
BOOL  updateUI = TRUE 
)
pure virtual

See 'Scene Display Flags' in maxapi.h for the possible values of 'flag'.

virtual BOOL GetSceneDisplayFlag ( DWORD  flag)
pure virtual
virtual IScene* GetScene ( )
pure virtual

Access to the scene interface.

virtual void SetMtlSlot ( int  i,
MtlBase m 
)
pure virtual
virtual int GetActiveMtlSlot ( )
pure virtual
virtual void SetActiveMtlSlot ( int  i)
pure virtual
virtual int NumMtlSlots ( )
pure virtual
virtual void FlushMtlDlg ( )
pure virtual
virtual void UnFlushMtlDlg ( )
pure virtual
virtual BOOL IsMtlInstanced ( MtlBase m)
pure virtual
virtual Mtl* FindMtlNameInScene ( MSTR name)
pure virtual
virtual void PutMaterial ( MtlBase mtl,
MtlBase oldMtl,
BOOL  delOld = 1,
RefMakerHandle  skipThis = 0 
)
pure virtual
virtual BOOL IsMtlDlgShowing ( )
pure virtual

Returns whether any Material Editor is open.

Pertains to either the Basic or Advanced editor according to the current mode; both cannot be open simultaneously.

See also
Material Editor Dialog Mode values
virtual void OpenMtlDlg ( )
pure virtual

Opens the Material Editor. No effect if already open.

Opens either the Basic or Advanced editor according to the current mode; both cannot be open simultaneously.

See also
Material Editor Dialog Mode values
virtual void CloseMtlDlg ( )
pure virtual

Closes the Material Editor. No effect is already closed.

Closes either the Basic or Advanced editor according to the current mode; both cannot be open simultaneously.

See also
Material Editor Dialog Mode values
virtual HWND GetViewPanelHWnd ( )
pure virtual

Returns the window handle for the viewport frame.

virtual int getActiveViewportIndex ( )
pure virtual

Viewport access by index.

virtual BOOL setActiveViewport ( int  index)
pure virtual
virtual int getNumViewports ( )
pure virtual
virtual ViewExp& getViewExp ( int  i)
pure virtual
virtual void resetAllViews ( )
pure virtual
virtual const MCHAR* getActiveViewportLabel ( )
pure virtual

Viewport name access.

virtual const MCHAR* getViewportLabel ( int  index)
pure virtual
virtual void SetRegionRect ( int  index,
Rect  r 
)
pure virtual

Viewport blow-up and sub-region access.

virtual Rect GetRegionRect ( int  index)
pure virtual
virtual void SetBlowupRect ( int  index,
Rect  r 
)
pure virtual
virtual Rect GetBlowupRect ( int  index)
pure virtual
virtual void SetRegionRect2 ( int  index,
Rect  r 
)
pure virtual
virtual Rect GetRegionRect2 ( int  index)
pure virtual
virtual void SetBlowupRect2 ( int  index,
Rect  r 
)
pure virtual
virtual Rect GetBlowupRect2 ( int  index)
pure virtual
virtual int GetRenderType ( )
pure virtual
virtual void SetRenderType ( int  rtype)
pure virtual
virtual BOOL GetLockImageAspRatio ( )
pure virtual
virtual void SetLockImageAspRatio ( BOOL  on)
pure virtual
virtual float GetImageAspRatio ( )
pure virtual
virtual void SetImageAspRatio ( float  on)
pure virtual
virtual BOOL GetLockPixelAspRatio ( )
pure virtual
virtual void SetLockPixelAspRatio ( BOOL  on)
pure virtual
virtual float GetPixelAspRatio ( )
pure virtual
virtual void SetPixelAspRatio ( float  on)
pure virtual
virtual void SetViewportGridVisible ( int  index,
BOOL  state 
)
pure virtual
virtual BOOL GetViewportGridVisible ( int  index)
pure virtual
virtual void ViewportInvalidate ( int  index)
pure virtual
virtual void ViewportInvalidateBkgImage ( int  index)
pure virtual
virtual void InvalidateAllViewportRects ( )
pure virtual
virtual void RedrawViewportsNow ( TimeValue  t,
DWORD  vpFlags = VP_DONT_SIMPLIFY 
)
pure virtual
Parameters
t- The time to redraw the viewports at
vpFlags- See Viewport Degradation Flags for a list of possible values
virtual void RedrawViewportsLater ( TimeValue  t,
DWORD  vpFlags = VP_DONT_SIMPLIFY 
)
pure virtual
Parameters
t- The time to redraw the viewports at
vpFlags- See Viewport Degradation Flags for a list of possible values
virtual void SetActiveViewportRenderLevel ( int  level)
pure virtual

Sets the current viewport rendering level.

Parameters
level- See Viewport Rendering Levels for possible values
virtual int GetActiveViewportRenderLevel ( )
pure virtual

Returns the current viewport rendering level.

Returns
See Viewport Rendering Levels for possible values
virtual void SetActiveViewportShowEdgeFaces ( BOOL  show)
pure virtual

Access to viewport show edge faces states.

virtual BOOL GetActiveViewportShowEdgeFaces ( )
pure virtual
virtual void SetActiveViewportTransparencyLevel ( int  level)
pure virtual

There are 3 levels of transparency: 0, 1 and 2.


0 - no transparency
1 - if hardware rendering -> Blend, otherwise Stipple
2 - if hardware rendering -> Sorted Blend, otherwise Blend

virtual int GetActiveViewportTransparencyLevel ( )
pure virtual
virtual BOOL GetDualPlanes ( )
pure virtual

Access dual plane settings.

virtual void SetDualPlanes ( BOOL  b)
pure virtual
virtual void SetTestOnlyFrozen ( int  onOff)
pure virtual

When the flag is On, only frozen objects are hit tested during a pick.

virtual void SetScaleMode ( int  mode)
pure virtual

Scale modes: CID_OBJSCALE, CID_OBJUSCALE, CID_OBJSQUASH (see cmdmode.h)

virtual void SetCenterMode ( int  mode)
pure virtual

Center modes - see 'Origin modes' in maxapi.h.

virtual BOOL InManipMode ( )
pure virtual

Manipulator related.

virtual void StartManipulateMode ( )
pure virtual
virtual void EndManipulateMode ( )
pure virtual
virtual BOOL IsViewportCommandMode ( CommandMode m)
pure virtual
virtual void ConvertFlagedNodesToXRefs ( const MaxSDK::AssetManagement::AssetUser fname,
INode rootNode,
Tab< INode * > &  nodes,
int  xFlags 
)
pure virtual

— XRefs -----------------------------------------------------—— ///

This function is for internal use only.

virtual void XRefSceneSetIgnoreFlag ( int  index,
DWORD  f,
BOOL  onOff 
)
pure virtual

'f' parameter can take values defined as 'Xref flag bits' in inode.h

virtual void UpdateSceneXRefState ( )
pure virtual
virtual BOOL GetSnapActive ( )
pure virtual
virtual void SetSnapActive ( BOOL  onOff)
pure virtual
virtual int GetSnapType ( )
pure virtual
virtual void SetSnapType ( int  type)
pure virtual

See 'Snap types' in snap.h for possible values of 'type'.

virtual void ToggleASnap ( )
pure virtual
virtual int ASnapStatus ( )
pure virtual
virtual void TogglePSnap ( )
pure virtual
virtual int PSnapStatus ( )
pure virtual
virtual float GetGridSpacing ( )
pure virtual
Remarks
This method returns the grid spacing value that the user specifies in the Views / Grid and Snap Settings dialog in the Home Grid tab under Grid Spacing.

Implements Interface.

virtual void SetGridSpacing ( float  newVal)
pure virtual
virtual int GetGridMajorLines ( )
pure virtual
Remarks
This method returns the value that the user specifies in the Views / Grid and Snap Settings dialog in the Home Grid tab under Major Lines every Nth.

Implements Interface.

virtual void SetGridMajorLines ( float  newVal)
pure virtual
virtual float GetSnapAngle ( )
pure virtual
virtual void SetSnapAngle ( float  newVal)
pure virtual
virtual float GetSnapPercent ( )
pure virtual
virtual void SetSnapPercent ( float  newVal)
pure virtual
MAX_DEPRECATED BOOL GetPrimaryVisibility ( INode node)
Deprecated:
This function deprecated in Max 2017. Please use INode::GetPrimaryVisibility().
MAX_DEPRECATED void SetPrimaryVisibility ( INode node,
BOOL  onOff 
)
Deprecated:
This function deprecated in Max 2017. Please use INode::SetPrimaryVisibility().
MAX_DEPRECATED BOOL GetSecondaryVisibility ( INode node)
Deprecated:
This function deprecated in Max 2017. Please use INode::GetSecondaryVisibility().
MAX_DEPRECATED void SetSecondaryVisibility ( INode node,
BOOL  onOff 
)
Deprecated:
This function deprecated in Max 2017. Please use INode::SetSecondaryVisibility().
virtual void SetNodeAttribute ( INodeTab nodes,
int  whatAttrib,
int  onOff 
)
pure virtual

Set the given attribute on the passed nodes.

Parameters
nodes- An array of nodes to set the attribute on
whatAttrib- One of the list of Interface7::SetNodeAttribute Defines
onOff- If true the attribute is set on all the nodes, if it is false, the attribute is cleared
virtual void SetNodeAttribute ( INode node,
int  whatAttrib,
int  onOff 
)
pure virtual

Set the given attribute on the passed node.

Parameters
node- A pointer to the node to set the attribute on
whatAttrib- One of the list of Interface7::SetNodeAttribute Defines
onOff- If true the attribute is set on all the nodes, if it is false, the attribute is cleared
virtual void SetExpertMode ( int  onOff)
pure virtual
virtual int GetExpertMode ( )
pure virtual
virtual void LoadCUIConfig ( const MCHAR fileName)
pure virtual
virtual void WriteCUIConfig ( )
pure virtual
virtual void SaveCUIAs ( )
pure virtual
virtual void LoadCUI ( )
pure virtual
virtual void RevertToBackupCUI ( )
pure virtual
virtual void ResetToFactoryDefaultCUI ( )
pure virtual
virtual void DoUICustomization ( int  startPage)
pure virtual
virtual int GetDefaultImageListBaseIndex ( SClass_ID  sid,
Class_ID  cid 
)
pure virtual
virtual MSTR* GetDefaultImageListFilePrefix ( SClass_ID  sid,
Class_ID  cid 
)
pure virtual
virtual float GetGridIntens ( )
pure virtual
virtual void SetGridIntens ( float  f)
pure virtual
virtual BOOL GetWhiteOrigin ( )
pure virtual
virtual void SetWhiteOrigin ( BOOL  b)
pure virtual
virtual BOOL GetUseGridColor ( )
pure virtual
virtual void SetUseGridColor ( BOOL  b)
pure virtual
virtual void UpdateColors ( BOOL  useGridColor,
int  gridIntensity,
BOOL  whiteOrigin 
)
pure virtual
virtual IMenu* GetIMenu ( )
pure virtual
virtual IMenuItem* GetIMenuItem ( )
pure virtual
virtual void RepaintTimeSlider ( )
pure virtual
virtual MSTR GetTabPageTitle ( ITabPage page)
pure virtual
virtual BOOL DoMaxFileSaveAsDlg ( MSTR fileName,
BOOL  setAsCurrent = TRUE 
)
pure virtual
virtual BOOL DoMaxFileOpenDlg ( MSTR fileName,
MSTR defDir,
MSTR defFile 
)
pure virtual
virtual BOOL DoMaxFileMergeDlg ( MSTR fileName,
MSTR defDir,
MSTR defFile 
)
pure virtual
virtual BOOL DoMaxFileXRefDlg ( MSTR fileName,
MSTR defDir,
MSTR defFile 
)
pure virtual
virtual void StartAnimPlayback2 ( int  selOnly)
pure virtual

Old style playback with no immediate return.

virtual BOOL IsValidModForSelection ( ClassEntry ce)
pure virtual

Tests of modifier applicability.

virtual BOOL IsValidModifier ( INode node,
Modifier mod 
)
pure virtual

Returns FALSE if the specified modifier cannot be applied to the object.

virtual ResCode AddModifier ( INode node,
Modifier mod,
int  beforeIdx = 0 
)
pure virtual

Adds the specified modifier to a node.

INode& node - the node the modifier will be added to Modifier& mod - the modifier instance that will be applied to node int beforeIdx - the index in the modstack where the modifier should be inserted. 0 means at the top of the modstack (just below the node) If the object's stack doesn't have beforeIdx number of modifiers in it, the modifier is added at the lowest possible index (just on top of the base object) Returns one of these error codes: kRES_INTERNAL_ERROR - if an error such as invalid pointer is encountered kRES_MOD_NOT_APPLICABLE - if the modifier is not applicable kRES_SUCCESS - on success

virtual ResCode DeleteModifier ( INode node,
Modifier mod 
)
pure virtual

Deletes the first occurrence of the specified modifier from the node's modifier stack.

Returns one of the following values: kRES_INTERNAL_ERROR, kRES_MOD_NOT_FOUND or kRES_SUCCESS

virtual ResCode DeleteModifier ( INode node,
int  modIdx 
)
pure virtual

Deletes the modifier at the specified index from the node's modifier stack Returns one of the following values: kRES_INTERNAL_ERROR, kRES_MOD_NOT_FOUND or kRES_SUCCESS.

virtual IDerivedObject* FindModifier ( INode node,
Modifier mod,
int modStackIdx,
int derivedObjIdx 
)
pure virtual

Finds the first occurrence of the specified modifier on a node.

It returns a pointer to the derived object to which this modifier belongs, the index of the modifier within this derived object and the index within the modifier stack. If the modifier is not found, returns NULL. It searches the WS, then the OS part of the geom pipeline of the node.

virtual IDerivedObject* FindModifier ( INode node,
int  modIdx,
int idx,
Modifier *&  mod 
)
pure virtual

Finds the modifier at the specified modstack index on a node.

It returns a pointer to the derived object to which this modifier belongs, the index of the modifier within this derived object, and a pointer to the modifier itself. If the modifier is not found, returns NULL. It searches both WS and OS part of the geom pipeline of the object

virtual IDerivedObject* FindModifier ( INode node,
Modifier mod,
ModContext mc,
int modStackIdx,
int dobjidx 
)
pure virtual

Finds the index of a modifier instance in a modstack of a node, when the node, the modifier it's corresponding cod context are given.

It returns a pointer to the derived object to which this modifier belongs, the index of the modifier within this derived object, and a pointer to the modifier itself. If the modifier is not found, returns NULL. It searches both WS and OS part of the geom pipeline of the object node, mod and mc are input parameters, while modStackIdx and dobjidx are output params

virtual ResCode DoDeleteModifier ( INode node,
IDerivedObject dobj,
int  idx 
)
pure virtual
virtual Object* GetReplaceableObjRef ( INode node)
pure virtual

A node's reference to its object should be replaced using this method.

Returns NULL when the operation cannot be completed, such as for Actively (File) Linked objects or their user created clone-instances / references.

virtual void OpenEnvEffectsDialog ( )
pure virtual
virtual void CloseEnvEffectsDialog ( )
pure virtual
virtual BOOL EnvEffectsDialogOpen ( )
pure virtual

Member Data Documentation

CoreExport const Interface_ID kInterface7InterfaceID
static

The ID for this interface. Pass this ID to Interface::GetInterface to get an Interface7 pointer.