Blender  V2.59
Classes | Functions
collada_internal.h File Reference
#include <string>
#include <vector>
#include <map>
#include "COLLADAFWFileInfo.h"
#include "Math/COLLADABUMathMatrix4.h"
#include "DNA_armature_types.h"
#include "DNA_material_types.h"
#include "DNA_object_types.h"
#include "DNA_scene_types.h"
#include "BLI_math.h"

Go to the source code of this file.

Classes

class  UnitConverter
class  TransformBase

Functions

void clear_global_id_map ()
std::string translate_id (const std::string &id)
std::string id_name (void *id)
std::string get_geometry_id (Object *ob)
std::string get_light_id (Object *ob)
std::string get_joint_id (Bone *bone, Object *ob_arm)
std::string get_camera_id (Object *ob)
std::string get_material_id (Material *mat)
bool has_object_type (Scene *sce, short obtype)

Detailed Description

Definition in file collada_internal.h.


Function Documentation

void clear_global_id_map ( )

Definition at line 195 of file collada_internal.cpp.

References global_id_map.

Referenced by DocumentExporter::exportCurrentScene().

std::string get_camera_id ( Object ob)

Definition at line 271 of file collada_internal.cpp.

References id_name(), and translate_id().

Referenced by CamerasExporter::operator()(), and SceneExporter::writeNodes().

std::string get_geometry_id ( Object ob)
std::string get_joint_id ( Bone bone,
Object ob_arm 
)

Definition at line 266 of file collada_internal.cpp.

References Bone::name, and translate_id().

Referenced by ArmatureExporter::add_instance_controller().

std::string get_light_id ( Object ob)

Definition at line 261 of file collada_internal.cpp.

References id_name(), and translate_id().

Referenced by LightsExporter::operator()(), and SceneExporter::writeNodes().

std::string get_material_id ( Material mat)
bool has_object_type ( Scene sce,
short  obtype 
)
std::string id_name ( void *  id)
std::string translate_id ( const std::string &  id)