JunkBox_Win_Lib 1.5.3
Loading...
Searching...
No Matches
NiJTextTool.h
Go to the documentation of this file.
1#pragma once
2
3#include "NiJointsTool.h"
4
5
6namespace jbxwl {
7
8using namespace jbxl;
9
10
12// CNiJTextTool Class
13//
14
16{
17public:
18 CNiJTextTool(void);
19 virtual ~CNiJTextTool(void);
20
21public:
22 void free_data(void);
23 void clear_data(void);
24
25 double* jntAngl;
26
27public:
28 virtual NiJointData* getJointsData(int frmnum, int fps); // 補間データ
29
30 virtual BOOL readFile(FILE* fp);
31
32//
33public:
34 void writeHeader(FILE* fp) { if (fp!=NULL) fprintf(fp, "%s\n", NI_JTXT_FILE_ID);}
35 void writeCurrentData(FILE* fp, unsigned short msec);
36 //
37 void setPosVect(Vector<double>* pos, NiSDK_Lib lib, BOOL mirror);
38 void setRotQuat(Quaternion<double>* rot, NiSDK_Lib lib, BOOL mirror);
39 void setJntAngl(double* agl, NiSDK_Lib lib, BOOL mirror);
40};
41
42
43} // name space
44
#define NI_JTXT_FILE_ID
Definition NiJointsTool.h:9
void writeCurrentData(FILE *fp, unsigned short msec)
virtual BOOL readFile(FILE *fp)
virtual NiJointData * getJointsData(int frmnum, int fps)
virtual ~CNiJTextTool(void)
void setRotQuat(Quaternion< double > *rot, NiSDK_Lib lib, BOOL mirror)
void setPosVect(Vector< double > *pos, NiSDK_Lib lib, BOOL mirror)
void writeHeader(FILE *fp)
Definition NiJTextTool.h:34
void setJntAngl(double *agl, NiSDK_Lib lib, BOOL mirror)
NiSDK_Lib
Definition NiToolWin.h:35