JunkBox_Lib++ (for Windows) 1.10.1
Loading...
Searching...
No Matches
FBXDataTool.h
Go to the documentation of this file.
1#ifndef __JBXL_CPP_FBX_TOOL_H_
2#define __JBXL_CPP_FBX_TOOL_H_
3
9#include "tools++.h"
10#include "txml.h"
11
12#include "TriBrep.h"
13#include "Rotation.h"
14#include "ContourBaseData.h"
15#include "MaterialParam.h"
16#include "MeshObjectData.h"
17
18
19namespace jbxl {
20
21
23//
24
28{
29public:
30 FBXData(void) { this->init();}
31 virtual ~FBXData(void);
32
33public:
37
39 bool forUE;
40 int engine;
41
44
47
48public:
49 void init(void);
50 void free(void);
51
52 void setUnity(bool b) { this->forUnity = b;}
53 void setUE(bool b) { this->forUE = b;}
54 void setEngine(int);
55
57 void delAffineTrans (void) { freeAffineTrans(this->affineTrans);}
59
60 void addShell(MeshObjectData* meshdata, bool collider, SkinJointData* joints_data=NULL, tList* joints_template=NULL);
61 void closeSolid(void) {}
62
63 //void outputFile(const char* fn, const char* out_dirn, const char* ptm_dirn, const char* tex_dirn, const char* bin_dirn);
64 void outputFile(const char* fn, const char* out_dirn, const char* tex_dirn, const char* bin_dirn);
65 void output_fbx(FILE* fp);
66};
67
68
69inline void freeFBXData(FBXData* fbx) { if(fbx!=NULL) { fbx->free(); delete fbx; fbx=NULL;} }
70
71
72}
73
74#endif
回転・クォータニオン ライブラリ ヘッダ
三角Contour(Facet)用ライブラリ ヘッダ for BREP
void dup(AffineTrans a)
void setUE(bool b)
Definition FBXDataTool.h:53
Vector< double > execAffineTrans(void)
void setAffineTrans(AffineTrans< double > a)
Definition FBXDataTool.h:56
void init(void)
void delAffineTrans(void)
Definition FBXDataTool.h:57
void addShell(MeshObjectData *meshdata, bool collider, SkinJointData *joints_data=NULL, tList *joints_template=NULL)
AffineTrans< double > * affineTrans
Definition FBXDataTool.h:45
void closeSolid(void)
Definition FBXDataTool.h:61
void outputFile(const char *fn, const char *out_dirn, const char *tex_dirn, const char *bin_dirn)
void free(void)
AffineTrans< double > skeleton
Definition FBXDataTool.h:46
void setEngine(int)
virtual ~FBXData(void)
void setUnity(bool b)
Definition FBXDataTool.h:52
Buffer fbx_name
Definition FBXDataTool.h:34
tList * joints_list
Definition FBXDataTool.h:43
void output_fbx(FILE *fp)
Definition Brep.h:29
void freeFBXData(FBXData *fbx)
Definition FBXDataTool.h:69
void freeAffineTrans(AffineTrans< T > *&affine)
ツールライブラリ ヘッダ for C++
Tiny XML ライブラリヘッダ