uncommented the include of plystuff to avoid duplicate symbols
This commit is contained in:
parent
2a5c9bfb61
commit
4595f32202
|
|
@ -1,11 +1,11 @@
|
||||||
#include <bitset>
|
#include <bitset>
|
||||||
|
|
||||||
|
// #include <wrap/ply/plystuff.h>
|
||||||
|
#include <wrap/io_trimesh/import.h>
|
||||||
|
|
||||||
#include <vcg/complex/algorithms/align_pair.h>
|
#include <vcg/complex/algorithms/align_pair.h>
|
||||||
#include <vcg/space/index/grid_static_obj.h>
|
#include <vcg/space/index/grid_static_obj.h>
|
||||||
|
|
||||||
#include <wrap/ply/plystuff.h>
|
|
||||||
#include <wrap/io_trimesh/import.h>
|
|
||||||
|
|
||||||
#ifndef VCGLIB_OCCUPANCY_GRID_H
|
#ifndef VCGLIB_OCCUPANCY_GRID_H
|
||||||
#define VCGLIB_OCCUPANCY_GRID_H
|
#define VCGLIB_OCCUPANCY_GRID_H
|
||||||
|
|
||||||
|
|
@ -197,10 +197,10 @@ namespace vcg {
|
||||||
bb.SetNull();
|
bb.SetNull();
|
||||||
totalbb.SetNull();
|
totalbb.SetNull();
|
||||||
|
|
||||||
std::fprintf(stdout, "OG::AddMesh:Scanning BBoxex\n");
|
std::fprintf(stdout, "OG::AddMesh:Scanning BBoxes\n");
|
||||||
|
|
||||||
for (std::size_t i = 0; i < names.size(); ++i) {
|
for (std::size_t i = 0; i < names.size(); ++i) {
|
||||||
vcg::ply::ScanBBox(names[i].c_str(),bb);
|
// vcg::ply::ScanBBox(names[i].c_str(), bb, true);
|
||||||
totalbb.Add(trv[i], bb);
|
totalbb.Add(trv[i], bb);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -294,7 +294,7 @@ namespace vcg {
|
||||||
int m_s = vi->first.first;
|
int m_s = vi->first.first;
|
||||||
int m_t = vi->first.second;
|
int m_t = vi->first.second;
|
||||||
int area = vi->second;
|
int area = vi->second;
|
||||||
SVA.push_back( OGArcInfo (m_s,m_t,area,float(area)/float(min(VM[m_s].area,VM[m_t].area)) ));
|
SVA.push_back( OGArcInfo (m_s,m_t,area,float(area)/float(std::min(VM[m_s].area,VM[m_t].area)) ));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue