|
Blender V4.5
|
#include <iostream>#include "COLLADAFWMeshPrimitive.h"#include "COLLADAFWMeshVertexData.h"#include "COLLADAFWPolygons.h"#include "BKE_attribute.hh"#include "BKE_customdata.hh"#include "BKE_global.hh"#include "BKE_lib_id.hh"#include "BKE_material.hh"#include "BKE_mesh.hh"#include "BKE_mesh_runtime.hh"#include "BKE_object.hh"#include "DNA_meshdata_types.h"#include "ArmatureImporter.h"#include "MeshImporter.h"#include "collada_utils.h"Go to the source code of this file.
Typedefs | |
| using | float3 |
Functions | |
| template<class T> | |
| static std::string | bc_get_dae_name (T *node) |
| static const char * | bc_primTypeToStr (COLLADAFW::MeshPrimitive::PrimitiveType type) |
| static const char * | bc_geomTypeToStr (COLLADAFW::Geometry::GeometryType type) |
| template<typename T> | |
| static void | colladaAddColor (T values, MLoopCol *mloopcol, int v_index, int stride) |
| static std::string | extract_vcolname (const COLLADAFW::String &collada_id) |
| static bool | bc_has_out_of_bound_indices (Mesh *mesh) |
| static bool | bc_has_same_material_configuration (Object *ob1, Object *ob2) |
| static void | bc_copy_materials_to_data (Object *ob, Mesh *mesh) |
| static void | bc_remove_materials_from_object (Object *ob, Mesh *mesh) |
| using blender::float3 |
Definition at line 619 of file BLI_math_vector_types.hh.
Caution here: This code assumes that all materials are assigned to Object and no material is assigned to Data. That is true right after the objects have been imported.
Definition at line 936 of file MeshImporter.cpp.
References Mesh::mat, Object::mat, Object::matbits, and Object::totcol.
Referenced by MeshImporter::optimize_material_assignements().
|
static |
Definition at line 64 of file MeshImporter.cpp.
Referenced by MeshImporter::write_geometry().
Definition at line 34 of file MeshImporter.cpp.
References T.
Referenced by MeshImporter::write_geometry().
|
static |
Definition at line 893 of file MeshImporter.cpp.
References Mesh::verts_num.
Referenced by MeshImporter::write_geometry().
this function checks if both objects have the same materials assigned to Object (in the same order) returns true if condition matches, otherwise false;
Definition at line 908 of file MeshImporter.cpp.
References Object::mat, Object::matbits, and Object::totcol.
Referenced by MeshImporter::optimize_material_assignements().
|
static |
Definition at line 39 of file MeshImporter.cpp.
Remove all references to materials from the object.
Definition at line 947 of file MeshImporter.cpp.
References Object::mat, Object::matbits, and Object::totcol.
Referenced by MeshImporter::optimize_material_assignements().
|
static |
Definition at line 144 of file MeshImporter.cpp.
References MLoopCol::a, MLoopCol::b, MLoopCol::g, MLoopCol::r, T, and unit_float_to_uchar_clamp().
Referenced by VCOLDataWrapper::get_vcol().
|
static |
Definition at line 398 of file MeshImporter.cpp.