Blender
V3.3
|
#include <map>
#include <string>
#include <vector>
#include "COLLADAFWFileInfo.h"
#include "Math/COLLADABUMathMatrix4.h"
#include "BLI_linklist.h"
#include "BLI_math.h"
#include "DNA_armature_types.h"
#include "DNA_material_types.h"
#include "DNA_object_types.h"
#include "DNA_scene_types.h"
Go to the source code of this file.
Classes | |
class | UnitConverter |
Functions | |
void | clear_global_id_map () |
std::string | translate_id (const std::string &id) |
std::string | translate_id (const char *idString) |
std::string | id_name (void *id) |
std::string | encode_xml (std::string xml) |
std::string | get_geometry_id (Object *ob) |
std::string | get_geometry_id (Object *ob, bool use_instantiation) |
std::string | get_light_id (Object *ob) |
std::string | get_joint_sid (Bone *bone) |
std::string | get_camera_id (Object *ob) |
std::string | get_morph_id (Object *ob) |
std::string | get_effect_id (Material *mat) |
std::string | get_material_id (Material *mat) |
void clear_global_id_map | ( | ) |
Definition at line 197 of file collada_internal.cpp.
References global_id_map.
Referenced by DocumentExporter::exportCurrentScene().
std::string encode_xml | ( | std::string | xml | ) |
Definition at line 260 of file collada_internal.cpp.
References Freestyle::c.
Referenced by AnimationExporter::export_bone_animation(), AnimationExporter::export_curve_animation(), AnimationExporter::export_matrix_animation(), SceneExporter::exportScene(), AnimationExporter::open_animation_container(), MaterialsExporter::operator()(), and GeometryExporter::operator()().
std::string get_camera_id | ( | Object * | ob | ) |
Definition at line 307 of file collada_internal.cpp.
References id_name(), and translate_id().
Referenced by CamerasExporter::operator()().
std::string get_effect_id | ( | Material * | mat | ) |
Definition at line 312 of file collada_internal.cpp.
References id_name(), and translate_id().
Referenced by EffectsExporter::operator()(), and MaterialsExporter::operator()().
std::string get_geometry_id | ( | Object * | ob | ) |
Definition at line 281 of file collada_internal.cpp.
References Object::data, id_name(), and translate_id().
Referenced by GeometryExporter::export_key_mesh(), and GeometryExporter::operator()().
Definition at line 286 of file collada_internal.cpp.
References Object::data, id_name(), and translate_id().
std::string get_joint_sid | ( | Bone * | bone | ) |
Definition at line 298 of file collada_internal.cpp.
References Bone::name, and translate_id().
std::string get_light_id | ( | Object * | ob | ) |
Definition at line 293 of file collada_internal.cpp.
References id_name(), and translate_id().
Referenced by LightsExporter::operator()().
std::string get_material_id | ( | Material * | mat | ) |
Definition at line 317 of file collada_internal.cpp.
References id_name(), and translate_id().
Referenced by InstanceWriter::add_material_bindings(), GeometryExporter::create_mesh_primitive_list(), and MaterialsExporter::operator()().
std::string get_morph_id | ( | Object * | ob | ) |
Definition at line 322 of file collada_internal.cpp.
References id_name(), and translate_id().
std::string id_name | ( | void * | id | ) |
Definition at line 255 of file collada_internal.cpp.
Referenced by BKE_blendfile_link_append_context_item_idtypes_from_library_add(), BKE_mask_clipboard_paste_to_layer(), GeometryExporter::create_mesh_primitive_list(), EffectsExporter::createTexture(), AnimationExporter::export_bone_animation(), AnimationExporter::export_curve_animation(), AnimationExporter::export_matrix_animation(), DocumentExporter::exportCurrentScene(), ImagesExporter::exportImages(), SceneExporter::exportScene(), BCAnimationCurve::get_animation_name(), get_camera_id(), get_effect_id(), get_geometry_id(), get_light_id(), get_material_id(), get_morph_id(), blender::deg::RNAPathKey::identifier(), lib_weak_key_create(), main_namemap_validate_and_fix(), AnimationExporter::open_animation_container(), EffectsExporter::operator()(), MaterialsExporter::operator()(), GeometryExporter::operator()(), LightsExporter::operator()(), ForEachMaterialFunctor< Functor >::operator()(), CamerasExporter::operator()(), prepare(), unpack_menu(), WM_file_append_datablock(), wm_file_link_append_datablock_ex(), and WM_file_link_datablock().
std::string translate_id | ( | const char * | idString | ) |
Look at documentation of translate_map
Definition at line 202 of file collada_internal.cpp.
Referenced by InstanceWriter::add_material_bindings(), bc_get_action_id(), GeometryExporter::create_mesh_primitive_list(), EffectsExporter::createTexture(), AnimationExporter::export_bone_animation(), AnimationExporter::export_curve_animation(), GeometryExporter::export_key_mesh(), AnimationExporter::export_matrix_animation(), DocumentExporter::exportCurrentScene(), ImagesExporter::exportImages(), SceneExporter::exportScene(), get_camera_id(), get_effect_id(), get_geometry_id(), get_joint_sid(), get_light_id(), get_material_id(), get_morph_id(), AnimationExporter::open_animation_container(), AnimationExporter::openAnimationWithClip(), EffectsExporter::operator()(), and ForEachMaterialFunctor< Functor >::operator()().
std::string translate_id | ( | const std::string & | id | ) |
Look at documentation of translate_map
Definition at line 208 of file collada_internal.cpp.
References PixelFormat::convert(), global_id_map, id, usdtokens::out(), translate_name_map, and translate_start_name_map.