Blender  V2.93
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 )(struct TransInfo *t, struct TransDataContainer *tc, struct TransData *td, const float in[3], float out[3])
 
void(* applySize )(struct TransInfo *t, struct TransDataContainer *tc, struct TransData *td, float smat[3][3])
 
void(* applyRot )(struct TransInfo *t, struct TransDataContainer *tc, struct TransData *td, float vec[3], float *angle)
 

Detailed Description

Definition at line 339 of file transform.h.

Member Data Documentation

◆ applyRot

void(* TransCon::applyRot) (struct TransInfo *t, struct TransDataContainer *tc, struct TransData *td, float vec[3], float *angle)

Apply function pointer for rotation transformation

Definition at line 368 of file transform.h.

◆ applySize

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

Apply function pointer for size transformation.

Definition at line 363 of file transform.h.

◆ applyVec

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

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

Definition at line 357 of file transform.h.

◆ drawExtra

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

Definition at line 349 of file 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 346 of file transform.h.

◆ mode

eTConstraint TransCon::mode

Mode flags of the constraint.

Definition at line 348 of file transform.h.

Referenced by drawConstraint(), and drawDial3d().

◆ pmtx

float TransCon::pmtx[3][3]

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

Definition at line 343 of file transform.h.

◆ text

char TransCon::text[50]

Description of the constraint for header_print.

Definition at line 341 of file transform.h.


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