Changeset View
Changeset View
Standalone View
Standalone View
source/blender/blenkernel/BKE_object.h
| Show All 26 Lines | |||||
| #include "DNA_object_enums.h" | #include "DNA_object_enums.h" | ||||
| #ifdef __cplusplus | #ifdef __cplusplus | ||||
| extern "C" { | extern "C" { | ||||
| #endif | #endif | ||||
| struct Base; | struct Base; | ||||
| struct BoundBox; | struct BoundBox; | ||||
| struct Curve; | |||||
| struct Depsgraph; | struct Depsgraph; | ||||
| struct GpencilModifierData; | struct GpencilModifierData; | ||||
| struct HookGpencilModifierData; | struct HookGpencilModifierData; | ||||
| struct HookModifierData; | struct HookModifierData; | ||||
| struct ID; | struct ID; | ||||
| struct Main; | struct Main; | ||||
| struct Mesh; | struct Mesh; | ||||
| struct ModifierData; | struct ModifierData; | ||||
| ▲ Show 20 Lines • Show All 376 Lines • ▼ Show 20 Lines | |||||
| * NOTE: Dependency graph argument is required when preserve_all_data_layers is truth, and is | * NOTE: Dependency graph argument is required when preserve_all_data_layers is truth, and is | ||||
| * ignored otherwise. */ | * ignored otherwise. */ | ||||
| struct Mesh *BKE_object_to_mesh(struct Depsgraph *depsgraph, | struct Mesh *BKE_object_to_mesh(struct Depsgraph *depsgraph, | ||||
| struct Object *object, | struct Object *object, | ||||
| bool preserve_all_data_layers); | bool preserve_all_data_layers); | ||||
| void BKE_object_to_mesh_clear(struct Object *object); | void BKE_object_to_mesh_clear(struct Object *object); | ||||
| /* This is an utility function for Python's object.to_curve(). | |||||
| * The result is owned by the object. | |||||
| * | |||||
| * The curve will be freed when object is re-evaluated or is destroyed. It is possible to force | |||||
| * clear memory used by this curve by calling BKE_object_to_curve_clear(). | |||||
| * | |||||
| * If apply_modifiers is true and the object is a curve one, then spline deform modifiers are | |||||
| * applied on the curve control points. | |||||
| */ | |||||
| struct Curve *BKE_object_to_curve(struct Object *object, | |||||
| struct Depsgraph *depsgraph, | |||||
| bool apply_modifiers); | |||||
| void BKE_object_to_curve_clear(struct Object *object); | |||||
| void BKE_object_check_uuids_unique_and_report(const struct Object *object); | void BKE_object_check_uuids_unique_and_report(const struct Object *object); | ||||
| void BKE_object_modifiers_lib_link_common(void *userData, | void BKE_object_modifiers_lib_link_common(void *userData, | ||||
| struct Object *ob, | struct Object *ob, | ||||
| struct ID **idpoin, | struct ID **idpoin, | ||||
| int cb_flag); | int cb_flag); | ||||
| struct PartEff; | struct PartEff; | ||||
| struct PartEff *BKE_object_do_version_give_parteff_245(struct Object *ob); | struct PartEff *BKE_object_do_version_give_parteff_245(struct Object *ob); | ||||
| #ifdef __cplusplus | #ifdef __cplusplus | ||||
| } | } | ||||
| #endif | #endif | ||||