Blender V2.61 - r43446
Functions | Variables

rna_constraint.c File Reference

#include <stdlib.h>
#include "RNA_define.h"
#include "rna_internal.h"
#include "BLI_math.h"
#include "DNA_action_types.h"
#include "DNA_constraint_types.h"
#include "DNA_modifier_types.h"
#include "DNA_object_types.h"
#include "DNA_scene_types.h"
#include "ED_object.h"
#include "WM_types.h"

Go to the source code of this file.

Functions

static void rna_def_constrainttarget (BlenderRNA *brna)
static void rna_def_constraint_childof (BlenderRNA *brna)
static void rna_def_constraint_python (BlenderRNA *brna)
static void rna_def_constraint_kinematic (BlenderRNA *brna)
static void rna_def_constraint_track_to (BlenderRNA *brna)
static void rna_def_constraint_locate_like (BlenderRNA *brna)
static void rna_def_constraint_rotate_like (BlenderRNA *brna)
static void rna_def_constraint_size_like (BlenderRNA *brna)
static void rna_def_constraint_same_volume (BlenderRNA *brna)
static void rna_def_constraint_transform_like (BlenderRNA *brna)
static void rna_def_constraint_minmax (BlenderRNA *brna)
static void rna_def_constraint_action (BlenderRNA *brna)
static void rna_def_constraint_locked_track (BlenderRNA *brna)
static void rna_def_constraint_follow_path (BlenderRNA *brna)
static void rna_def_constraint_stretch_to (BlenderRNA *brna)
static void rna_def_constraint_rigid_body_joint (BlenderRNA *brna)
static void rna_def_constraint_clamp_to (BlenderRNA *brna)
static void rna_def_constraint_transform (BlenderRNA *brna)
static void rna_def_constraint_location_limit (BlenderRNA *brna)
static void rna_def_constraint_rotation_limit (BlenderRNA *brna)
static void rna_def_constraint_size_limit (BlenderRNA *brna)
static void rna_def_constraint_distance_limit (BlenderRNA *brna)
static void rna_def_constraint_shrinkwrap (BlenderRNA *brna)
static void rna_def_constraint_damped_track (BlenderRNA *brna)
static void rna_def_constraint_spline_ik (BlenderRNA *brna)
static void rna_def_constraint_pivot (BlenderRNA *brna)
static void rna_def_constraint_follow_track (BlenderRNA *brna)
static void rna_def_constraint_camera_solver (BlenderRNA *brna)
static void rna_def_constraint_object_solver (BlenderRNA *brna)
void RNA_def_constraint (BlenderRNA *brna)

Variables

EnumPropertyItem constraint_type_items []
static EnumPropertyItem target_space_pchan_items []
static EnumPropertyItem owner_space_pchan_items []
EnumPropertyItem constraint_distance_items []

Detailed Description

Definition in file rna_constraint.c.


Function Documentation

void RNA_def_constraint ( BlenderRNA brna)

Definition at line 2228 of file rna_constraint.c.

References CONSTRAINT_ACTIVE, CONSTRAINT_DISABLE, CONSTRAINT_EXPAND, CONSTRAINT_OFF, CONSTRAINT_PROXY_LOCAL, NA_RENAME, NC_OBJECT, ND_CONSTRAINT, NULL, PROP_BOOLEAN, PROP_EDITABLE, PROP_ENUM, PROP_FACTOR, PROP_FLOAT, PROP_NONE, PROP_STRING, rna_def_constraint_action(), rna_def_constraint_camera_solver(), rna_def_constraint_childof(), rna_def_constraint_clamp_to(), rna_def_constraint_damped_track(), rna_def_constraint_distance_limit(), rna_def_constraint_follow_path(), rna_def_constraint_follow_track(), rna_def_constraint_kinematic(), rna_def_constraint_locate_like(), rna_def_constraint_location_limit(), rna_def_constraint_locked_track(), rna_def_constraint_minmax(), rna_def_constraint_object_solver(), rna_def_constraint_pivot(), rna_def_constraint_python(), rna_def_constraint_rigid_body_joint(), rna_def_constraint_rotate_like(), rna_def_constraint_rotation_limit(), rna_def_constraint_same_volume(), rna_def_constraint_shrinkwrap(), rna_def_constraint_size_like(), rna_def_constraint_size_limit(), rna_def_constraint_spline_ik(), rna_def_constraint_stretch_to(), rna_def_constraint_track_to(), rna_def_constraint_transform(), rna_def_constraint_transform_like(), rna_def_constrainttarget(), RNA_def_property(), RNA_def_property_boolean_negative_sdna(), RNA_def_property_boolean_sdna(), RNA_def_property_clear_flag(), RNA_def_property_enum_funcs(), RNA_def_property_enum_items(), RNA_def_property_enum_sdna(), RNA_def_property_float_sdna(), RNA_def_property_range(), RNA_def_property_string_funcs(), RNA_def_property_ui_icon(), RNA_def_property_ui_text(), RNA_def_property_update(), RNA_def_struct(), RNA_def_struct_name_property(), RNA_def_struct_path_func(), RNA_def_struct_refine_func(), RNA_def_struct_sdna(), and RNA_def_struct_ui_text().

static void rna_def_constraint_action ( BlenderRNA brna) [static]
static void rna_def_constraint_camera_solver ( BlenderRNA brna) [static]
static void rna_def_constraint_childof ( BlenderRNA brna) [static]
static void rna_def_constraint_clamp_to ( BlenderRNA brna) [static]
static void rna_def_constraint_damped_track ( BlenderRNA brna) [static]
static void rna_def_constraint_distance_limit ( BlenderRNA brna) [static]
static void rna_def_constraint_follow_path ( BlenderRNA brna) [static]
static void rna_def_constraint_follow_track ( BlenderRNA brna) [static]
static void rna_def_constraint_kinematic ( BlenderRNA brna) [static]
static void rna_def_constraint_locate_like ( BlenderRNA brna) [static]
static void rna_def_constraint_location_limit ( BlenderRNA brna) [static]
static void rna_def_constraint_locked_track ( BlenderRNA brna) [static]
static void rna_def_constraint_minmax ( BlenderRNA brna) [static]
static void rna_def_constraint_object_solver ( BlenderRNA brna) [static]
static void rna_def_constraint_pivot ( BlenderRNA brna) [static]
static void rna_def_constraint_python ( BlenderRNA brna) [static]
static void rna_def_constraint_rigid_body_joint ( BlenderRNA brna) [static]
static void rna_def_constraint_rotate_like ( BlenderRNA brna) [static]
static void rna_def_constraint_rotation_limit ( BlenderRNA brna) [static]
static void rna_def_constraint_same_volume ( BlenderRNA brna) [static]
static void rna_def_constraint_shrinkwrap ( BlenderRNA brna) [static]
static void rna_def_constraint_size_like ( BlenderRNA brna) [static]
static void rna_def_constraint_size_limit ( BlenderRNA brna) [static]
static void rna_def_constraint_spline_ik ( BlenderRNA brna) [static]
static void rna_def_constraint_stretch_to ( BlenderRNA brna) [static]
static void rna_def_constraint_track_to ( BlenderRNA brna) [static]
static void rna_def_constraint_transform ( BlenderRNA brna) [static]
static void rna_def_constraint_transform_like ( BlenderRNA brna) [static]
static void rna_def_constrainttarget ( BlenderRNA brna) [static]

Variable Documentation

Initial value:
 {
    {LIMITDIST_INSIDE, "LIMITDIST_INSIDE", 0, "Inside", "The object is constrained inside a virtual sphere around the target object, with a radius defined by the limit distance"},
    {LIMITDIST_OUTSIDE, "LIMITDIST_OUTSIDE", 0, "Outside", "The object is constrained outside a virtual sphere around the target object, with a radius defined by the limit distance"},
    {LIMITDIST_ONSURFACE, "LIMITDIST_ONSURFACE", 0, "On Surface", "The object is constrained on the surface of a virtual sphere around the target object, with a radius defined by the limit distance"},
    {0, NULL, 0, NULL, NULL}
}

Definition at line 406 of file rna_constraint.c.

Initial value:
 {
    {0, "WORLD", 0, "World Space", "The constraint is applied relative to the world coordinate system"},
    {2, "POSE", 0, "Pose Space", "The constraint is applied in Pose Space, the object transformation is ignored"},
    {3, "LOCAL_WITH_PARENT", 0, "Local With Parent", "The constraint is applied relative to the local coordinate system of the object, with the parent transformation added"},
    {1, "LOCAL", 0, "Local Space", "The constraint is applied relative to the local coordinate sytem of the object"},
    {0, NULL, 0, NULL, NULL}}

Definition at line 87 of file rna_constraint.c.

Initial value:
 {
    {0, "WORLD", 0, "World Space", "The transformation of the target is evaluated relative to the world coordinate system"},
    {2, "POSE", 0, "Pose Space", "The transformation of the target is only evaluated in the Pose Space, the target armature object transformation is ignored"},
    {3, "LOCAL_WITH_PARENT", 0, "Local With Parent", "The transformation of the target bone is evaluated relative its local coordinate system, with the parent transformation added"},
    {1, "LOCAL", 0, "Local Space", "The transformation of the target is evaluated relative to its local coordinate system"},
    {0, NULL, 0, NULL, NULL}}

Definition at line 80 of file rna_constraint.c.