Blender V5.0
transform_orientations.hh File Reference

Go to the source code of this file.

Namespaces

namespace  blender
namespace  blender::ed
namespace  blender::ed::transform

Macros

#define ORIENTATION_USE_PLANE(ty)

Enumerations

enum  {
  blender::ed::transform::ORIENTATION_NONE = 0 , blender::ed::transform::ORIENTATION_NORMAL = 1 , blender::ed::transform::ORIENTATION_VERT = 2 , blender::ed::transform::ORIENTATION_EDGE = 3 ,
  blender::ed::transform::ORIENTATION_FACE = 4
}

Functions

bool blender::ed::transform::gimbal_axis_pose (Object *ob, const bPoseChannel *pchan, float gmat[3][3])
bool blender::ed::transform::gimbal_axis_object (Object *ob, float gmat[3][3])
short blender::ed::transform::transform_orientation_matrix_get (bContext *C, TransInfo *t, short orient_index, const float custom[3][3], float r_spacemtx[3][3])
const char * blender::ed::transform::transform_orientations_spacename_get (TransInfo *t, const short orient_type)
void blender::ed::transform::transform_orientations_current_set (TransInfo *t, const short orient_index)
bool blender::ed::transform::transform_orientations_create_from_axis (float mat[3][3], const float x[3], const float y[3], const float z[3])
bool blender::ed::transform::createSpaceNormal (float mat[3][3], const float normal[3])
bool blender::ed::transform::createSpaceNormalTangent (float mat[3][3], const float normal[3], const float tangent[3])
void blender::ed::transform::createSpaceNormalTangent_or_fallback (float mat[3][3], const float normal[3], const float tangent[3])
TransformOrientationblender::ed::transform::addMatrixSpace (bContext *C, float mat[3][3], const char *name, const bool overwrite)
void blender::ed::transform::applyTransformOrientation (const TransformOrientation *ts, float r_mat[3][3], char r_name[64])
int blender::ed::transform::getTransformOrientation_ex (const Scene *scene, ViewLayer *view_layer, const View3D *v3d, Object *ob, Object *obedit, const short around, float r_normal[3], float r_plane[3])
int blender::ed::transform::getTransformOrientation (const bContext *C, float r_normal[3], float r_plane[3])

Macro Definition Documentation

◆ ORIENTATION_USE_PLANE

#define ORIENTATION_USE_PLANE ( ty)
Value:
ELEM(ty, ORIENTATION_NORMAL, ORIENTATION_EDGE, ORIENTATION_FACE)
#define ELEM(...)

Definition at line 74 of file transform_orientations.hh.

Referenced by blender::ed::transform::ED_getTransformOrientationMatrix().