|
Point Cloud Library (PCL) 1.12.1
|
#include <pcl/io/obj_io.h>
Public Member Functions | |
| MTLReader () | |
| empty constructor | |
| virtual | ~MTLReader () |
| empty destructor | |
| int | read (const std::string &filename) |
| Read a MTL file given its full path. | |
| int | read (const std::string &obj_file_name, const std::string &mtl_file_name) |
| Read a MTL file given an OBJ file full path and the MTL file name. | |
| std::vector< pcl::TexMaterial >::const_iterator | getMaterial (const std::string &material_name) const |
Public Attributes | |
| std::vector< pcl::TexMaterial > | materials_ |
| materials array | |
| pcl::MTLReader::MTLReader | ( | ) |
empty constructor
|
inlinevirtual |
| std::vector< pcl::TexMaterial >::const_iterator pcl::MTLReader::getMaterial | ( | const std::string & | material_name | ) | const |
| int pcl::MTLReader::read | ( | const std::string & | filename | ) |
Read a MTL file given its full path.
| [in] | filename | full path to MTL file |
| int pcl::MTLReader::read | ( | const std::string & | obj_file_name, |
| const std::string & | mtl_file_name ) |
Read a MTL file given an OBJ file full path and the MTL file name.
| [in] | obj_file_name | full path to OBJ file |
| [in] | mtl_file_name | MTL file name |
| std::vector<pcl::TexMaterial> pcl::MTLReader::materials_ |