3ds Max C++ API Reference
filters.h File Reference
#include "FLTExport.h"
#include "maxheap.h"
#include "fltapi.h"
#include "tvnode.h"
#include "maxapi.h"
#include "bitmap.h"
#include "containers/Array.h"

Classes

class  FrameRange
 
class  TimeChange
 
class  ImageFilterInfo
 
class  FLT_FilterHandler
 
class  FLT_FilterList
 
class  UndoNotify
 
class  ImageFilter
 
class  FilterManager
 

Macros

#define MAXFILTERNAME   MAX_PATH
 
#define MAXRESOURCE   MAX_PATH
 
#define NUMMASKFLAGS   (MASK_NODE_ID - MASK_R) + 1
 
#define FLT_FILTER   0
 
#define FLT_LAYER   1
 
#define FLT_PROGRESS   WM_USER + 0x20
 wParam: Current lParam: Total More...
 
#define FLT_CHECKABORT   WM_USER + 0x21
 Sent by the plug-in to check for process interruption. More...
 
#define FLT_TEXTMSG   WM_USER + 0x22
 Sent by the plug-in to display an optional textual message (for progress report). More...
 
#define FLT_TIMECHANGED   WM_USER + 0x23
 Sent by the host TO the plug-in to notify the time has changed (the user moved the time slider in Max). More...
 
#define FLT_UNDO   WM_USER + 0x24
 Sent by 3ds Max TO the plug-in to notify that an Undo operation has been done. More...
 
#define IMGFLT_NONE   0
 None. More...
 
#define IMGFLT_MASK   (1<<0)
 Supports Masking. More...
 
#define IMGFLT_CONTROL   (1<<1)
 This informs the system to call the plug-ins ShowControl() method when the user selects the Setup button. More...
 
#define IMGFLT_FILTER   (1<<2)
 Plug-In is a Filter. More...
 
#define IMGFLT_COMPOSITOR   (1<<3)
 If the plug-in is a layer type of filter, it should set this bit. More...
 
#define IMGFLT_THREADED   (1<<4)
 If this flag is NOT set, 3ds Max will avoid multithreading this plug-in. More...
 
#define NEGATIVECLASSID   0x4655434A
 
#define ALPHACLASSID   0x655434A4
 
#define ADDCLASSID   0x55434A46
 
#define BLURCLASSID   0x5434A465
 
#define CROSFADECLASSID   0x434A4655
 
#define GLOWCLASSID   0x35A46554
 
#define COOKIECLASSID   0x4A465543
 
#define WIPECLASSID   0xA4655434
 
#define FADECLASSID   0x4655434B
 
#define PDALPHACLASSID   0x655434B4
 
#define PREVIEW_BEFORE   1
 
#define PREVIEW_UP   2
 
#define PREVIEW_WHOLE   3
 

Enumerations

enum  MaskType {
  MASK_R = 0 , MASK_G , MASK_B , MASK_A ,
  MASK_L , MASK_Z , MASK_MTL_ID , MASK_NODE_ID
}
 

Functions

FLTExport void OpenFLT (FLTInterface *i)
 
FLTExport void CloseFLT ()
 

Variables

FLTExport FilterManagerTheFilterManager
 

Macro Definition Documentation

◆ MAXFILTERNAME

#define MAXFILTERNAME   MAX_PATH

◆ MAXRESOURCE

#define MAXRESOURCE   MAX_PATH

◆ NUMMASKFLAGS

#define NUMMASKFLAGS   (MASK_NODE_ID - MASK_R) + 1

◆ FLT_FILTER

#define FLT_FILTER   0

◆ FLT_LAYER

#define FLT_LAYER   1

◆ NEGATIVECLASSID

#define NEGATIVECLASSID   0x4655434A

◆ ALPHACLASSID

#define ALPHACLASSID   0x655434A4

◆ ADDCLASSID

#define ADDCLASSID   0x55434A46

◆ BLURCLASSID

#define BLURCLASSID   0x5434A465

◆ CROSFADECLASSID

#define CROSFADECLASSID   0x434A4655

◆ GLOWCLASSID

#define GLOWCLASSID   0x35A46554

◆ COOKIECLASSID

#define COOKIECLASSID   0x4A465543

◆ WIPECLASSID

#define WIPECLASSID   0xA4655434

◆ FADECLASSID

#define FADECLASSID   0x4655434B

◆ PDALPHACLASSID

#define PDALPHACLASSID   0x655434B4

◆ PREVIEW_BEFORE

#define PREVIEW_BEFORE   1

◆ PREVIEW_UP

#define PREVIEW_UP   2

◆ PREVIEW_WHOLE

#define PREVIEW_WHOLE   3

Enumeration Type Documentation

◆ MaskType

enum MaskType
Enumerator
MASK_R 
MASK_G 
MASK_B 
MASK_A 
MASK_L 
MASK_Z 
MASK_MTL_ID 
MASK_NODE_ID 
119  {
120  MASK_R = 0,
121  MASK_G,
122  MASK_B,
123  MASK_A,
124  MASK_L,
125  MASK_Z,
126  MASK_MTL_ID,
128 
129 };
@ MASK_L
Definition: filters.h:124
@ MASK_B
Definition: filters.h:122
@ MASK_A
Definition: filters.h:123
@ MASK_MTL_ID
Definition: filters.h:126
@ MASK_G
Definition: filters.h:121
@ MASK_R
Definition: filters.h:120
@ MASK_NODE_ID
Definition: filters.h:127
@ MASK_Z
Definition: filters.h:125

Function Documentation

◆ OpenFLT()

FLTExport void OpenFLT ( FLTInterface i)

◆ CloseFLT()

FLTExport void CloseFLT ( )

Variable Documentation

◆ TheFilterManager

FLTExport FilterManager* TheFilterManager
extern