3ds Max C++ API Reference
inode.h File Reference
#include "maxheap.h"
#include "iFnPub.h"
#include "ref.h"
#include "coreexp.h"
#include "InodeTransformModes.h"
#include "GetCOREInterface.h"
#include "quat.h"

Classes

class  INode
 
class  ITreeEnumProc
 
class  INodeTransformed
 

Namespaces

 MaxSDK
 
 MaxSDK::AssetManagement
 

Macros

#define INODE_INTERFACE   Interface_ID(0x67b113ca, 0x34204b2b)
 
#define XREF_UPDATE_AUTO   (1<<0)
 Automatic XRef file updating is ON. More...
 
#define XREF_BOX_DISP   (1<<1)
 The Box display option is set. More...
 
#define XREF_HIDDEN   (1<<2)
 The XRef is hidden. More...
 
#define XREF_DISABLED   (1<<3)
 The XRef is disabled. More...
 
#define XREF_IGNORE_LIGHTS   (1<<4)
 The XRef ignores lights in the file. More...
 
#define XREF_IGNORE_CAMERAS   (1<<5)
 The XRef ignores cameras in the file. More...
 
#define XREF_IGNORE_SHAPES   (1<<6)
 The XRef ignores shapes in the file. More...
 
#define XREF_IGNORE_HELPERS   (1<<7)
 The XRef ignores helpers in the file. More...
 
#define XREF_IGNORE_ANIM   (1<<8)
 The XRef ignores the animation in the file. More...
 
#define XREF_FILE_CHANGE   (1<<10)
 It is not certain that the file has actually changed but the XRef should be reloaded. More...
 
#define XREF_LOAD_ERROR   (1<<11)
 Is set when an XRef can not be resolved. More...
 
#define XREF_SCENE_OVERLAY   (1<<12)
 An overlay XRef will be loaded only if it is a direct descendant of the main file. More...
 
#define XREF_SCENE_HIDEINMANAGERUI   (1<<13)
 Is set when a scene XRef is not displayed in scene XREF manager UI. More...
 
#define XREF_SCENE_MERGE_DUPLICATEMATCHINGLAYERS   (1<<14)
 duplicate matching Layers without an identical parent hierarchy when merging. More...
 
#define BONE_SCALETYPE_SCALE   1
 
#define BONE_SCALETYPE_SQUASH   2
 
#define BONE_SCALETYPE_NONE   0
 
#define BONE_AXIS_X   0
 
#define BONE_AXIS_Y   1
 
#define BONE_AXIS_Z   2
 
#define INODE_LOCKPOS   0
 Position locked. More...
 
#define INODE_LOCKROT   1
 Rotate locked. More...
 
#define INODE_LOCKSCL   2
 Scale locked. More...
 
#define INODE_LOCK_X   0
 The X-axis is locked. More...
 
#define INODE_LOCK_Y   1
 The Y-axis is locked. More...
 
#define INODE_LOCK_Z   2
 The Z-axis is locked. More...
 
#define TREE_CONTINUE   0
 
#define TREE_IGNORECHILDREN   1
 
#define TREE_ABORT   2
 
#define PROPID_PINNODE   PROPID_USER+1
 
#define PROPID_PRECEDENCE   PROPID_USER+2
 
#define PROPID_RELPOS   PROPID_USER+3
 
#define PROPID_RELROT   PROPID_USER+4
 

Enumerations

enum  nodeVertexColorType {
  nvct_color , nvct_illumination , nvct_alpha , nvct_color_plus_illum ,
  nvct_soft_select , nvct_map_channel , nvct_num_types
}
 

Functions

CoreExport void DeleteINodeTransformed (INodeTransformed *n)
 
CoreExport INodeTransformedCreateINodeTransformed (INode *n, Matrix3 tm, BOOL dm=TRUE)
 

Macro Definition Documentation

◆ INODE_INTERFACE

#define INODE_INTERFACE   Interface_ID(0x67b113ca, 0x34204b2b)

◆ BONE_SCALETYPE_SCALE

#define BONE_SCALETYPE_SCALE   1

◆ BONE_SCALETYPE_SQUASH

#define BONE_SCALETYPE_SQUASH   2

◆ BONE_SCALETYPE_NONE

#define BONE_SCALETYPE_NONE   0

◆ BONE_AXIS_X

#define BONE_AXIS_X   0

◆ BONE_AXIS_Y

#define BONE_AXIS_Y   1

◆ BONE_AXIS_Z

#define BONE_AXIS_Z   2

◆ TREE_CONTINUE

#define TREE_CONTINUE   0

◆ TREE_IGNORECHILDREN

#define TREE_IGNORECHILDREN   1

◆ TREE_ABORT

#define TREE_ABORT   2

◆ PROPID_PINNODE

#define PROPID_PINNODE   PROPID_USER+1

◆ PROPID_PRECEDENCE

#define PROPID_PRECEDENCE   PROPID_USER+2

◆ PROPID_RELPOS

#define PROPID_RELPOS   PROPID_USER+3

◆ PROPID_RELROT

#define PROPID_RELROT   PROPID_USER+4

Enumeration Type Documentation

◆ nodeVertexColorType

Enumerator
nvct_color 
nvct_illumination 
nvct_alpha 
nvct_color_plus_illum 
nvct_soft_select 
nvct_map_channel 
nvct_num_types 
@ nvct_num_types
Definition: inode.h:42
@ nvct_color_plus_illum
Definition: inode.h:42
@ nvct_illumination
Definition: inode.h:42
@ nvct_color
Definition: inode.h:42
@ nvct_map_channel
Definition: inode.h:42
@ nvct_alpha
Definition: inode.h:42
@ nvct_soft_select
Definition: inode.h:42

Function Documentation

◆ DeleteINodeTransformed()

CoreExport void DeleteINodeTransformed ( INodeTransformed n)
Remarks
Deletes the INodeTransformed passed.
Parameters:
INodeTransformed *n

The INodeTransformed to delete.

◆ CreateINodeTransformed()

CoreExport INodeTransformed* CreateINodeTransformed ( INode n,
Matrix3  tm,
BOOL  dm = TRUE 
)
Remarks
Creates an INodeTransformed on the heap.
Parameters:
INode *n

The original INode pointer.

Matrix3 tm

The additional transformation matrix.

BOOL dm=TRUE

If TRUE this item will be deleted; otherwise it is left alone.
Returns
A pointer to the INodeTransformed created.