Classes | Defines | Typedefs | Enumerations

maxtypes.h File Reference

This reference page is linked to from the following overview topics: Incremental Improvements, SDK Change Details, Overview: Time and Intervals, RTTI and GetInterface(), Parameter Blocks, Cache Validity Intervals, Creating and Retrieving 3ds Max NURBS Objects, Creating Primitive NURBS Objects, Accessing Material Properties, Time Functions, Property Accessors, IK Solvers, Plug-in Identification, Loading and Saving Plug-in Data, Undo and Redo in a Controller.


#include "maxheap.h"
#include <wtypes.h>
#include <basetsd.h>

Go to the source code of this file.

Classes

struct   Color24
  8 bits for each of the Red, Green and Blue components. More...
struct   Color48
  16 bits for each of the Red, Green and Blue components. More...
struct   Color64
  16 bits for each of the Red, Green, Blue, and Alpha components. More...
struct   BMM_Color_24
  24 bit color: 8 bits each for Red, Green, and Blue. More...
struct   BMM_Color_32
  32 bit color: 8 bits each for Red, Green, Blue, and Alpha. More...
struct   BMM_Color_48
  48 bit color: 16 bits each for Red, Green, and Blue. More...
struct   BMM_Color_64
  64 bit color: 16 bits each for Red, Green, Blue, and Alpha. More...
struct   BMM_Color_fl
  High Dynamic Range bitmaps make use of this class to store color information using floating point values. More...
class   Class_ID
class   Interface_ID

Defines

#define  TIME_TICKSPERSEC   4800
#define  TicksToSec(ticks)   ((float)(ticks)/(float)TIME_TICKSPERSEC)
#define  SecToTicks(secs)   ((TimeValue)(secs*TIME_TICKSPERSEC))
#define  TicksSecToTime(ticks, secs)   ( (TimeValue)(ticks)+SecToTicks(secs) )
#define  TimeToTicksSec(time, ticks, secs)   { (ticks) = (time)%TIME_TICKSPERSEC; (secs) = (time)/TIME_TICKSPERSEC ; }
#define  TIME_PosInfinity   TimeValue(0x7fffffff)
#define  TIME_NegInfinity   TimeValue(0x80000000)

Typedefs

typedef unsigned long  ulong
typedef unsigned char  uchar
typedef uchar  UBYTE
typedef unsigned short  USHORT
typedef unsigned short  UWORD
typedef __int64  INT64
typedef unsigned short  MtlID
typedef int  TimeValue
typedef ULONG  SClass_ID

Enumerations

enum   IOResult { IO_OK = 0, IO_END = 1, IO_ERROR = 2 }
enum   ChunkType { NEW_CHUNK = 0, CONTAINER_CHUNK = 1, DATA_CHUNK = 2 }
enum   FileIOType { IOTYPE_MAX = 0, IOTYPE_MATLIB = 1, IOTYPE_RENDER_PRESETS = 2 }
enum   ProductVersionType {
  PRODUCT_VERSION_DEVEL, PRODUCT_VERSION_TRIAL, PRODUCT_VERSION_ORDINARY, PRODUCT_VERSION_EDU,
  PRODUCT_VERSION_NFR, PRODUCT_VERSION_EMR
}
 

Product Licensing Type.

More...
enum   LockBehaviorType { LICENSE_BEHAVIOR_PERMANENT, LICENSE_BEHAVIOR_EXTENDABLE, LICENSE_BEHAVIOR_NONEXTENDABLE, LICENSE_BEHAVIOR_BORROWED }
 

Product license behavior.

More...

Define Documentation

#define TIME_TICKSPERSEC   4800

Definition at line 110 of file maxtypes.h.

#define TicksToSec (   ticks )    ((float)(ticks)/(float)TIME_TICKSPERSEC)

Definition at line 112 of file maxtypes.h.

#define SecToTicks (   secs )    ((TimeValue)(secs*TIME_TICKSPERSEC))

Definition at line 113 of file maxtypes.h.

#define TicksSecToTime (   ticks,
  secs 
)    ( (TimeValue)(ticks)+SecToTicks(secs) )

Definition at line 114 of file maxtypes.h.

#define TimeToTicksSec (   time,
  ticks,
  secs 
)    { (ticks) = (time)%TIME_TICKSPERSEC; (secs) = (time)/TIME_TICKSPERSEC ; }

Definition at line 115 of file maxtypes.h.

#define TIME_PosInfinity   TimeValue(0x7fffffff)

Definition at line 117 of file maxtypes.h.

#define TIME_NegInfinity   TimeValue(0x80000000)

Definition at line 118 of file maxtypes.h.


Typedef Documentation

typedef unsigned long ulong

Definition at line 23 of file maxtypes.h.

typedef unsigned char uchar

Definition at line 24 of file maxtypes.h.

typedef uchar UBYTE

Definition at line 25 of file maxtypes.h.

typedef unsigned short USHORT

Definition at line 26 of file maxtypes.h.

typedef unsigned short UWORD

Definition at line 27 of file maxtypes.h.

typedef __int64 INT64

Definition at line 28 of file maxtypes.h.

typedef unsigned short MtlID

Definition at line 29 of file maxtypes.h.

typedef int TimeValue

Definition at line 108 of file maxtypes.h.

typedef ULONG SClass_ID

Definition at line 187 of file maxtypes.h.


Enumeration Type Documentation

enum ChunkType
Enumerator:
NEW_CHUNK 
CONTAINER_CHUNK 
DATA_CHUNK 

Definition at line 281 of file maxtypes.h.

{
    NEW_CHUNK       = 0,
    CONTAINER_CHUNK = 1,
    DATA_CHUNK      = 2
};
enum FileIOType
Enumerator:
IOTYPE_MAX 

File IO concerns a scene file (.max, .viz).

See NOTIFY_FILE_PRE_OPEN, NOTIFY_FILE_POST_OPEN

IOTYPE_MATLIB 

File IO concerns a material library file (.mat).

See NOTIFY_FILE_PRE_OPEN, NOTIFY_FILE_POST_OPEN

IOTYPE_RENDER_PRESETS 

File IO concerns a render preset file (.rps).

See NOTIFY_FILE_PRE_OPEN, NOTIFY_FILE_POST_OPEN

Definition at line 288 of file maxtypes.h.

Product Licensing Type.

Enumerator:
PRODUCT_VERSION_DEVEL 
PRODUCT_VERSION_TRIAL 
PRODUCT_VERSION_ORDINARY 
PRODUCT_VERSION_EDU 
PRODUCT_VERSION_NFR 
PRODUCT_VERSION_EMR 

Definition at line 302 of file maxtypes.h.

Product license behavior.

Enumerator:
LICENSE_BEHAVIOR_PERMANENT 
LICENSE_BEHAVIOR_EXTENDABLE 
LICENSE_BEHAVIOR_NONEXTENDABLE 
LICENSE_BEHAVIOR_BORROWED 

Definition at line 313 of file maxtypes.h.