Blender V4.3
collada_internal.h File Reference
#include <map>
#include <string>
#include <vector>
#include "COLLADAFWFileInfo.h"
#include "Math/COLLADABUMathMatrix4.h"
#include "BLI_linklist.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 (const 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)
 

Function Documentation

◆ clear_global_id_map()

void clear_global_id_map ( )
extern

Definition at line 200 of file collada_internal.cpp.

References global_id_map.

Referenced by DocumentExporter::exportCurrentScene().

◆ encode_xml()

◆ get_camera_id()

std::string get_camera_id ( Object * ob)
extern

Definition at line 310 of file collada_internal.cpp.

References id_name(), and translate_id().

Referenced by CamerasExporter::operator()().

◆ get_effect_id()

std::string get_effect_id ( Material * mat)
extern

Definition at line 315 of file collada_internal.cpp.

References id_name(), and translate_id().

Referenced by EffectsExporter::operator()(), and MaterialsExporter::operator()().

◆ get_geometry_id() [1/2]

std::string get_geometry_id ( Object * ob)
extern

◆ get_geometry_id() [2/2]

std::string get_geometry_id ( Object * ob,
bool use_instantiation )
extern

Definition at line 289 of file collada_internal.cpp.

References Object::data, id_name(), and translate_id().

◆ get_joint_sid()

std::string get_joint_sid ( Bone * bone)
extern

Definition at line 301 of file collada_internal.cpp.

References Bone::name, and translate_id().

◆ get_light_id()

std::string get_light_id ( Object * ob)
extern

Definition at line 296 of file collada_internal.cpp.

References id_name(), and translate_id().

Referenced by LightsExporter::operator()().

◆ get_material_id()

std::string get_material_id ( Material * mat)
extern

◆ get_morph_id()

std::string get_morph_id ( Object * ob)
extern

Definition at line 325 of file collada_internal.cpp.

References id_name(), and translate_id().

◆ id_name()

◆ translate_id() [1/2]

◆ translate_id() [2/2]

std::string translate_id ( const std::string & id)
extern

Look at documentation of translate_map

Definition at line 211 of file collada_internal.cpp.

References global_id_map, translate_name_map, and translate_start_name_map.