Blender V5.3
rigidbody_object.cc File Reference

Rigid Body object editing operators. More...

#include <cstdlib>
#include <cstring>
#include "DNA_collection_types.h"
#include "DNA_object_types.h"
#include "DNA_rigidbody_types.h"
#include "DNA_scene_types.h"
#include "BLT_translation.hh"
#include "BKE_context.hh"
#include "BKE_library.hh"
#include "BKE_report.hh"
#include "BKE_rigidbody.h"
#include "BKE_scene.hh"
#include "DEG_depsgraph.hh"
#include "DEG_depsgraph_build.hh"
#include "DEG_depsgraph_query.hh"
#include "RNA_access.hh"
#include "RNA_define.hh"
#include "RNA_enum_types.hh"
#include "RNA_prototypes.hh"
#include "WM_api.hh"
#include "WM_types.hh"
#include "ED_object.hh"
#include "ED_physics.hh"
#include "ED_screen.hh"
#include "physics_intern.hh"

Go to the source code of this file.

Classes

struct  blender::rbMaterialDensityItem

Namespaces

namespace  blender
 BMesh Iterators.

Functions

static bool blender::operator_rigidbody_editable_poll (Scene *scene)
static bool blender::operator_rigidbody_active_poll (bContext *C)
static bool blender::operator_rigidbody_add_poll (bContext *C)
bool blender::ED_rigidbody_object_add (Main *bmain, Scene *scene, Object *ob, eRigidBodyOb_Type type, ReportList *reports)
void blender::ED_rigidbody_object_remove (Main *bmain, Scene *scene, Object *ob)
static wmOperatorStatus blender::rigidbody_object_add_exec (bContext *C, wmOperator *op)
void blender::RIGIDBODY_OT_object_add (wmOperatorType *ot)
static wmOperatorStatus blender::rigidbody_object_remove_exec (bContext *C, wmOperator *op)
void blender::RIGIDBODY_OT_object_remove (wmOperatorType *ot)
static wmOperatorStatus blender::rigidbody_objects_add_exec (bContext *C, wmOperator *op)
void blender::RIGIDBODY_OT_objects_add (wmOperatorType *ot)
static wmOperatorStatus blender::rigidbody_objects_remove_exec (bContext *C, wmOperator *)
void blender::RIGIDBODY_OT_objects_remove (wmOperatorType *ot)
static wmOperatorStatus blender::rigidbody_objects_shape_change_exec (bContext *C, wmOperator *op)
void blender::RIGIDBODY_OT_shape_change (wmOperatorType *ot)
static const EnumPropertyItem * blender::rigidbody_materials_itemf (bContext *, PointerRNA *, PropertyRNA *, bool *r_free)
static wmOperatorStatus blender::rigidbody_objects_calc_mass_exec (bContext *C, wmOperator *op)
static bool blender::mass_calculate_poll_property (const bContext *, wmOperator *op, const PropertyRNA *prop)
void blender::RIGIDBODY_OT_mass_calculate (wmOperatorType *ot)

Variables

static rbMaterialDensityItem blender::RB_MATERIAL_DENSITY_TABLE []
static const int blender::NUM_RB_MATERIAL_PRESETS

Detailed Description

Rigid Body object editing operators.

Definition in file rigidbody_object.cc.