c4d_filterdata.h File Reference

Classes

struct   BitmapLoaderAnimatedData
class   BitmapLoaderData
class   BitmapSaverData
class   SceneLoaderData
class   SceneSaverData

Macros

#define  PLUGINFLAG_BITMAPLOADER_MOVIE
#define  PLUGINFLAG_BITMAPSAVER_SUPPORT_8BIT
#define  PLUGINFLAG_BITMAPSAVER_SUPPORT_16BIT
#define  PLUGINFLAG_BITMAPSAVER_SUPPORT_32BIT
#define  PLUGINFLAG_BITMAPSAVER_SUPPORT_8BIT_LAYERS
#define  PLUGINFLAG_BITMAPSAVER_SUPPORT_16BIT_LAYERS
#define  PLUGINFLAG_BITMAPSAVER_SUPPORT_32BIT_LAYERS
#define  PLUGINFLAG_BITMAPSAVER_MOVIE
#define  PLUGINFLAG_BITMAPSAVER_SUPPORT_COLORPROFILES
#define  PLUGINFLAG_BITMAPSAVER_SUPPORT_SOUND
#define  PLUGINFLAG_BITMAPSAVER_ALLOWOPTIONS
#define  PLUGINFLAG_BITMAPSAVER_FORCESUFFIX
#define  PLUGINFLAG_SCENELOADER_MERGEORIGINAL
#define  PLUGINFLAG_SCENEFILTER_DIALOGCONTROL

Enumerations

enum   BITMAPLOADERACTION {
   INIT ,
   LOAD ,
   FREE ,
   INITLAYERSET
}

函数

enum BITMAPLOADERACTION   MAXON_ENUM_LIST ( BITMAPLOADERACTION )
Bool   RegisterBitmapLoaderPlugin ( Int32 id, const maxon::String &str, Int32 info, BitmapLoaderData *dat)
Bool   RegisterBitmapSaverPlugin ( Int32 id, const maxon::String &str, Int32 info, BitmapSaverData *dat, const maxon::String &suffix)
Bool   RegisterSceneLoaderPlugin ( Int32 id, const maxon::String &str, Int32 info, DataAllocator *g, const maxon::String &description)
Bool   RegisterSceneSaverPlugin ( Int32 id, const maxon::String &str, Int32 info, DataAllocator *g, const maxon::String &description, const maxon::String &suffix)

变量

  INIT
  LOAD
  FREE
  INITLAYERSET
BitmapLoaderData   MAXON_ENUM_LIST

Function Documentation

◆  RegisterBitmapLoaderPlugin()

Bool RegisterBitmapLoaderPlugin ( Int32   id ,
const maxon::String str ,
Int32   info ,
BitmapLoaderData dat  
)

Registers a bitmap loader plugin.

参数
[in] id A unique plugin ID. Must be obtained from http://www.plugincafe.com
[in] str The name of the plugin.
To affect the order that plugins are displayed in menus add "#$n" as a prefix to this name, where n is a number.
Lower numbers are displayed before higher numbers. If name is "--" it will show up as a menu separator.
[in] info The plugin info flags: PLUGINFLAG PLUGINFLAG_BITMAPLOADER
[in] dat A data instance for the bitmap loader plugin. Cinema 4D takes over the ownership of the pointed plugin.
返回
true if the bitmap loader plugin was registered, otherwise false .

◆  RegisterBitmapSaverPlugin()

Bool RegisterBitmapSaverPlugin ( Int32   id ,
const maxon::String str ,
Int32   info ,
BitmapSaverData dat ,
const maxon::String suffix  
)

Registers a bitmap saver plugin.

参数
[in] id A unique plugin ID. Must be obtained from http://www.plugincafe.com
[in] str The name of the plugin.
To affect the order that plugins are displayed in menus add "#$n" as a prefix to this name, where n is a number.
Lower numbers are displayed before higher numbers. If name is "--" it will show up as a menu separator.
[in] info The plugin info flags: PLUGINFLAG PLUGINFLAG_BITMAPSAVER
[in] dat A data instance for the bitmap saver plugin. Cinema 4D takes over the ownership of the pointed plugin.
[in] suffix The file format suffix.
返回
true if the bitmap saver plugin was registered, otherwise false .

◆  RegisterSceneLoaderPlugin()

Bool RegisterSceneLoaderPlugin ( Int32   id ,
const maxon::String str ,
Int32   info ,
DataAllocator g ,
const maxon::String description  
)

Registers a scene loader plugin.

参数
[in] id A unique plugin ID. Must be obtained from http://www.plugincafe.com
[in] str The name of the plugin.
To affect the order that plugins are displayed in menus add "#$n" as a prefix to this name, where n is a number.
Lower numbers are displayed before higher numbers. If name is "--" it will show up as a menu separator.
[in] info The plugin info flags: PLUGINFLAG PLUGINFLAG_SCENELOADER PLUGINFLAG_SCENEFILTER
[in] g The allocator for the scene loader plugin. This is a pointer to a function that creates a new instance of SceneLoaderData with NewObj() .
[in] description The name of the description resource file to use for the track plugin without .res extension, for example "Ffiltername" .
The name has to be unique, i.e. "Tdisplay" cannot be used for 2 different descriptions. See 描述 Resource for more information.
返回
true if the scene loader plugin was registered, otherwise false .

◆  RegisterSceneSaverPlugin()

Bool RegisterSceneSaverPlugin ( Int32   id ,
const maxon::String str ,
Int32   info ,
DataAllocator g ,
const maxon::String description ,
const maxon::String suffix  
)

Registers a scene saver plugin.

参数
[in] id A unique plugin ID. Must be obtained from http://www.plugincafe.com
[in] str The name of the plugin.
To affect the order that plugins are displayed in menus add "#$n" as a prefix to this name, where n is a number.
Lower numbers are displayed before higher numbers. If name is "--" it will show up as a menu separator.
[in] info The plugin info flags: PLUGINFLAG PLUGINFLAG_SCENEFILTER
[in] g The allocator for the scene saver plugin. This is a pointer to a function that creates a new instance of SceneSaverData with NewObj() .
[in] description The name of the description resource file to use for the track plugin without .res extension, for example "Ffiltername" .
The name has to be unique, i.e. "Tdisplay" cannot be used for 2 different descriptions. See 描述 Resource for more information.
[in] suffix The file format suffix.
返回
true if the scene saver plugin was registered, otherwise false .

Variable Documentation

◆  INIT

INIT

Initialize.

◆  LOAD

LOAD

Load.

◆  FREE

FREE

Free.

◆  INITLAYERSET

INITLAYERSET

Initialize with a layerset. This call is optional but must be called before BITMAPLOADERACTION::INIT BaseBitmap pointer must point to a const LayerSet* .

由于
R19

◆  MAXON_ENUM_LIST

BitmapLoaderData MAXON_ENUM_LIST