kfbxnurbsurfevalmacrosutil.h

Detailed Description

Definition in filekfbxnurbsurfevalmacrosutil.h.

#include<kaydaradef.h>
#include<kaydara.h>
#include<klib/kdebug.h>
#include<kfbxplugins/kfbxsurfevalmacrosutil.h>
#include<fbxfilesdk_nsbegin.h>
#include<fbxfilesdk_nsend.h>

Include dependency graph for kfbxnurbsurfevalmacrosutil.h:

Go to the source code of this file.


Defines

#define Compute_NUR_Point_Dimension_With_pBij()
 Compute Point macro.
#define Compute_NUR_Point_Dimension_With_pBij_V0()
 Compute Point macro.
#define Compute_NUR_Point_Dimension_With_pBij_V0_U0()
 Compute Point macro.
#define Compute_NUR_Point_Dimension_With_pBij_V0_U1()
 Compute Point macro.
#define Compute_NUR_Point_Dimension_With_pBij_U0()
 Compute Point macro.
#define Compute_NUR_Point_Dimension_With_pBij_U1()
 Compute Point macro.
#define Compute_NUR_Point_Dimension_With_pBij_V1()
 Compute Point macro.
#define Compute_NUR_Point_Dimension_With_pBij_V1_U0()
 Compute Point macro.
#define Compute_NUR_Point_Dimension_With_pBij_V1_U1()
 Compute Point macro.
#define Compute_NUR_Point_Dimension_With_pBij()
 Compute Point macro.
#define Compute_NUR_Point_NormalUV_Dimension_With_pBdij_pBidj()
 Compute Point macro.
#define Compute_NUR_Point_NormalUV_Dimension_With_pBdij_pBidj_V0()
 Compute Point macro.
#define Compute_NUR_Point_NormalUV_Dimension_With_pBdij_pBidj_V0_U0()
 Compute Point macro.
#define Compute_NUR_Point_NormalUV_Dimension_With_pBdij_pBidj_V0_U1()
 Compute Point macro.
#define Compute_NUR_Point_NormalUV_Dimension_With_pBdij_pBidj_U0()
 Compute Point macro.
#define Compute_NUR_Point_NormalUV_Dimension_With_pBdij_pBidj_U1()
 Compute Point macro.
#define Compute_NUR_Point_NormalUV_Dimension_With_pBdij_pBidj_V1()
 Compute Point macro.
#define Compute_NUR_Point_NormalUV_Dimension_With_pBdij_pBidj_V1_U0()
 Compute Point macro.
#define Compute_NUR_Point_NormalUV_Dimension_With_pBdij_pBidj_V1_U1()
 Compute Point macro.

Define Documentation

 
#define Compute_NUR_Point_Dimension_With_pBij( ) 

Value:

*pDestination = (                                           \
                        pBij[0]  * (*pPoint00) + pBij[1] * (*pPoint01) + pBij[2] * (*pPoint02) +  pBij[3] * (*pPoint03) +   \
                        pBij[4]  * (*pPoint10) + pBij[5] * (*pPoint11) + pBij[6] * (*pPoint12) +  pBij[7] * (*pPoint13) +   \
                        pBij[8]  * (*pPoint20) + pBij[9] * (*pPoint21) + pBij[10]* (*pPoint22) +  pBij[11]* (*pPoint23) +   \
                        pBij[12] * (*pPoint30) + pBij[13]* (*pPoint31) + pBij[14]* (*pPoint32) +  pBij[15]* (*pPoint33)     \
                                ) /pWeight_Table[0] /*Point_Weight*/;
Compute Point macro.

Definition at line139of filekfbxnurbsurfevalmacrosutil.h.

 
#define Compute_NUR_Point_Dimension_With_pBij( ) 

Value:

*pDestination = (                                           \
                        pBij[0]  * (*pPoint00) + pBij[1] * (*pPoint01) + pBij[2] * (*pPoint02) +  pBij[3] * (*pPoint03) +   \
                        pBij[4]  * (*pPoint10) + pBij[5] * (*pPoint11) + pBij[6] * (*pPoint12) +  pBij[7] * (*pPoint13) +   \
                        pBij[8]  * (*pPoint20) + pBij[9] * (*pPoint21) + pBij[10]* (*pPoint22) +  pBij[11]* (*pPoint23) +   \
                        pBij[12] * (*pPoint30) + pBij[13]* (*pPoint31) + pBij[14]* (*pPoint32) +  pBij[15]* (*pPoint33)     \
                                ) /pWeight_Table[0] /*Point_Weight*/;
Compute Point macro.

Definition at line139of filekfbxnurbsurfevalmacrosutil.h.

 
#define Compute_NUR_Point_Dimension_With_pBij_U0( ) 

Value:

*pDestination = (                                           \
                        pBij[0]  * (*pPoint00) + pBij[1] * (*pPoint01) + pBij[2] * (*pPoint02) +    \
                        pBij[4]  * (*pPoint10) + pBij[5] * (*pPoint11) + pBij[6] * (*pPoint12) +    \
                        pBij[8]  * (*pPoint20) + pBij[9] * (*pPoint21) + pBij[10]* (*pPoint22) +    \
                        pBij[12] * (*pPoint30) + pBij[13]* (*pPoint31) + pBij[14]* (*pPoint32)      \
                                ) /pWeight_Table[0] /*Point_Weight*/;
Compute Point macro.

Definition at line92of filekfbxnurbsurfevalmacrosutil.h.

 
#define Compute_NUR_Point_Dimension_With_pBij_U1( ) 

Value:

*pDestination = (                                           \
                        pBij[1] * (*pPoint01) + pBij[2] * (*pPoint02) +  pBij[3] * (*pPoint03) +    \
                        pBij[5] * (*pPoint11) + pBij[6] * (*pPoint12) +  pBij[7] * (*pPoint13) +    \
                        pBij[9] * (*pPoint21) + pBij[10]* (*pPoint22) +  pBij[11]* (*pPoint23) +    \
                        pBij[13]* (*pPoint31) + pBij[14]* (*pPoint32) +  pBij[15]* (*pPoint33)      \
                                ) /pWeight_Table[0] /*Point_Weight*/;
Compute Point macro.

Definition at line102of filekfbxnurbsurfevalmacrosutil.h.

 
#define Compute_NUR_Point_Dimension_With_pBij_V0( ) 

Value:

*pDestination = (                                           \
                        pBij[0]  * (*pPoint00) + pBij[1] * (*pPoint01) + pBij[2] * (*pPoint02) +  pBij[3] * (*pPoint03) +   \
                        pBij[4]  * (*pPoint10) + pBij[5] * (*pPoint11) + pBij[6] * (*pPoint12) +  pBij[7] * (*pPoint13) +   \
                        pBij[8]  * (*pPoint20) + pBij[9] * (*pPoint21) + pBij[10]* (*pPoint22) +  pBij[11]* (*pPoint23)     \
                                ) /pWeight_Table[0] /*Point_Weight*/;
Compute Point macro.

Definition at line65of filekfbxnurbsurfevalmacrosutil.h.

 
#define Compute_NUR_Point_Dimension_With_pBij_V0_U0( ) 

Value:

*pDestination = (                                           \
                        pBij[0]  * (*pPoint00) + pBij[1] * (*pPoint01) + pBij[2] * (*pPoint02) +    \
                        pBij[4]  * (*pPoint10) + pBij[5] * (*pPoint11) + pBij[6] * (*pPoint12) +    \
                        pBij[8]  * (*pPoint20) + pBij[9] * (*pPoint21) + pBij[10]* (*pPoint22)  \
                                ) /pWeight_Table[0] /*Point_Weight*/;
Compute Point macro.

Definition at line74of filekfbxnurbsurfevalmacrosutil.h.

 
#define Compute_NUR_Point_Dimension_With_pBij_V0_U1( ) 

Value:

*pDestination = (                                           \
                        pBij[1] * (*pPoint01) + pBij[2] * (*pPoint02) +  pBij[3] * (*pPoint03) +    \
                        pBij[5] * (*pPoint11) + pBij[6] * (*pPoint12) +  pBij[7] * (*pPoint13) +    \
                        pBij[9] * (*pPoint21) + pBij[10]* (*pPoint22) +  pBij[11]* (*pPoint23)  \
                                ) /pWeight_Table[0] /*Point_Weight*/;
Compute Point macro.

Definition at line83of filekfbxnurbsurfevalmacrosutil.h.

 
#define Compute_NUR_Point_Dimension_With_pBij_V1( ) 

Value:

*pDestination = (                                           \
                        pBij[4]  * (*pPoint10) + pBij[5] * (*pPoint11) + pBij[6] * (*pPoint12) +  pBij[7] * (*pPoint13) +   \
                        pBij[8]  * (*pPoint20) + pBij[9] * (*pPoint21) + pBij[10]* (*pPoint22) +  pBij[11]* (*pPoint23) +   \
                        pBij[12] * (*pPoint30) + pBij[13]* (*pPoint31) + pBij[14]* (*pPoint32) +  pBij[15]* (*pPoint33)     \
                                ) /pWeight_Table[0] /*Point_Weight*/;
Compute Point macro.

Definition at line112of filekfbxnurbsurfevalmacrosutil.h.

 
#define Compute_NUR_Point_Dimension_With_pBij_V1_U0( ) 

Value:

*pDestination = (                                           \
                        pBij[4]  * (*pPoint10) + pBij[5] * (*pPoint11) + pBij[6] * (*pPoint12) +    \
                        pBij[8]  * (*pPoint20) + pBij[9] * (*pPoint21) + pBij[10]* (*pPoint22) +    \
                        pBij[12] * (*pPoint30) + pBij[13]* (*pPoint31) + pBij[14]* (*pPoint32)      \
                                ) /pWeight_Table[0] /*Point_Weight*/;
Compute Point macro.

Definition at line121of filekfbxnurbsurfevalmacrosutil.h.

 
#define Compute_NUR_Point_Dimension_With_pBij_V1_U1( ) 

Value:

*pDestination = (                                           \
                        pBij[5] * (*pPoint11) + pBij[6] * (*pPoint12) +  pBij[7] * (*pPoint13) +    \
                        pBij[9] * (*pPoint21) + pBij[10]* (*pPoint22) +  pBij[11]* (*pPoint23) +    \
                        pBij[13]* (*pPoint31) + pBij[14]* (*pPoint32) +  pBij[15]* (*pPoint33)      \
                                ) /pWeight_Table[0] /*Point_Weight*/;
Compute Point macro.

Definition at line130of filekfbxnurbsurfevalmacrosutil.h.

 
#define Compute_NUR_Point_NormalUV_Dimension_With_pBdij_pBidj( ) 

Value:

\
                *pPointNormalU =( (                                             \
                        pBdij[0] * (*pPoint00) + pBdij[1] * (*pPoint01) + pBdij[2] * (*pPoint02) +  pBdij[3] * (*pPoint03) +\
                        pBdij[4] * (*pPoint10) + pBdij[5] * (*pPoint11) + pBdij[6] * (*pPoint12) +  pBdij[7] * (*pPoint13) +\
                        pBdij[8] * (*pPoint20) + pBdij[9] * (*pPoint21) + pBdij[10]* (*pPoint22) +  pBdij[11]* (*pPoint23) +\
                        pBdij[12]* (*pPoint30) + pBdij[13]* (*pPoint31) + pBdij[14]* (*pPoint32) +  pBdij[15]* (*pPoint33)  \
                        ) -  pWeight_Table[1] * (*pDestination)  ) /pWeight_Table[0];                                       \
                                                                                                                            \
                *pPointNormalV = ((                                                                                         \
                        pBidj[0] * (*pPoint00) + pBidj[1] * (*pPoint01) + pBidj[2] * (*pPoint02) +  pBidj[3] * (*pPoint03) +\
                        pBidj[4] * (*pPoint10) + pBidj[5] * (*pPoint11) + pBidj[6] * (*pPoint12) +  pBidj[7] * (*pPoint13) +\
                        pBidj[8] * (*pPoint20) + pBidj[9] * (*pPoint21) + pBidj[10]* (*pPoint22) +  pBidj[11]* (*pPoint23) +\
                        pBidj[12]* (*pPoint30) + pBidj[13]* (*pPoint31) + pBidj[14]* (*pPoint32) +  pBidj[15]* (*pPoint33)  \
                        ) -  pWeight_Table[2] * (*pDestination)  ) /pWeight_Table[0];                                       \
Compute Point macro.

Definition at line149of filekfbxnurbsurfevalmacrosutil.h.

 
#define Compute_NUR_Point_NormalUV_Dimension_With_pBdij_pBidj_U0( ) 

Value:

\
                *pPointNormalU =( (                                             \
                        pBdij[0] * (*pPoint00) + pBdij[1] * (*pPoint01) + pBdij[2] * (*pPoint02) +\
                        pBdij[4] * (*pPoint10) + pBdij[5] * (*pPoint11) + pBdij[6] * (*pPoint12) +\
                        pBdij[8] * (*pPoint20) + pBdij[9] * (*pPoint21) + pBdij[10]* (*pPoint22) +\
                        pBdij[12]* (*pPoint30) + pBdij[13]* (*pPoint31) + pBdij[14]* (*pPoint32)    \
                        ) -  pWeight_Table[1] * (*pDestination)  ) /pWeight_Table[0];                                       \
                                                                                                                            \
                *pPointNormalV = ((                                                                                         \
                        pBidj[0] * (*pPoint00) + pBidj[1] * (*pPoint01) + pBidj[2] * (*pPoint02) +\
                        pBidj[4] * (*pPoint10) + pBidj[5] * (*pPoint11) + pBidj[6] * (*pPoint12) +\
                        pBidj[8] * (*pPoint20) + pBidj[9] * (*pPoint21) + pBidj[10]* (*pPoint22) +\
                        pBidj[12]* (*pPoint30) + pBidj[13]* (*pPoint31) + pBidj[14]* (*pPoint32)    \
                        ) -  pWeight_Table[2] * (*pDestination)  ) /pWeight_Table[0];                                       \
Compute Point macro.

Definition at line213of filekfbxnurbsurfevalmacrosutil.h.

 
#define Compute_NUR_Point_NormalUV_Dimension_With_pBdij_pBidj_U1( ) 

Value:

\
                *pPointNormalU =( (                                             \
                        pBdij[1] * (*pPoint01) + pBdij[2] * (*pPoint02) +  pBdij[3] * (*pPoint03) +\
                        pBdij[5] * (*pPoint11) + pBdij[6] * (*pPoint12) +  pBdij[7] * (*pPoint13) +\
                        pBdij[9] * (*pPoint21) + pBdij[10]* (*pPoint22) +  pBdij[11]* (*pPoint23) +\
                        pBdij[13]* (*pPoint31) + pBdij[14]* (*pPoint32) +  pBdij[15]* (*pPoint33)   \
                        ) -  pWeight_Table[1] * (*pDestination)  ) /pWeight_Table[0];                                       \
                                                                                                                            \
                *pPointNormalV = ((                                                                                         \
                        + pBidj[1] * (*pPoint01) + pBidj[2] * (*pPoint02) +  pBidj[3] * (*pPoint03) +\
                        + pBidj[5] * (*pPoint11) + pBidj[6] * (*pPoint12) +  pBidj[7] * (*pPoint13) +\
                        + pBidj[9] * (*pPoint21) + pBidj[10]* (*pPoint22) +  pBidj[11]* (*pPoint23) +\
                        + pBidj[13]* (*pPoint31) + pBidj[14]* (*pPoint32) +  pBidj[15]* (*pPoint33)     \
                        ) -  pWeight_Table[2] * (*pDestination)  ) /pWeight_Table[0];                                       \
Compute Point macro.

Definition at line230of filekfbxnurbsurfevalmacrosutil.h.

 
#define Compute_NUR_Point_NormalUV_Dimension_With_pBdij_pBidj_V0( ) 

Value:

\
                *pPointNormalU =( (                                             \
                        pBdij[0] * (*pPoint00) + pBdij[1] * (*pPoint01) + pBdij[2] * (*pPoint02) +  pBdij[3] * (*pPoint03) +\
                        pBdij[4] * (*pPoint10) + pBdij[5] * (*pPoint11) + pBdij[6] * (*pPoint12) +  pBdij[7] * (*pPoint13) +\
                        pBdij[8] * (*pPoint20) + pBdij[9] * (*pPoint21) + pBdij[10]* (*pPoint22) +  pBdij[11]* (*pPoint23) \
                        ) -  pWeight_Table[1] * (*pDestination)  ) /pWeight_Table[0];                                       \
                                                                                                                            \
                *pPointNormalV = ((                                                                                         \
                        pBidj[0] * (*pPoint00) + pBidj[1] * (*pPoint01) + pBidj[2] * (*pPoint02) +  pBidj[3] * (*pPoint03) +\
                        pBidj[4] * (*pPoint10) + pBidj[5] * (*pPoint11) + pBidj[6] * (*pPoint12) +  pBidj[7] * (*pPoint13) +\
                        pBidj[8] * (*pPoint20) + pBidj[9] * (*pPoint21) + pBidj[10]* (*pPoint22) +  pBidj[11]* (*pPoint23) \
                        ) -  pWeight_Table[2] * (*pDestination)  ) /pWeight_Table[0];                                       \
Compute Point macro.

Definition at line167of filekfbxnurbsurfevalmacrosutil.h.

 
#define Compute_NUR_Point_NormalUV_Dimension_With_pBdij_pBidj_V0_U0( ) 

Value:

\
                *pPointNormalU =( (                                             \
                        pBdij[0] * (*pPoint00) + pBdij[1] * (*pPoint01) + pBdij[2] * (*pPoint02) +\
                        pBdij[4] * (*pPoint10) + pBdij[5] * (*pPoint11) + pBdij[6] * (*pPoint12) +\
                        pBdij[8] * (*pPoint20) + pBdij[9] * (*pPoint21) + pBdij[10]* (*pPoint22) \
                        ) -  pWeight_Table[1] * (*pDestination)  ) /pWeight_Table[0];                                       \
                                                                                                                            \
                *pPointNormalV = ((                                                                                         \
                        pBidj[0] * (*pPoint00) + pBidj[1] * (*pPoint01) + pBidj[2] * (*pPoint02) +\
                        pBidj[4] * (*pPoint10) + pBidj[5] * (*pPoint11) + pBidj[6] * (*pPoint12) +\
                        pBidj[8] * (*pPoint20) + pBidj[9] * (*pPoint21) + pBidj[10]* (*pPoint22) \
                        ) -  pWeight_Table[2] * (*pDestination)  ) /pWeight_Table[0];                                       \
Compute Point macro.

Definition at line182of filekfbxnurbsurfevalmacrosutil.h.

 
#define Compute_NUR_Point_NormalUV_Dimension_With_pBdij_pBidj_V0_U1( ) 

Value:

\
                *pPointNormalU =( (                                             \
                        pBdij[1] * (*pPoint01) + pBdij[2] * (*pPoint02) +  pBdij[3] * (*pPoint03) +\
                        pBdij[5] * (*pPoint11) + pBdij[6] * (*pPoint12) +  pBdij[7] * (*pPoint13) +\
                        pBdij[9] * (*pPoint21) + pBdij[10]* (*pPoint22) +  pBdij[11]* (*pPoint23) \
                        ) -  pWeight_Table[1] * (*pDestination)  ) /pWeight_Table[0];                                       \
                                                                                                                            \
                *pPointNormalV = ((                                                                                         \
                        pBidj[1] * (*pPoint01) + pBidj[2] * (*pPoint02) +  pBidj[3] * (*pPoint03) +\
                        pBidj[5] * (*pPoint11) + pBidj[6] * (*pPoint12) +  pBidj[7] * (*pPoint13) +\
                        pBidj[9] * (*pPoint21) + pBidj[10]* (*pPoint22) +  pBidj[11]* (*pPoint23) \
                        ) -  pWeight_Table[2] * (*pDestination)  ) /pWeight_Table[0];                                       \
Compute Point macro.

Definition at line198of filekfbxnurbsurfevalmacrosutil.h.

 
#define Compute_NUR_Point_NormalUV_Dimension_With_pBdij_pBidj_V1( ) 

Value:

\
                *pPointNormalU =( (                                             \
                        pBdij[4] * (*pPoint10) + pBdij[5] * (*pPoint11) + pBdij[6] * (*pPoint12) +  pBdij[7] * (*pPoint13) +\
                        pBdij[8] * (*pPoint20) + pBdij[9] * (*pPoint21) + pBdij[10]* (*pPoint22) +  pBdij[11]* (*pPoint23) +\
                        pBdij[12]* (*pPoint30) + pBdij[13]* (*pPoint31) + pBdij[14]* (*pPoint32) +  pBdij[15]* (*pPoint33)  \
                        ) -  pWeight_Table[1] * (*pDestination)  ) /pWeight_Table[0];                                       \
                                                                                                                            \
                *pPointNormalV = ((                                                                                         \
                        pBidj[4] * (*pPoint10) + pBidj[5] * (*pPoint11) + pBidj[6] * (*pPoint12) +  pBidj[7] * (*pPoint13) +\
                        pBidj[8] * (*pPoint20) + pBidj[9] * (*pPoint21) + pBidj[10]* (*pPoint22) +  pBidj[11]* (*pPoint23) +\
                        pBidj[12]* (*pPoint30) + pBidj[13]* (*pPoint31) + pBidj[14]* (*pPoint32) +  pBidj[15]* (*pPoint33)  \
                        ) -  pWeight_Table[2] * (*pDestination)  ) /pWeight_Table[0];                                       \
Compute Point macro.

Definition at line247of filekfbxnurbsurfevalmacrosutil.h.

 
#define Compute_NUR_Point_NormalUV_Dimension_With_pBdij_pBidj_V1_U0( ) 

Value:

\
                *pPointNormalU =( (                                                                 \
                        pBdij[4] * (*pPoint10) + pBdij[5] * (*pPoint11) + pBdij[6] * (*pPoint12)+   \
                        pBdij[8] * (*pPoint20) + pBdij[9] * (*pPoint21) + pBdij[10]* (*pPoint22)+   \
                        pBdij[12]* (*pPoint30) + pBdij[13]* (*pPoint31) + pBdij[14]* (*pPoint32)    \
                        ) -  pWeight_Table[1] * (*pDestination)  ) /pWeight_Table[0];               \
                                                                                                    \
                *pPointNormalV = ((                                                                 \
                        pBidj[4] * (*pPoint10) + pBidj[5] * (*pPoint11) + pBidj[6] * (*pPoint12)+   \
                        pBidj[8] * (*pPoint20) + pBidj[9] * (*pPoint21) + pBidj[10]* (*pPoint22)+   \
                        pBidj[12]* (*pPoint30) + pBidj[13]* (*pPoint31) + pBidj[14]* (*pPoint32)    \
                        ) -  pWeight_Table[2] * (*pDestination)  ) /pWeight_Table[0];               \
Compute Point macro.

Definition at line262of filekfbxnurbsurfevalmacrosutil.h.

 
#define Compute_NUR_Point_NormalUV_Dimension_With_pBdij_pBidj_V1_U1( ) 

Value:

\
                *pPointNormalU =( (                                                                 \
                        pBdij[5] * (*pPoint11) + pBdij[6] * (*pPoint12) +  pBdij[7] * (*pPoint13) + \
                        pBdij[9] * (*pPoint21) + pBdij[10]* (*pPoint22) +  pBdij[11]* (*pPoint23) + \
                        pBdij[13]* (*pPoint31) + pBdij[14]* (*pPoint32) +  pBdij[15]* (*pPoint33)   \
                        ) -  pWeight_Table[1] * (*pDestination)  ) /pWeight_Table[0];               \
                                                                                                    \
                *pPointNormalV = ((                                                                 \
                        pBidj[5] * (*pPoint11) + pBidj[6] * (*pPoint12) +  pBidj[7] * (*pPoint13) + \
                        pBidj[9] * (*pPoint21) + pBidj[10]* (*pPoint22) +  pBidj[11]* (*pPoint23) + \
                        pBidj[13]* (*pPoint31) + pBidj[14]* (*pPoint32) +  pBidj[15]* (*pPoint33)   \
                        ) -  pWeight_Table[2] * (*pDestination)  ) /pWeight_Table[0];               \
Compute Point macro.

Definition at line277of filekfbxnurbsurfevalmacrosutil.h.