Blender  V3.3
Public Attributes | List of all members
TransCon Struct Reference

#include <transform.h>

Public Attributes

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

Detailed Description

Definition at line 316 of file source/blender/editors/transform/transform.h.

Member Data Documentation

◆ applyRot

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

Apply function pointer for rotation transformation

Definition at line 345 of file source/blender/editors/transform/transform.h.

◆ applySize

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

Apply function pointer for size transformation.

Definition at line 340 of file source/blender/editors/transform/transform.h.

◆ applyVec

void(* TransCon::applyVec) (const struct TransInfo *t, const struct TransDataContainer *tc, const struct 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 334 of file source/blender/editors/transform/transform.h.

◆ drawExtra

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

Definition at line 326 of file source/blender/editors/transform/transform.h.

Referenced by drawConstraint().

◆ imval

int TransCon::imval[2]

Initial mouse value for visual calculation the one in TransInfo is not guarantee to stay the same (Rotates change it).

Definition at line 323 of file source/blender/editors/transform/transform.h.

◆ mode

eTConstraint TransCon::mode

Mode flags of the constraint.

Definition at line 325 of file source/blender/editors/transform/transform.h.

Referenced by drawConstraint().

◆ pmtx

float TransCon::pmtx[3][3]

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

Definition at line 320 of file source/blender/editors/transform/transform.h.

◆ text

char TransCon::text[50]

Description of the constraint for header_print.

Definition at line 318 of file source/blender/editors/transform/transform.h.


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