1#ifndef __JBXL_CPP_COLLADA_TOOL_H_
2#define __JBXL_CPP_COLLADA_TOOL_H_
17#define COLLADA_STR_AUTHOR "JBXL Collada Tool Library (C) 2014-2024 by Fumi.Iseki and Austin Tate"
18#define COLLADA_STR_XMLNS "http://www.collada.org/2005/11/COLLADASchema"
19#define COLLADA_STR_TOOL "JunkBox_Lib++ (https://github.com/JunkBox-Library)"
20#define COLLADA_STR_VER "1.6.0"
54 void initCollada(
double meter,
int axis,
const char* ver);
74 char*
addImage(
const char* filename);
三角Contour(Facet)用ライブラリ ヘッダ for BREP
#define make_Buffer_bystr(str)
set_Buffer()
tXML * instance_physics_model_tag
char * addImage(const char *filename)
char * addVertexSource(tXML *tag, MeshObjectData *shelldata)
char * addWeightSource(tXML *tag, MeshObjectData *shelldata, Vector< int > *weight_index, int num_joints)
ColladaXML(double meter=1.0, int axis=COLLADA_Z_UP, const char *ver=NULL)
tXML * library_visual_scenes_tag
void addCenterScene(void)
void addExtraBumpmap(tXML *effect_tag, const char *bump_id)
void deleteJoint(tXML *delete_tag)
void initCollada(float meter, int axis, const char *ver)
char * addMaterial(const char *material)
char * addController(const char *geometry_id, MeshObjectData *shelldata, SkinJointData *skin_joint)
void addMapTechniqueAccessor(tXML *source_tag, const char *source_array_id, int count)
void init(double meter=1.0, int axis=COLLADA_Z_UP, const char *ver=NULL)
void output_dae(FILE *fp, int mode=XML_SPACE_FORMAT)
void initCollada(double meter, int axis, const char *ver)
AffineTrans< double > * affineTrans
char * addGeometry(MeshObjectData *shelldata)
void clear(float meter, int axis=COLLADA_Z_UP, const char *ver=NULL)
tXML * authoring_tool_tag
void setBlankTexture(const char *name)
void init(float meter, int axis=COLLADA_Z_UP, const char *ver=NULL)
void outputFile(const char *fn, const char *path=NULL, int mode=XML_SPACE_FORMAT)
void addShell(MeshObjectData *shelldata, bool collider, SkinJointData *skin_joint=NULL, tXML *joints_template=NULL)
char * addVerticesPos(tXML *mesh_tag, const char *position_id)
tXML * joints_template_tag
void deleteNousedJoints(tXML *delete_tag)
tXML * library_physics_models_tag
char * addNormalSource(tXML *tag, MeshObjectData *shelldata)
void addPolylists(tXML *mesh_tag, MeshObjectData *shelldata, const char *vertex_id, const char *normal_id=NULL, const char *texcrd_id=NULL)
void addCenterObject(void)
tXML * library_images_tag
void deleteListJoints(tXML *top_tag, tList *joints_name)
void output_tree(FILE *fp)
void addSimpleTechniqueAccessor(tXML *source_tag, const char *source_array_id, int count, int stride, const char *name, const char *type)
AffineTrans< double > affineSkeleton
bool isBlankTexture(const char *name)
tXML * addEffect(const char *material_url, const char *file_id, MaterialParam param)
tXML * library_materials_tag
virtual ~ColladaXML(void)
tXML * instance_physics_scene_tag
tXML * instance_visual_scene_tag
ColladaXML(float meter, int axis=COLLADA_Z_UP, const char *ver=NULL)
tXML * library_geometries_tag
void addScene(const char *geometry_id, char *controll_id, MeshObjectData *shelldata, bool collider, SkinJointData *skin_joint)
void setJointLocationMatrix(void)
bool existSameID(tXML *top, const char *tag, const char *id)
void addPosTechniqueAccessor(tXML *source_tag, const char *source_array_id, int count)
tXML * library_physics_scenes_tag
tXML * library_controllers_tag
tXML * library_effects_tag
void clear(double meter=1.0, int axis=COLLADA_Z_UP, const char *ver=NULL)
char * addTexcrdSource(tXML *tag, MeshObjectData *shelldata)
void freeColladaXML(ColladaXML *&dae)
void print_xml_tree(FILE *fp, tXML *pp, const char *space)
XMLツリーをそのままツリー表示する.デバッグ用.
void print_xml(FILE *fp, tXML *pp, int mode)
XMLの表示(出力).
#define XML_SPACE_FORMAT
先頭に空白2つ " " をつけ,ノードごとに改行する.