Classes | Namespaces | Defines | Enumerations | Functions

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"

Go to the source code of this file.

Classes

class   INode
class   ITreeEnumProc
class   INodeTransformed

Namespaces

namespace   MaxSDK
namespace   MaxSDK::AssetManagement

Defines

#define  INODE_INTERFACE   Interface_ID(0x67b113ca, 0x34204b2b)
#define  XREF_UPDATE_AUTO   (1<<0)
  Automatic XRef file updating is ON.
#define  XREF_BOX_DISP   (1<<1)
  The Box display option is set.
#define  XREF_HIDDEN   (1<<2)
  The XRef is hidden.
#define  XREF_DISABLED   (1<<3)
  The XRef is disabled.
#define  XREF_IGNORE_LIGHTS   (1<<4)
  The XRef ignores lights in the file.
#define  XREF_IGNORE_CAMERAS   (1<<5)
  The XRef ignores cameras in the file.
#define  XREF_IGNORE_SHAPES   (1<<6)
  The XRef ignores shapes in the file.
#define  XREF_IGNORE_HELPERS   (1<<7)
  The XRef ignores helpers in the file.
#define  XREF_IGNORE_ANIM   (1<<8)
  The XRef ignores the animation in the file.
#define  XREF_FILE_CHANGE   (1<<10)
  It is not certain that the file has actually changed but the XRef should be reloaded.
#define  XREF_LOAD_ERROR   (1<<11)
  Is set when an XRef can not be resolved.
#define  XREF_SCENE_OVERLAY   (1<<12)
  An overlay XRef will be loaded only if it is a direct descendant of the master file.
#define  XREF_SCENE_HIDEINMANAGERUI   (1<<13)
  Is set when a scene XRef is not displayed in scene XREF manager UI.
#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.
#define  INODE_LOCKROT   1
  Rotate locked.
#define  INODE_LOCKSCL   2
  Scale locked.
#define  INODE_LOCK_X   0
  The X-axis is locked.
#define  INODE_LOCK_Y   1
  The Y-axis is locked.
#define  INODE_LOCK_Z   2
  The Z-axis is locked.
#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 INodeTransformed CreateINodeTransformed (INode *n, Matrix3 tm, BOOL dm=TRUE)

Define Documentation

#define INODE_INTERFACE   Interface_ID(0x67b113ca, 0x34204b2b)

Definition at line 39 of file inode.h.

#define BONE_SCALETYPE_SCALE   1

Definition at line 1617 of file inode.h.

#define BONE_SCALETYPE_SQUASH   2

Definition at line 1618 of file inode.h.

#define BONE_SCALETYPE_NONE   0

Definition at line 1619 of file inode.h.

#define BONE_AXIS_X   0

Definition at line 1622 of file inode.h.

#define BONE_AXIS_Y   1

Definition at line 1623 of file inode.h.

#define BONE_AXIS_Z   2

Definition at line 1624 of file inode.h.

#define TREE_CONTINUE   0

Definition at line 1668 of file inode.h.

#define TREE_IGNORECHILDREN   1

Definition at line 1669 of file inode.h.

#define TREE_ABORT   2

Definition at line 1670 of file inode.h.

#define PROPID_PINNODE   PROPID_USER+1

Definition at line 1673 of file inode.h.

#define PROPID_PRECEDENCE   PROPID_USER+2

Definition at line 1674 of file inode.h.

#define PROPID_RELPOS   PROPID_USER+3

Definition at line 1675 of file inode.h.

#define PROPID_RELROT   PROPID_USER+4

Definition at line 1676 of file inode.h.


Enumeration Type Documentation


Function Documentation

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

The INodeTransformed to delete.
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.