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

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

#include <maxapi.h>

+ 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.
 
virtual PivotMode GetPivotMode () const =0
 Returns the current pivot mode the system is in.
 
virtual void SetPivotMode (PivotMode pivMode)=0
 Set the pivot mode of the system.
 
virtual bool GetAffectChildren () const =0
 Returns true if the transforms applied to a node will affect its children, otherwise returns false.
 
virtual void SetAffectChildren (bool bAffectChildren)=0
 Sets whether the transforms applied to a node will affect its children.
 
virtual void GetCurRefCoordSysName (MSTR &name) const =0
 Given a reference coordinate system id, returns the name of it.
 
virtual void AddRefCoordNode (INode *node)=0
 Allows for setting the specified node's axis, as the current reference coordinate system.
 
virtual INodeGetRefCoordNode ()=0
 
virtual bool ShouldContinueRenderOnError () const =0
 Only relevant for network rendering.
 
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)=0
 
virtual void IncrRenderActive ()=0
 Methods used to sync use with Material Editor sample rendering.
 
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)
 
virtual void SetListenerMiniHWnd (HWND wnd)=0
 
virtual HWND GetListenerMiniHWnd ()=0
 
virtual int MAXScriptHelp (const MCHAR *keyword=NULL)=0
 Starts the MAXScript help.
 
virtual MAXScriptPrefsGetMAXScriptPrefs ()=0
 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)=0
 
virtual BOOL BringTrackViewWindowToTop (const MCHAR *tv_name)=0
 Sets the focus to the specified track view window.
 
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.
 
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.
 
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.
 
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.
 
virtual void ReBuildSuperList ()=0
 Rebuilds the list of groups and categories of the Create Panel.
 
virtual BOOL IsEditing ()=0
 Returns FALSE if the editing is stopped. While stopped, it shouldn't be resumed.
 
virtual void ChangeHistory (int upDown)=0
 Allows for changing the modifier panel's.
 
virtual void StartCreatingObject (ClassDesc *pCD)=0
 
virtual BOOL IsCreatingObject (const Class_ID &id)=0
 
virtual BOOL IsCreatingObject ()=0
 
virtual void UpdateLockCheckObjectCounts ()=0
 Fast node creation for FileLink.
 
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.
 
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.
 
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.
 
virtual BOOL AppendToCurFilePath (const MCHAR *toAppend)=0
 Appends a string to the current file name and file path.
 
virtual MSTR GetMAXIniFile ()=0
 Returns empty MSTR if locType == LOC_REGISTRY.
 
virtual BOOL OpenSchematicViewWindow (const MCHAR *sv_name)=0
 — Schematic View -----------------------------------------------— ///
 
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'.
 
virtual BOOL GetSceneDisplayFlag (DWORD flag)=0
 
virtual ISceneGetScene ()=0
 Access to the scene interface.
 
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.
 
virtual void OpenMtlDlg ()=0
 Opens the Material Editor. No effect if already open.
 
virtual void CloseMtlDlg ()=0
 Closes the Material Editor. No effect is already closed.
 
virtual HWND GetViewPanelHWnd ()=0
 Returns the window handle for the viewport frame.
 
virtual int getActiveViewportIndex ()=0
 Viewport access by index.
 
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.
 
virtual const MCHARgetViewportLabel (int index)=0
 
virtual void SetRegionRect (int index, Rect r)=0
 Viewport blow-up and sub-region access.
 
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.
 
virtual int GetActiveViewportRenderLevel ()=0
 Returns the current viewport rendering level.
 
virtual void SetActiveViewportShowEdgeFaces (BOOL show)=0
 Access to viewport show edge faces states.
 
virtual BOOL GetActiveViewportShowEdgeFaces ()=0
 
virtual void SetActiveViewportTransparencyLevel (int level)=0
 There are 3 levels of transparency: 0, 1 and 2.
 
virtual int GetActiveViewportTransparencyLevel ()=0
 
virtual BOOL GetDualPlanes ()=0
 Access dual plane settings.
 
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.
 
virtual void SetScaleMode (int mode)=0
 Scale modes: CID_OBJSCALE, CID_OBJUSCALE, CID_OBJSQUASH (see cmdmode.h)
 
virtual void SetCenterMode (int mode)=0
 Center modes - see 'Origin modes' in maxapi.h.
 
virtual BOOL InManipMode ()=0
 Manipulator related.
 
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 --------------------------------------------------------— ///
 
virtual void XRefSceneSetIgnoreFlag (int index, DWORD f, BOOL onOff)=0
 'f' parameter can take values defined as 'Xref flag bits' in inode.h
 
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'.
 
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
 
virtual void SetNodeAttribute (INodeTab &nodes, int whatAttrib, int onOff)=0
 Set the given attribute on the passed nodes.
 
virtual void SetNodeAttribute (INode *node, int whatAttrib, int onOff)=0
 Set the given attribute on the passed node.
 
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.
 
virtual BOOL IsValidModForSelection (ClassEntry *ce)=0
 Tests of modifier applicability.
 
virtual BOOL IsValidModifier (INode &node, Modifier &mod)=0
 Returns FALSE if the specified modifier cannot be applied to the object.
 
virtual ResCode AddModifier (INode &node, Modifier &mod, int beforeIdx=0)=0
 Adds the specified modifier to a node.
 
virtual ResCode DeleteModifier (INode &node, Modifier &mod)=0
 Deletes the first occurrence of the specified modifier from the node's modifier stack.
 
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.
 
virtual IDerivedObjectFindModifier (INode &node, Modifier &mod, int &modStackIdx, int &derivedObjIdx)=0
 Finds the first occurrence of the specified modifier on a node.
 
virtual IDerivedObjectFindModifier (INode &node, int modIdx, int &idx, Modifier *&mod)=0
 Finds the modifier at the specified modstack index on a node.
 
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.
 
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.
 
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.
 
virtual const MCHARGetAssetDir (int i, MaxSDK::AssetManagement::AssetType assetType)=0
 Returns the "ith" permanent user path associated with a particular asset type.
 
virtual BOOL AddAssetDir (const MCHAR *dir, MaxSDK::AssetManagement::AssetType assetType)=0
 Adds a permanent user path associated to a particular asset type.
 
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.
 
virtual int GetSessionAssetDirCount (MaxSDK::AssetManagement::AssetType assetType)=0
 Returns the number of session user paths associated with a particular type of asset.
 
virtual const MCHARGetSessionAssetDir (int i, MaxSDK::AssetManagement::AssetType assetType)=0
 Returns the "ith" session user path associated with a particular asset type.
 
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.
 
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.
 
virtual const MCHARGetCurAssetDir (int i, MaxSDK::AssetManagement::AssetType assetType)=0
 Returns the "ith" session\permanent user path associated with a particular asset type.
 
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.
 
virtual Class_ID GetDefaultRendererClassID (RenderSettingID renderSettingID)=0
 Gets the class ID of the default renderer for the given render setting.
 
virtual void SetDefaultRendererClassID (RenderSettingID renderSettingID, Class_ID classID)=0
 Gets the class ID of the default renderer for the given render setting.
 
virtual RendererGetMEditRenderer (bool createRendererIfItDoesntExist=true)=0
 Gets the renderer assigned to the MEdit slot.

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

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

.
 
virtual bool GetMEditRendererLocked ()=0
 Gets the status of the MEdit renderer lock.
 
virtual void SetMEditRendererLocked (bool locked)=0
 Sets the status of the MEdit renderer lock.
 
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".
 
virtual void SetRendSimplifyAreaLights (BOOL onOff)=0
 Sets the toggle in the render dialog, "Area Lights/Shadows as Points".
 
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.
 
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.
 
virtual void EnableSceneRedraw ()=0
 Turns on scene redraws.
 
virtual int IsSceneRedrawDisabled ()=0
 Tells whether the scene redraw is disabled.
 
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.
 
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
 
 __declspec (deprecated) virtual float GetAutoBackupTime() final
 
 __declspec (deprecated) virtual void SetAutoBackupTime(float minutes) final
 
 __declspec (deprecated) virtual BOOL AutoBackupEnabled() final
 
 __declspec (deprecated) virtual void EnableAutoBackup(BOOL onOff) final
 
virtual bool ProgressStart (const MCHAR *taskName, bool dispBar, LPTHREAD_START_ROUTINE fn, LPVOID arg)=0
 Displays a progress bar in the status panel with a cancel button next to the progress bar.
 
virtual bool ProgressStart (const MCHAR *taskName, bool allowCancel=true)=0
 Similar to other ProgressStart() API.
 
virtual void ProgressUpdate (int pct, bool showPct=true, const MCHAR *stepName=nullptr)=0
 This method updates the progress bar.
 
virtual void ProgressEnd ()=0
 
virtual BOOL GetCancel ()=0
 
virtual void SetCancel (BOOL sw)=0
 
virtual void CreatePreview (PreviewParams *pvp=nullptr, MSTR *filename=nullptr, MSTR *snippet=nullptr, MAXScript::ScriptSource scriptSource=MAXScript::ScriptSource::NotSpecified)=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
 @
 
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.
 
virtual BOOL GetQuietMode (BOOL checkServerMode=TRUE)=0
 The return value from this method should be called before displaying any dialogs.
 
virtual void SetAutoGridEnable (bool sw=true)=0
 Enables/disables system AutoGrid feature.
 
virtual bool GetAutoGridEnable ()=0
 Query system AutoGrid feature enable state.
 
virtual bool GetAutoGridState ()=0
 Query system AutoGrid feature state.
 
virtual void SetAutoGridState (bool sw=true)=0
 Sets system AutoGrid state.
 
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.
 
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.
 
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 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.
 
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 overrideDriven=FALSE)=0
 Deletes the specified node from the scene.
 
virtual INodeGetRootNode ()=0
 
virtual void SetNodeTMRelConstPlane (INode *node, const 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, MaxSDK::Array< MaxRefEntryData > *dataList=nullptr)=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.
 
virtual void AbortRender ()=0
 Calling this method during a render will set the flag that indicates that the render is to be aborted.
 
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 GetRendPixelAspect ()=0
 
 __declspec (deprecated) virtual float GetRendApect() MAX_SEALED
 
virtual void SetRendPixelAspect (float a)=0
 
 __declspec (deprecated) virtual void SetRendAspect(float a) MAX_SEALED
 
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
 
Point3 GetAmbient (TimeValue t, Interval &&valid=FOREVER)
 
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
 
Point3 GetLightTint (TimeValue t, Interval &&valid=FOREVER)
 
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
 
float GetLightLevel (TimeValue t, Interval &&valid=FOREVER)
 
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
 
Point3 GetBackGround (TimeValue t, Interval &&valid=FOREVER)
 
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
 Used to deactivate the Transform Gizmo when it is released.
 
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.
 
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
 
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 DisplayFilterIsNodeHidden (int index, int sid, Class_ID cid, INode *node)=0
 
virtual const MCHARGetDisplayFilterName (int index)=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 ()
 
virtual BaseInterfaceGetInterface (Interface_ID id)
 
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.
 
CoreExport void AppendProperty (int id,...)
 Add a new property to this interface descriptor.
 
CoreExport void AppendEnum (int id,...)
 Add a new enum to this interface descriptor.
 
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 BaseInterfaceGetInterface (Interface_ID id)
 
virtual FPInterfaceDescGetDesc ()=0
 
virtual CoreExport FPStatus Invoke (FunctionID fid, TimeValue t=0, FPParams *params=NULL)
 
virtual FPStatus Invoke (FunctionID fid, FPParams *params)
 
virtual CoreExport FPStatus Invoke (FunctionID fid, TimeValue t, FPValue &result, FPParams *params=NULL)
 
virtual FPStatus Invoke (FunctionID fid, FPValue &result, FPParams *params=NULL)
 
virtual CoreExport FunctionID FindFn (const MCHAR *name)
 
virtual CoreExport BOOL IsEnabled (FunctionID actionID)
 
virtual CoreExport BOOL IsChecked (FunctionID actionID)
 
virtual CoreExport BOOL IsVisible (FunctionID actionID)
 
virtual CoreExport FunctionID GetIsEnabled (FunctionID actionID)
 
virtual CoreExport FunctionID GetIsChecked (FunctionID actionID)
 
virtual CoreExport FunctionID GetIsVisible (FunctionID actionID)
 
virtual ActionTableGetActionTable ()
 
virtual void EnableActions (BOOL onOff)
 
- Public Member Functions inherited from BaseInterface
virtual UtilExport ~BaseInterface ()
 Destructor.
 
UtilExport BaseInterfaceGetInterface (Interface_ID id) override
 
virtual UtilExport Interface_ID GetID ()
 
virtual LifetimeType LifetimeControl ()
 
virtual bool RegisterNotifyCallback (InterfaceNotifyCallback *incb)
 
virtual void UnRegisterNotifyCallback (InterfaceNotifyCallback *incb)
 
virtual BaseInterfaceAcquireInterface ()
 
virtual void ReleaseInterface ()
 
virtual void DeleteInterface ()
 
virtual BaseInterfaceCloneInterface (void *remapDir=nullptr)
 
- Public Member Functions inherited from InterfaceServer
virtual UtilExport ~InterfaceServer ()
 Destructor.
 
virtual UtilExport BaseInterfaceGetInterface (Interface_ID id)
 
template<class InterfaceType >
InterfaceType * GetTypedInterface ()
 

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.
 
- 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.
 
static UtilExport voidoperator new (size_t size, const std::nothrow_t &e)
 Standard new operator used to allocate objects if there is insufficient memory, NULL will be returned.
 
static UtilExport voidoperator new (size_t size, const char *filename, int line)
 New operator used to allocate objects that takes the filename and line number where the new was called If there is insufficient memory, an exception will be thrown.
 
static UtilExport voidoperator new (size_t size, int block_type, const char *filename, int line)
 New operator used to allocate objects that takes the type of memory, filename and line number where the new was called If there is insufficient memory, an exception will be thrown.
 
static UtilExport voidoperator new (size_t size, const std::nothrow_t &e, const char *filename, int line)
 New operator used to allocate objects that takes the filename and line number where the new was called If there is insufficient memory, NULL will be returned.
 
static UtilExport voidoperator new (size_t size, unsigned long flags)
 New operator used to allocate objects that takes extra flags to specify special operations If there is insufficient memory, an exception will be thrown.
 
static UtilExport voidoperator new (size_t size, const std::nothrow_t &e, unsigned long flags)
 New operator used to allocate objects that takes extra flags to specify special operations If there is insufficient memory, NULL will be returned.
 
static UtilExport voidoperator new[] (size_t size)
 New operator used to allocate arrays of objects If there is insufficient memory, an exception will be thrown.
 
static UtilExport voidoperator new[] (size_t size, const std::nothrow_t &e)
 New operator used to allocate arrays of objects If there is insufficient memory, NULL will be returned.
 
static UtilExport voidoperator new[] (size_t size, const char *filename, int line)
 New operator used to allocate arrays of objects If there is insufficient memory, an exception will be thrown.
 
static UtilExport voidoperator new[] (size_t size, int block_type, const char *filename, int line)
 New operator used to allocate arrays of objects.
 
static UtilExport voidoperator new[] (size_t size, const std::nothrow_t &e, const char *filename, int line)
 New operator used to allocate arrays of objects If there is insufficient memory, NULL will be returned.
 
static UtilExport voidoperator new[] (size_t size, unsigned long flags)
 New operator used to allocate arrays of objects If there is insufficient memory, an exception will be thrown.
 
static UtilExport voidoperator new[] (size_t size, const std::nothrow_t &e, unsigned long flags)
 New operator used to allocate arrays of objects If there is insufficient memory, NULL will be returned.
 
static UtilExport void operator delete (void *ptr)
 Standard delete operator used to deallocate an object If the pointer is invalid, an exception will be thrown.
 
static UtilExport void operator delete (void *ptr, const std::nothrow_t &e)
 Standard delete operator used to deallocate an object If the pointer is invalid, nothing will happen.
 
static UtilExport void operator delete (void *ptr, const char *filename, int line)
 Delete operator used to deallocate an object that takes the filename and line number where the delete was called If the pointer is invalid, an exception will be thrown.
 
static UtilExport void operator delete (void *ptr, int block_type, const char *filename, int line)
 Delete operator used to deallocate an object that takes the type of memory, filename and line number where the delete was called If the pointer is invalid, an exception will be thrown.
 
static UtilExport void operator delete (void *ptr, const std::nothrow_t &e, const char *filename, int line)
 Delete operator used to deallocate an object that takes the filename and line number where the delete was called If the pointer is invalid, nothing will happen.
 
static UtilExport void operator delete (void *ptr, unsigned long flags)
 Delete operator used to deallocate an object that takes extra flags to specify special operations If the pointer is invalid, an exception will be thrown.
 
static UtilExport void operator delete (void *ptr, const std::nothrow_t &e, unsigned long flags)
 Delete operator used to deallocate an object that takes extra flags to specify special operations If the pointer is invalid, nothing will happen.
 
static UtilExport void operator delete[] (void *ptr)
 Standard delete operator used to deallocate an array of objects If the pointer is invalid, an exception will be thrown.
 
static UtilExport void operator delete[] (void *ptr, const std::nothrow_t &e)
 Standard delete operator used to deallocate an array of objects If the pointer is invalid, nothing will happen.
 
static UtilExport void operator delete[] (void *ptr, const char *filename, int line)
 Delete operator used to deallocate an array of objects that takes the filename and line number where the delete was called If the pointer is invalid, an exception will be thrown.
 
static UtilExport void operator delete[] (void *ptr, int block_type, const char *filename, int line)
 Delete operator used to deallocate an array of objects that takes the type of memory, filename and line number where the delete was called If the pointer is invalid, an exception will be thrown.
 
static UtilExport void operator delete[] (void *ptr, const std::nothrow_t &e, const char *filename, int line)
 Delete operator used to deallocate an array of objects that takes the filename and line number where the delete was called If the pointer is invalid, nothing will happen.
 
static UtilExport void operator delete[] (void *ptr, unsigned long flags)
 Delete operator used to deallocate an array of objects that takes extra flags to specify special operations If the pointer is invalid, an exception will be thrown.
 
static UtilExport void operator delete[] (void *ptr, const std::nothrow_t &e, unsigned long flags)
 Delete operator used to deallocate an array of objects that takes extra flags to specify special operations If the pointer is invalid, an exception will be thrown.
 
static UtilExport voidoperator new (size_t size, void *placement_ptr)
 Placement new operator.
 
static UtilExport void operator delete (void *ptr, void *placement_ptr)
 Placement delete operator.
 
static UtilExport voidaligned_malloc (size_t size, size_t alignment)
 Allocates memory on a specified alignment boundary.
 
static UtilExport voidaligned_realloc (void *ptr, size_t size, size_t alignment)
 Reallocates memory on a specified alignment boundary.
 
static UtilExport void aligned_free (void *ptr)
 Frees a block of memory that was allocated with aligned_malloc/aligned_realloc.
 
- 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
 
MSPluginClasspc
 
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)
 

Detailed 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.

Member Enumeration Documentation

◆ PivotMode

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.


8509 {
8520 };
#define PIV_OBJECT_ONLY
Definition: INodeTransformModes.h:15
#define PIV_NONE
Definition: INodeTransformModes.h:13
#define PIV_HIERARCHY_ONLY
Definition: INodeTransformModes.h:16
#define PIV_PIVOT_ONLY
Definition: INodeTransformModes.h:14
@ kPIV_HIERARCHY_ONLY
Rotation and Scale will be applied to the hierarchy by rotating or scaling the position of the pivot ...
Definition: maxapi.h:8519
@ kPIV_OBJECT_ONLY
Transforms will affect only the objects and not their pivot points.
Definition: maxapi.h:8515
@ kPIV_PIVOT_ONLY
Transforms will affect only the pivot point of objects.
Definition: maxapi.h:8513
@ kPIV_NONE
Transforms will affect the objects' world transform.
Definition: maxapi.h:8511

◆ ResCode

enum ResCode
Enumerator
kRES_INTERNAL_ERROR 
kRES_MOD_NOT_FOUND 
kRES_MOD_NOT_APPLICABLE 
kRES_SUCCESS 
8955 {
8957 kRES_MOD_NOT_FOUND = -2,
8959 kRES_SUCCESS = 0,
8960 };
@ kRES_MOD_NOT_APPLICABLE
Definition: maxapi.h:8958
@ kRES_SUCCESS
Definition: maxapi.h:8959
@ kRES_MOD_NOT_FOUND
Definition: maxapi.h:8957
@ kRES_INTERNAL_ERROR
Definition: maxapi.h:8956

Member Function Documentation

◆ GetSelNodeTab()

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.

◆ GetPivotMode()

virtual PivotMode GetPivotMode ( ) const
pure virtual

Returns the current pivot mode the system is in.

◆ SetPivotMode()

virtual void SetPivotMode ( PivotMode  pivMode)
pure virtual

Set the pivot mode of the system.

◆ GetAffectChildren()

virtual bool GetAffectChildren ( ) const
pure virtual

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

◆ SetAffectChildren()

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.

◆ GetCurRefCoordSysName()

virtual void GetCurRefCoordSysName ( MSTR name) const
pure virtual

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

◆ AddRefCoordNode()

virtual void AddRefCoordNode ( INode node)
pure virtual

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

◆ GetRefCoordNode()

virtual INode * GetRefCoordNode ( )
pure virtual

◆ ShouldContinueRenderOnError()

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.

◆ SetupFrameRendParams()

virtual void SetupFrameRendParams ( FrameRendParams frp,
RendParams rp,
ViewExp vx,
RECT *  r 
)
pure virtual

◆ SetupFrameRendParams_MXS()

virtual void SetupFrameRendParams_MXS ( FrameRendParams frp,
RendParams rp,
ViewExp vx,
RECT *  r,
bool  useSelBox 
)
pure virtual

◆ InitDefaultLights()

virtual int InitDefaultLights ( DefaultLight dl,
int  maxn,
BOOL  applyGlobalLevel = FALSE,
ViewExp vx = NULL 
)
pure virtual

◆ IncrRenderActive()

virtual void IncrRenderActive ( )
pure virtual

Methods used to sync use with Material Editor sample rendering.

◆ DecrRenderActive()

virtual void DecrRenderActive ( )
pure virtual

◆ IsRenderActive()

virtual BOOL IsRenderActive ( )
pure virtual

◆ XRefRenderBegin()

virtual BOOL XRefRenderBegin ( )
pure virtual

◆ XRefRenderEnd()

virtual void XRefRenderEnd ( )
pure virtual

◆ OpenRenderDialog()

virtual void OpenRenderDialog ( )
pure virtual

◆ CancelRenderDialog()

virtual void CancelRenderDialog ( )
pure virtual

◆ CloseRenderDialog()

virtual void CloseRenderDialog ( )
pure virtual

◆ CommitRenderDialogParameters()

virtual void CommitRenderDialogParameters ( )
pure virtual

◆ UpdateRenderDialogParameters()

virtual void UpdateRenderDialogParameters ( )
pure virtual

◆ RenderDialogOpen()

virtual BOOL RenderDialogOpen ( )
pure virtual

◆ GetLastRenderedImage()

virtual Bitmap * GetLastRenderedImage ( )
pure virtual

◆ GetStatusPanelHWnd()

virtual HWND GetStatusPanelHWnd ( )
pure virtual

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

◆ SetListenerMiniHWnd()

virtual void SetListenerMiniHWnd ( HWND  wnd)
pure virtual

◆ GetListenerMiniHWnd()

virtual HWND GetListenerMiniHWnd ( )
pure virtual

◆ MAXScriptHelp()

virtual int MAXScriptHelp ( const MCHAR keyword = NULL)
pure virtual

Starts the MAXScript help.

◆ GetMAXScriptPrefs()

virtual MAXScriptPrefs & GetMAXScriptPrefs ( )
pure virtual

Retrieves maxscript preferences.

◆ OpenTrackViewWindow()

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

◆ BringTrackViewWindowToTop()

virtual BOOL BringTrackViewWindowToTop ( const MCHAR tv_name)
pure virtual

Sets the focus to the specified track view window.

◆ TrackViewZoomSelected()

virtual BOOL TrackViewZoomSelected ( const MCHAR tv_name)
pure virtual

◆ TrackViewZoomOn()

virtual BOOL TrackViewZoomOn ( const MCHAR tv_name,
Animatable parent,
int  subNum 
)
pure virtual

◆ CloseTrackView()

virtual BOOL CloseTrackView ( const MCHAR tv_name)
pure virtual

◆ NumTrackViews()

virtual int NumTrackViews ( )
pure virtual

◆ GetTrackViewName()

virtual const MCHAR * GetTrackViewName ( int  i)
pure virtual

◆ SetTrackViewFilter()

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.

◆ ClearTrackViewFilter()

virtual BOOL ClearTrackViewFilter ( const MCHAR tv_name,
DWORD  mask,
int  which,
BOOL  redraw = TRUE 
)
pure virtual

◆ TestTrackViewFilter()

virtual DWORD TestTrackViewFilter ( const MCHAR tv_name,
DWORD  mask,
int  which 
)
pure virtual

◆ FlushAllTrackViewWindows()

virtual void FlushAllTrackViewWindows ( )
pure virtual

◆ UnFlushAllTrackViewWindows()

virtual void UnFlushAllTrackViewWindows ( )
pure virtual

◆ CloseAllTrackViewWindows()

virtual void CloseAllTrackViewWindows ( )
pure virtual

◆ SetCurEditObject()

virtual void SetCurEditObject ( BaseObject obj,
INode hintNode = NULL 
)
pure virtual

◆ GetCurEditObject()

virtual BaseObject * GetCurEditObject ( )
pure virtual

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

Implements Interface.

◆ AddModToSelection()

virtual void AddModToSelection ( Modifier mod)
pure virtual

◆ InvalidateObCache()

virtual void InvalidateObCache ( INode node)
pure virtual

◆ FindNodeFromBaseObject()

virtual INode * FindNodeFromBaseObject ( ReferenceTarget obj)
pure virtual

◆ SelectedHistoryChanged()

virtual void SelectedHistoryChanged ( )
pure virtual

◆ CmdPanelOpen() [1/2]

virtual BOOL CmdPanelOpen ( )
pure virtual

◆ CmdPanelOpen() [2/2]

virtual void CmdPanelOpen ( BOOL  openClose)
pure virtual

◆ SuspendEditing()

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.

◆ ResumeEditing()

virtual void ResumeEditing ( DWORD  whichPanels = (1<< TASK_MODE_MODIFY),
BOOL  alwaysSuspend = FALSE 
)
pure virtual

◆ SuspendMotionEditing()

virtual void SuspendMotionEditing ( )
pure virtual

◆ ResumeMotionEditing()

virtual void ResumeMotionEditing ( )
pure virtual

◆ AddClass()

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

◆ ReBuildSuperList()

virtual void ReBuildSuperList ( )
pure virtual

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

◆ IsEditing()

virtual BOOL IsEditing ( )
pure virtual

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

◆ ChangeHistory()

virtual void ChangeHistory ( int  upDown)
pure virtual

Allows for changing the modifier panel's.

◆ StartCreatingObject()

virtual void StartCreatingObject ( ClassDesc pCD)
pure virtual

◆ IsCreatingObject() [1/2]

virtual BOOL IsCreatingObject ( const Class_ID id)
pure virtual

◆ IsCreatingObject() [2/2]

virtual BOOL IsCreatingObject ( )
pure virtual

◆ UpdateLockCheckObjectCounts()

virtual void UpdateLockCheckObjectCounts ( )
pure virtual

Fast node creation for FileLink.

◆ CreateObjectNode()

virtual INode * CreateObjectNode ( Object obj,
const MCHAR name 
)
pure virtual

◆ SetDir()

virtual BOOL SetDir ( int  which,
const MCHAR dir 
)
pure virtual

◆ AddAssetDir()

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.

◆ DeleteAssetDir()

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.

◆ UpdateAssetSection()

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.

\param [in] assetType An enumeration constant representing the asset type
\return 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. 

◆ AppendToCurFilePath()

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.

◆ GetMAXIniFile()

virtual MSTR GetMAXIniFile ( )
pure virtual

Returns empty MSTR if locType == LOC_REGISTRY.

◆ OpenSchematicViewWindow()

virtual BOOL OpenSchematicViewWindow ( const MCHAR sv_name)
pure virtual

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

◆ SchematicViewZoomSelected()

virtual BOOL SchematicViewZoomSelected ( const MCHAR sv_name)
pure virtual

◆ CloseSchematicView()

virtual BOOL CloseSchematicView ( const MCHAR sv_name)
pure virtual

◆ NumSchematicViews()

virtual int NumSchematicViews ( )
pure virtual

◆ GetSchematicViewName()

virtual const MCHAR * GetSchematicViewName ( int  i)
pure virtual

◆ CloseAllSchematicViewWindows()

virtual void CloseAllSchematicViewWindows ( )
pure virtual

◆ FlushAllSchematicViewWindows()

virtual void FlushAllSchematicViewWindows ( )
pure virtual

◆ UnFlushAllSchematicViewWindows()

virtual void UnFlushAllSchematicViewWindows ( )
pure virtual

◆ DrawingEnabled()

virtual BOOL DrawingEnabled ( )
pure virtual

◆ EnableDrawing()

virtual void EnableDrawing ( BOOL  onOff)
pure virtual

◆ SceneResetting()

virtual BOOL SceneResetting ( )
pure virtual

◆ QuitingApp()

virtual BOOL QuitingApp ( )
pure virtual

◆ GetHideFrozen()

virtual BOOL GetHideFrozen ( )
pure virtual

◆ SetSceneDisplayFlag()

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'.

◆ GetSceneDisplayFlag()

virtual BOOL GetSceneDisplayFlag ( DWORD  flag)
pure virtual

◆ GetScene()

virtual IScene * GetScene ( )
pure virtual

Access to the scene interface.

◆ SetMtlSlot()

virtual void SetMtlSlot ( int  i,
MtlBase m 
)
pure virtual

◆ GetActiveMtlSlot()

virtual int GetActiveMtlSlot ( )
pure virtual

◆ SetActiveMtlSlot()

virtual void SetActiveMtlSlot ( int  i)
pure virtual

◆ NumMtlSlots()

virtual int NumMtlSlots ( )
pure virtual

◆ FlushMtlDlg()

virtual void FlushMtlDlg ( )
pure virtual

◆ UnFlushMtlDlg()

virtual void UnFlushMtlDlg ( )
pure virtual

◆ IsMtlInstanced()

virtual BOOL IsMtlInstanced ( MtlBase m)
pure virtual

◆ FindMtlNameInScene()

virtual Mtl * FindMtlNameInScene ( MSTR name)
pure virtual

◆ PutMaterial()

virtual void PutMaterial ( MtlBase mtl,
MtlBase oldMtl,
BOOL  delOld = 1,
RefMakerHandle  skipThis = 0 
)
pure virtual

◆ IsMtlDlgShowing()

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

◆ OpenMtlDlg()

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

◆ CloseMtlDlg()

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

◆ GetViewPanelHWnd()

virtual HWND GetViewPanelHWnd ( )
pure virtual

Returns the window handle for the viewport frame.

◆ getActiveViewportIndex()

virtual int getActiveViewportIndex ( )
pure virtual

Viewport access by index.

◆ setActiveViewport()

virtual BOOL setActiveViewport ( int  index)
pure virtual

◆ getNumViewports()

virtual int getNumViewports ( )
pure virtual

◆ getViewExp()

virtual ViewExp & getViewExp ( int  i)
pure virtual

◆ resetAllViews()

virtual void resetAllViews ( )
pure virtual

◆ getActiveViewportLabel()

virtual const MCHAR * getActiveViewportLabel ( )
pure virtual

Viewport name access.

◆ getViewportLabel()

virtual const MCHAR * getViewportLabel ( int  index)
pure virtual

◆ SetRegionRect()

virtual void SetRegionRect ( int  index,
Rect  r 
)
pure virtual

Viewport blow-up and sub-region access.

◆ GetRegionRect()

virtual Rect GetRegionRect ( int  index)
pure virtual

◆ SetBlowupRect()

virtual void SetBlowupRect ( int  index,
Rect  r 
)
pure virtual

◆ GetBlowupRect()

virtual Rect GetBlowupRect ( int  index)
pure virtual

◆ SetRegionRect2()

virtual void SetRegionRect2 ( int  index,
Rect  r 
)
pure virtual

◆ GetRegionRect2()

virtual Rect GetRegionRect2 ( int  index)
pure virtual

◆ SetBlowupRect2()

virtual void SetBlowupRect2 ( int  index,
Rect  r 
)
pure virtual

◆ GetBlowupRect2()

virtual Rect GetBlowupRect2 ( int  index)
pure virtual

◆ GetRenderType()

virtual int GetRenderType ( )
pure virtual

◆ SetRenderType()

virtual void SetRenderType ( int  rtype)
pure virtual

◆ GetLockImageAspRatio()

virtual BOOL GetLockImageAspRatio ( )
pure virtual

◆ SetLockImageAspRatio()

virtual void SetLockImageAspRatio ( BOOL  on)
pure virtual

◆ GetImageAspRatio()

virtual float GetImageAspRatio ( )
pure virtual

◆ SetImageAspRatio()

virtual void SetImageAspRatio ( float  on)
pure virtual

◆ GetLockPixelAspRatio()

virtual BOOL GetLockPixelAspRatio ( )
pure virtual

◆ SetLockPixelAspRatio()

virtual void SetLockPixelAspRatio ( BOOL  on)
pure virtual

◆ GetPixelAspRatio()

virtual float GetPixelAspRatio ( )
pure virtual

◆ SetPixelAspRatio()

virtual void SetPixelAspRatio ( float  on)
pure virtual

◆ SetViewportGridVisible()

virtual void SetViewportGridVisible ( int  index,
BOOL  state 
)
pure virtual

◆ GetViewportGridVisible()

virtual BOOL GetViewportGridVisible ( int  index)
pure virtual

◆ ViewportInvalidate()

virtual void ViewportInvalidate ( int  index)
pure virtual

◆ ViewportInvalidateBkgImage()

virtual void ViewportInvalidateBkgImage ( int  index)
pure virtual

◆ InvalidateAllViewportRects()

virtual void InvalidateAllViewportRects ( )
pure virtual

◆ RedrawViewportsNow()

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

◆ RedrawViewportsLater()

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

◆ SetActiveViewportRenderLevel()

virtual void SetActiveViewportRenderLevel ( int  level)
pure virtual

Sets the current viewport rendering level.

Parameters
level- See Viewport Rendering Levels for possible values

◆ GetActiveViewportRenderLevel()

virtual int GetActiveViewportRenderLevel ( )
pure virtual

Returns the current viewport rendering level.

Returns
See Viewport Rendering Levels for possible values

◆ SetActiveViewportShowEdgeFaces()

virtual void SetActiveViewportShowEdgeFaces ( BOOL  show)
pure virtual

Access to viewport show edge faces states.

◆ GetActiveViewportShowEdgeFaces()

virtual BOOL GetActiveViewportShowEdgeFaces ( )
pure virtual

◆ SetActiveViewportTransparencyLevel()

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

◆ GetActiveViewportTransparencyLevel()

virtual int GetActiveViewportTransparencyLevel ( )
pure virtual

◆ GetDualPlanes()

virtual BOOL GetDualPlanes ( )
pure virtual

Access dual plane settings.

◆ SetDualPlanes()

virtual void SetDualPlanes ( BOOL  b)
pure virtual

◆ SetTestOnlyFrozen()

virtual void SetTestOnlyFrozen ( int  onOff)
pure virtual

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

◆ SetScaleMode()

virtual void SetScaleMode ( int  mode)
pure virtual

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

◆ SetCenterMode()

virtual void SetCenterMode ( int  mode)
pure virtual

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

◆ InManipMode()

virtual BOOL InManipMode ( )
pure virtual

Manipulator related.

◆ StartManipulateMode()

virtual void StartManipulateMode ( )
pure virtual

◆ EndManipulateMode()

virtual void EndManipulateMode ( )
pure virtual

◆ IsViewportCommandMode()

virtual BOOL IsViewportCommandMode ( CommandMode m)
pure virtual

◆ ConvertFlagedNodesToXRefs()

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.

◆ XRefSceneSetIgnoreFlag()

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

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

◆ UpdateSceneXRefState()

virtual void UpdateSceneXRefState ( )
pure virtual

◆ GetSnapActive()

virtual BOOL GetSnapActive ( )
pure virtual

◆ SetSnapActive()

virtual void SetSnapActive ( BOOL  onOff)
pure virtual

◆ GetSnapType()

virtual int GetSnapType ( )
pure virtual

◆ SetSnapType()

virtual void SetSnapType ( int  type)
pure virtual

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

◆ ToggleASnap()

virtual void ToggleASnap ( )
pure virtual

◆ ASnapStatus()

virtual int ASnapStatus ( )
pure virtual

◆ TogglePSnap()

virtual void TogglePSnap ( )
pure virtual

◆ PSnapStatus()

virtual int PSnapStatus ( )
pure virtual

◆ GetGridSpacing()

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.

◆ SetGridSpacing()

virtual void SetGridSpacing ( float  newVal)
pure virtual

◆ GetGridMajorLines()

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.

◆ SetGridMajorLines()

virtual void SetGridMajorLines ( float  newVal)
pure virtual

◆ GetSnapAngle()

virtual float GetSnapAngle ( )
pure virtual

◆ SetSnapAngle()

virtual void SetSnapAngle ( float  newVal)
pure virtual

◆ GetSnapPercent()

virtual float GetSnapPercent ( )
pure virtual

◆ SetSnapPercent()

virtual void SetSnapPercent ( float  newVal)
pure virtual

◆ SetNodeAttribute() [1/2]

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

◆ SetNodeAttribute() [2/2]

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

◆ SetExpertMode()

virtual void SetExpertMode ( int  onOff)
pure virtual

◆ GetExpertMode()

virtual int GetExpertMode ( )
pure virtual

◆ LoadCUIConfig()

virtual void LoadCUIConfig ( const MCHAR fileName)
pure virtual

◆ WriteCUIConfig()

virtual void WriteCUIConfig ( )
pure virtual

◆ SaveCUIAs()

virtual void SaveCUIAs ( )
pure virtual

◆ LoadCUI()

virtual void LoadCUI ( )
pure virtual

◆ RevertToBackupCUI()

virtual void RevertToBackupCUI ( )
pure virtual

◆ ResetToFactoryDefaultCUI()

virtual void ResetToFactoryDefaultCUI ( )
pure virtual

◆ DoUICustomization()

virtual void DoUICustomization ( int  startPage)
pure virtual

◆ GetDefaultImageListBaseIndex()

virtual int GetDefaultImageListBaseIndex ( SClass_ID  sid,
Class_ID  cid 
)
pure virtual

◆ GetDefaultImageListFilePrefix()

virtual MSTR * GetDefaultImageListFilePrefix ( SClass_ID  sid,
Class_ID  cid 
)
pure virtual

◆ GetGridIntens()

virtual float GetGridIntens ( )
pure virtual

◆ SetGridIntens()

virtual void SetGridIntens ( float  f)
pure virtual

◆ GetWhiteOrigin()

virtual BOOL GetWhiteOrigin ( )
pure virtual

◆ SetWhiteOrigin()

virtual void SetWhiteOrigin ( BOOL  b)
pure virtual

◆ GetUseGridColor()

virtual BOOL GetUseGridColor ( )
pure virtual

◆ SetUseGridColor()

virtual void SetUseGridColor ( BOOL  b)
pure virtual

◆ UpdateColors()

virtual void UpdateColors ( BOOL  useGridColor,
int  gridIntensity,
BOOL  whiteOrigin 
)
pure virtual

◆ GetIMenu()

virtual IMenu * GetIMenu ( )
pure virtual

◆ GetIMenuItem()

virtual IMenuItem * GetIMenuItem ( )
pure virtual

◆ RepaintTimeSlider()

virtual void RepaintTimeSlider ( )
pure virtual

◆ GetTabPageTitle()

virtual MSTR GetTabPageTitle ( ITabPage page)
pure virtual

◆ DoMaxFileSaveAsDlg()

virtual BOOL DoMaxFileSaveAsDlg ( MSTR fileName,
BOOL  setAsCurrent = TRUE 
)
pure virtual

◆ DoMaxFileOpenDlg()

virtual BOOL DoMaxFileOpenDlg ( MSTR fileName,
MSTR defDir,
MSTR defFile 
)
pure virtual

◆ DoMaxFileMergeDlg()

virtual BOOL DoMaxFileMergeDlg ( MSTR fileName,
MSTR defDir,
MSTR defFile 
)
pure virtual

◆ DoMaxFileXRefDlg()

virtual BOOL DoMaxFileXRefDlg ( MSTR fileName,
MSTR defDir,
MSTR defFile 
)
pure virtual

◆ StartAnimPlayback2()

virtual void StartAnimPlayback2 ( int  selOnly)
pure virtual

Old style playback with no immediate return.

◆ IsValidModForSelection()

virtual BOOL IsValidModForSelection ( ClassEntry ce)
pure virtual

Tests of modifier applicability.

◆ IsValidModifier()

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

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

◆ AddModifier()

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

◆ DeleteModifier() [1/2]

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

◆ DeleteModifier() [2/2]

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.

◆ FindModifier() [1/3]

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.

◆ FindModifier() [2/3]

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

◆ FindModifier() [3/3]

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

◆ DoDeleteModifier()

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

◆ GetReplaceableObjRef()

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.

◆ OpenEnvEffectsDialog()

virtual void OpenEnvEffectsDialog ( )
pure virtual

◆ CloseEnvEffectsDialog()

virtual void CloseEnvEffectsDialog ( )
pure virtual

◆ EnvEffectsDialogOpen()

virtual BOOL EnvEffectsDialogOpen ( )
pure virtual

Member Data Documentation

◆ kInterface7InterfaceID

CoreExport const Interface_ID kInterface7InterfaceID
static

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