Blender V5.3
crazyspace.cc File Reference
#include "MEM_guardedalloc.h"
#include "DNA_mesh_types.h"
#include "DNA_modifier_types.h"
#include "DNA_object_types.h"
#include "BLI_linklist.hh"
#include "BLI_math_matrix_c.hh"
#include "BLI_math_rotation_c.hh"
#include "BLI_math_vector_types.hh"
#include "BLI_span.hh"
#include "BLI_utildefines.hh"
#include "BKE_crazyspace.hh"
#include "BKE_curves.hh"
#include "BKE_editmesh.hh"
#include "BKE_geometry_set.hh"
#include "BKE_grease_pencil.hh"
#include "BKE_lib_id.hh"
#include "BKE_mesh.hh"
#include "BKE_mesh_runtime.hh"
#include "BKE_mesh_wrapper.hh"
#include "BKE_modifier.hh"
#include "BKE_multires.hh"
#include "BKE_object_types.hh"
#include "BKE_report.hh"
#include "DEG_depsgraph_query.hh"

Go to the source code of this file.

Namespaces

namespace  blender
 BMesh Iterators.
namespace  blender::bke
namespace  blender::bke::crazyspace

Functions

BLI_INLINE void blender::tan_calc_quat_v3 (float r_quat[4], const float co_1[3], const float co_2[3], const float co_3[3])
static void blender::set_crazy_vertex_quat (float r_quat[4], const float co_1[3], const float co_2[3], const float co_3[3], const float vd_1[3], const float vd_2[3], const float vd_3[3])
static bool blender::modifiers_disable_subsurf_temporary (Object *ob, const int cageIndex)
Array< float3 > blender::BKE_crazyspace_get_mapped_editverts (Depsgraph *depsgraph, Object *obedit)
void blender::BKE_crazyspace_set_quats_editmesh (BMesh *bm, Span< float3 > origcos, Span< float3 > mappedcos, float(*quats)[4], bool use_select)
void blender::BKE_crazyspace_set_quats_mesh (Mesh *mesh, Span< float3 > origcos, Span< float3 > mappedcos, float(*quats)[4])
int blender::BKE_crazyspace_get_first_deform_matrices_editbmesh (Depsgraph *depsgraph, Scene *, Object *, BMEditMesh *em, Array< float3x3, 0 > &deformmats, Array< float3, 0 > &deformcos)
static void blender::crazyspace_init_object_for_eval (Depsgraph *depsgraph, Object *object, Object *object_crazy)
static bool blender::crazyspace_modifier_supports_deform_matrices (ModifierData *md)
static bool blender::crazyspace_modifier_supports_deform (ModifierData *md)
int blender::BKE_sculpt_get_first_deform_matrices (Depsgraph *depsgraph, Scene *scene, Object *ob, Array< float3x3, 0 > &deformmats, Array< float3, 0 > &deformcos)
void blender::BKE_crazyspace_build_sculpt (Depsgraph *depsgraph, Scene *scene, Object *ob, Array< float3x3, 0 > &deformmats, Array< float3, 0 > &deformcos)
GeometryDeformation blender::bke::crazyspace::get_evaluated_curves_deformation (const Object *ob_eval, const Object &ob_orig)
GeometryDeformation blender::bke::crazyspace::get_evaluated_curves_deformation (const Depsgraph &depsgraph, const Object &ob_orig)
static const GreasePencilDrawingEditHints * blender::bke::crazyspace::get_drawing_edit_hint_for_original_drawing (const GreasePencilEditHints *edit_hints, const bke::greasepencil::Drawing &drawing_orig)
GeometryDeformation blender::bke::crazyspace::get_evaluated_grease_pencil_drawing_deformation (const Object *ob_eval, const Object &ob_orig, const bke::greasepencil::Drawing &drawing_orig)
GeometryDeformation blender::bke::crazyspace::get_evaluated_grease_pencil_drawing_deformation (const Depsgraph &depsgraph, const Object &ob_orig, const bke::greasepencil::Drawing &drawing_orig)
Crazy-Space API
void blender::BKE_crazyspace_api_eval (Depsgraph *depsgraph, Scene *scene, Object *object, ReportList *reports)
void blender::BKE_crazyspace_api_displacement_to_deformed (Object *object, ReportList *reports, int vertex_index, const float displacement[3], float r_displacement_deformed[3])
void blender::BKE_crazyspace_api_displacement_to_original (Object *object, ReportList *reports, int vertex_index, const float displacement_deformed[3], float r_displacement[3])
void blender::BKE_crazyspace_api_eval_clear (Object *object)