Blender  V3.3
Public Member Functions | List of all members
ArmatureImporter Class Reference

#include <ArmatureImporter.h>

Inheritance diagram for ArmatureImporter:
TransformReader

Public Member Functions

 ArmatureImporter (UnitConverter *conv, MeshImporterBase *mesh, Main *bmain, Scene *sce, ViewLayer *view_layer, const ImportSettings *import_settings)
 
 ~ArmatureImporter ()
 
void add_root_joint (COLLADAFW::Node *node, Object *parent)
 
void make_armatures (bContext *C, std::vector< Object * > &objects_to_scale)
 
void make_shape_keys (bContext *C)
 
bool write_skin_controller_data (const COLLADAFW::SkinControllerData *data)
 
bool write_controller (const COLLADAFW::Controller *controller)
 
COLLADAFW::UniqueId * get_geometry_uid (const COLLADAFW::UniqueId &controller_uid)
 
Objectget_armature_for_joint (COLLADAFW::Node *node)
 
void get_rna_path_for_joint (COLLADAFW::Node *node, char *joint_path, size_t count)
 
bool get_joint_bind_mat (float m[4][4], COLLADAFW::Node *joint)
 
void set_tags_map (TagsMap &tags_map)
 

Detailed Description

Definition at line 39 of file ArmatureImporter.h.

Constructor & Destructor Documentation

◆ ArmatureImporter()

ArmatureImporter::ArmatureImporter ( UnitConverter conv,
MeshImporterBase mesh,
Main bmain,
Scene sce,
ViewLayer view_layer,
const ImportSettings import_settings 
)

Definition at line 33 of file ArmatureImporter.cpp.

◆ ~ArmatureImporter()

ArmatureImporter::~ArmatureImporter ( )

Definition at line 50 of file ArmatureImporter.cpp.

Member Function Documentation

◆ add_root_joint()

void ArmatureImporter::add_root_joint ( COLLADAFW::Node *  node,
Object parent 
)

root - if this joint is the top joint in hierarchy, if a joint is a child of a node (not joint), root should be true since this is where we build armature bones from

Definition at line 740 of file ArmatureImporter.cpp.

References node.

Referenced by DocumentImporter::write_node().

◆ get_armature_for_joint()

Object * ArmatureImporter::get_armature_for_joint ( COLLADAFW::Node *  node)

◆ get_geometry_uid()

COLLADAFW::UniqueId * ArmatureImporter::get_geometry_uid ( const COLLADAFW::UniqueId &  controller_uid)

Definition at line 976 of file ArmatureImporter.cpp.

Referenced by MeshImporter::create_mesh_object(), and make_armatures().

◆ get_joint_bind_mat()

bool ArmatureImporter::get_joint_bind_mat ( float  m[4][4],
COLLADAFW::Node *  joint 
)

◆ get_rna_path_for_joint()

void ArmatureImporter::get_rna_path_for_joint ( COLLADAFW::Node *  node,
char *  joint_path,
size_t  count 
)

◆ make_armatures()

void ArmatureImporter::make_armatures ( bContext C,
std::vector< Object * > &  objects_to_scale 
)

◆ make_shape_keys()

void ArmatureImporter::make_shape_keys ( bContext C)

◆ set_tags_map()

void ArmatureImporter::set_tags_map ( TagsMap &  tags_map)

Definition at line 1005 of file ArmatureImporter.cpp.

Referenced by DocumentImporter::finish().

◆ write_controller()

bool ArmatureImporter::write_controller ( const COLLADAFW::Controller *  controller)

Definition at line 891 of file ArmatureImporter.cpp.

References controller.

Referenced by DocumentImporter::writeController().

◆ write_skin_controller_data()

bool ArmatureImporter::write_skin_controller_data ( const COLLADAFW::SkinControllerData *  data)

The documentation for this class was generated from the following files: