Blender V4.3
TransCon Struct Reference

#include <transform.hh>

Public Attributes

char text [50]
 
float pmtx [3][3]
 
eTConstraint mode
 
void(* drawExtra )(TransInfo *t)
 
void(* applyVec )(const TransInfo *t, const TransDataContainer *tc, const TransData *td, const float in[3], float r_out[3])
 
void(* applySize )(const TransInfo *t, const TransDataContainer *tc, const TransData *td, float r_smat[3][3])
 
void(* applyRot )(const TransInfo *t, const TransDataContainer *tc, const TransData *td, float r_axis[3], float *r_angle)
 

Detailed Description

Definition at line 345 of file transform.hh.

Member Data Documentation

◆ applyRot

void(* TransCon::applyRot) (const TransInfo *t, const TransDataContainer *tc, const TransData *td, float r_axis[3], float *r_angle)

◆ applySize

void(* TransCon::applySize) (const TransInfo *t, const TransDataContainer *tc, const TransData *td, float r_smat[3][3])

Apply function pointer for size transformation.

Definition at line 366 of file transform.hh.

Referenced by applyBoneSize(), applyResize(), ElementBoneSize(), ElementResize(), setAxisMatrixConstraint(), setConstraint(), and transdata_elem_skin_resize().

◆ applyVec

void(* TransCon::applyVec) (const TransInfo *t, const TransDataContainer *tc, const TransData *td, const float in[3], float r_out[3])

Apply function pointer for linear vectorial transformation The last three parameters are pointers to the in/out/printable vectors.

Definition at line 360 of file transform.hh.

Referenced by applySeqSlide(), applyTranslation(), setAxisMatrixConstraint(), setConstraint(), transdata_elem_translate(), and translate_snap_increment().

◆ drawExtra

void(* TransCon::drawExtra) (TransInfo *t)

Definition at line 352 of file transform.hh.

Referenced by drawConstraint(), setAxisMatrixConstraint(), and setConstraint().

◆ mode

◆ pmtx

float TransCon::pmtx[3][3]

Projection constraint matrix (same as #imtx with some axis == 0).

Definition at line 349 of file transform.hh.

Referenced by ResizeBetween(), setAxisMatrixConstraint(), setConstraint(), setNearestAxis(), and transform_constraint_get_nearest().

◆ text


The documentation for this struct was generated from the following file: