Classes | |
class | CustomDataTagDisplayInterface |
class | MeshAttributeClassInterface |
class | CustomDataTagClassInterface |
class | MeshAttribute |
Namespaces | |
maxon | |
maxon::CustomDataTagClasses | |
maxon::CustomDataTagDisplayClasses | |
Macros | |
#define | MAXON_MESHATTRIBUTE(T, Name) |
#define | MAXON_CUSTOMDATATAG(pluginID, name, resurceID, displayID, level, floatValueCount, flags, attributeType) |
Functions | |
MAXON_REGISTRY (CustomDataTagClass, CustomDataTagClasses, "net.maxon.mesh_misc.registry.customdatatagclasses") | |
MAXON_REGISTRY (Class< CustomDataTagDisplayRef >, CustomDataTagDisplayClasses, "net.maxon.mesh_misc.registry.customdatatagdisplayclasses") | |
MAXON_DATATYPE (MeshAttribute, "net.maxon.mesh_misc.datatype.meshattribute") | |
#define MAXON_MESHATTRIBUTE | ( | T, | |
Name | |||
) |
A compatible datatype must be defined for each MeshAttributeClassInterface. This macro automatically generates a compatible data type out of the passed T. After this macro call, it is also necessary to declare and register the resulting DataType using MAXON_DATATYPE and MAXON_DATATYPE_REGISTER. MAXON_DATATYPE must be invoked by using as a name the passed name followed by _MESHATTRIBUTE.
[in] | T | The type to register. |
[in] | Name | The name to be used for the registration. |
In the header file:
in the source file:
#define MAXON_CUSTOMDATATAG | ( | pluginID, | |
name, | |||
resurceID, | |||
displayID, | |||
level, | |||
floatValueCount, | |||
flags, | |||
attributeType | |||
) |
This macro simplifies the process of describing the CustomDataTag information used for registration. This macro implements many of the CustomDataTagClassInterface methods automatically.
[in] | pluginID | An unique plugin id used to register the CustomDataTag. |
[in] | name | The CustomDataTag name. |
[in] | resurceID | The resource id string. |
[in] | displayID | The display implementation id. See CustomDataTagDisplay. |
[in] | level | The disk level for the CustomDataTag. |
[in] | floatValueCount | The count of values used for each entry; e.g. a vector will have a floatSize = 3, this is needed to define if the tag is compatible with sds. If it is not compatible (no float based data type) pass NOTOK. |
[in] | flags | Tag registration flags. |
[in] | attributeType | The mesh attribute type name. |