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_URL_AWARE
 
#define PLUGINFLAG_SCENELOADER_SUPPORT_ASYNC
 
#define PLUGINFLAG_SCENELOADER_MERGEORIGINAL
 
#define PLUGINFLAG_SCENEFILTER_DIALOGCONTROL
 
#define PLUGINFLAG_SCENELOADER_SUPPORT_MERGED_OPTIONS
 

Enumerations

enum class  BITMAPLOADERACTION {
  INIT ,
  LOAD ,
  FREE ,
  INITLAYERSET
}
 

Functions

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)
 

Variables

 INIT
 
 LOAD
 
 FREE
 
 INITLAYERSET
 
BitmapLoaderData MAXON_ENUM_LIST
 

Macro Definition Documentation

◆ PLUGINFLAG_SCENELOADER_SUPPORT_MERGED_OPTIONS

#define PLUGINFLAG_SCENELOADER_SUPPORT_MERGED_OPTIONS

this flag indicates that a scene loader supports a merged options dialog on import of multiple files

Function Documentation

◆ RegisterBitmapLoaderPlugin()

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

Registers a bitmap loader plugin.

Parameters
[in]idA unique plugin ID. Must be obtained from http://www.plugincafe.com
[in]strThe 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]infoThe plugin info flags: PLUGINFLAG PLUGINFLAG_BITMAPLOADER
[in]datA data instance for the bitmap loader plugin. Cinema 4D takes over the ownership of the pointed plugin.
Returns
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.

Parameters
[in]idA unique plugin ID. Must be obtained from http://www.plugincafe.com
[in]strThe 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]infoThe plugin info flags: PLUGINFLAG PLUGINFLAG_BITMAPSAVER
[in]datA data instance for the bitmap saver plugin. Cinema 4D takes over the ownership of the pointed plugin.
[in]suffixThe file format suffix.
Returns
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.

Parameters
[in]idA unique plugin ID. Must be obtained from http://www.plugincafe.com
[in]strThe 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]infoThe plugin info flags: PLUGINFLAG PLUGINFLAG_SCENELOADER PLUGINFLAG_SCENEFILTER
[in]gThe allocator for the scene loader plugin. This is a pointer to a function that creates a new instance of SceneLoaderData with NewObj().
[in]descriptionThe 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 Description Resource for more information.
Returns
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.

Parameters
[in]idA unique plugin ID. Must be obtained from http://www.plugincafe.com
[in]strThe 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]infoThe plugin info flags: PLUGINFLAG PLUGINFLAG_SCENEFILTER
[in]gThe allocator for the scene saver plugin. This is a pointer to a function that creates a new instance of SceneSaverData with NewObj().
[in]descriptionThe 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 Description Resource for more information.
[in]suffixThe file format suffix.
Returns
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. The BaseBitmap pointer must point to a const LayerSet*.

Since
R19

◆ MAXON_ENUM_LIST

BitmapLoaderData MAXON_ENUM_LIST