mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-02 09:30:25 +08:00
Fixed Windows+PCL1.8 build (std::vector/Eigen error)
This commit is contained in:
@@ -177,7 +177,11 @@ void RTABMAP_EXP concatenateTextureMaterials(
|
|||||||
pcl::TextureMesh::Ptr RTABMAP_EXP assembleTextureMesh(
|
pcl::TextureMesh::Ptr RTABMAP_EXP assembleTextureMesh(
|
||||||
const cv::Mat & cloudMat,
|
const cv::Mat & cloudMat,
|
||||||
const std::vector<std::vector<std::vector<unsigned int> > > & polygons,
|
const std::vector<std::vector<std::vector<unsigned int> > > & polygons,
|
||||||
|
#if PCL_VERSION_COMPARE(>=, 1, 8, 0)
|
||||||
|
const std::vector<std::vector<Eigen::Vector2f, Eigen::aligned_allocator<Eigen::Vector2f> > > & texCoords,
|
||||||
|
#else
|
||||||
const std::vector<std::vector<Eigen::Vector2f> > & texCoords,
|
const std::vector<std::vector<Eigen::Vector2f> > & texCoords,
|
||||||
|
#endif
|
||||||
cv::Mat & textures,
|
cv::Mat & textures,
|
||||||
bool mergeTextures = false);
|
bool mergeTextures = false);
|
||||||
|
|
||||||
|
|||||||
@@ -1194,7 +1194,11 @@ void concatenateTextureMaterials(pcl::TextureMesh & mesh, const cv::Size & image
|
|||||||
pcl::TextureMesh::Ptr assembleTextureMesh(
|
pcl::TextureMesh::Ptr assembleTextureMesh(
|
||||||
const cv::Mat & cloudMat,
|
const cv::Mat & cloudMat,
|
||||||
const std::vector<std::vector<std::vector<unsigned int> > > & polygons,
|
const std::vector<std::vector<std::vector<unsigned int> > > & polygons,
|
||||||
|
#if PCL_VERSION_COMPARE(>=, 1, 8, 0)
|
||||||
|
const std::vector<std::vector<Eigen::Vector2f, Eigen::aligned_allocator<Eigen::Vector2f> > > & texCoords,
|
||||||
|
#else
|
||||||
const std::vector<std::vector<Eigen::Vector2f> > & texCoords,
|
const std::vector<std::vector<Eigen::Vector2f> > & texCoords,
|
||||||
|
#endif
|
||||||
cv::Mat & textures,
|
cv::Mat & textures,
|
||||||
bool mergeTextures)
|
bool mergeTextures)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user