![]() |
Dem Bones
1.2.0
Skinning Decomposition Library
|
Defines some macros to access sub-blocks of packing transformation/position matrices for convenience. More...
Go to the source code of this file.
Macros | |
#define | blk4(k, j) template block<4, 4>((k)*4, (j)*4) |
A 4*4 sub-block that represents a transformation matrix, typically k denotes frame number and j denotes bone index. More... | |
#define | rotMat(k, j) template block<3, 3>((k)*4, (j)*4) |
The 3*3 rotation part or the transformation matrix blk4(k , j ) More... | |
#define | transVec(k, j) col((j)*4+3).template segment<3>((k)*4) |
The 3*1 translation vector part or the transformation matrix blk4(k , j ) More... | |
#define | vec3(k, i) col(i).template segment<3>((k)*3) |
A 3*1 sub-block that represents position of a vertex, typically k denotes frame number and i denotes vertex index. More... | |
Defines some macros to access sub-blocks of packing transformation/position matrices for convenience.
These definitions are not included by default although they are used in DemBones
and DemBonesExt
(they are undefined at the end of the files).
Definition in file MatBlocks.h.
#define blk4 | ( | k, | |
j | |||
) | template block<4, 4>((k)*4, (j)*4) |
A 4*4 sub-block that represents a transformation matrix, typically k
denotes frame number and j
denotes bone index.
Definition at line 19 of file MatBlocks.h.
#define rotMat | ( | k, | |
j | |||
) | template block<3, 3>((k)*4, (j)*4) |
The 3*3 rotation part or the transformation matrix blk4(k
, j
)
Definition at line 22 of file MatBlocks.h.
#define transVec | ( | k, | |
j | |||
) | col((j)*4+3).template segment<3>((k)*4) |
The 3*1 translation vector part or the transformation matrix blk4(k
, j
)
Definition at line 25 of file MatBlocks.h.
#define vec3 | ( | k, | |
i | |||
) | col(i).template segment<3>((k)*3) |
A 3*1 sub-block that represents position of a vertex, typically k
denotes frame number and i
denotes vertex index.
Definition at line 28 of file MatBlocks.h.