Trace TriangleMeshSlicer at loglevel debug (nr. 4)
This commit is contained in:
parent
dfba2cb6b2
commit
edd7cabf68
@ -641,7 +641,7 @@ TriangleMeshSlicer::TriangleMeshSlicer(TriangleMesh* _mesh) :
|
|||||||
void
|
void
|
||||||
TriangleMeshSlicer::slice(const std::vector<float> &z, std::vector<Polygons>* layers) const
|
TriangleMeshSlicer::slice(const std::vector<float> &z, std::vector<Polygons>* layers) const
|
||||||
{
|
{
|
||||||
BOOST_LOG_TRIVIAL(trace) << "TriangleMeshSlicer::slice";
|
BOOST_LOG_TRIVIAL(debug) << "TriangleMeshSlicer::slice";
|
||||||
|
|
||||||
/*
|
/*
|
||||||
This method gets called with a list of unscaled Z coordinates and outputs
|
This method gets called with a list of unscaled Z coordinates and outputs
|
||||||
@ -670,7 +670,7 @@ TriangleMeshSlicer::slice(const std::vector<float> &z, std::vector<Polygons>* la
|
|||||||
type is float.
|
type is float.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
BOOST_LOG_TRIVIAL(trace) << "TriangleMeshSlicer::_slice_do";
|
BOOST_LOG_TRIVIAL(debug) << "TriangleMeshSlicer::_slice_do";
|
||||||
std::vector<IntersectionLines> lines(z.size());
|
std::vector<IntersectionLines> lines(z.size());
|
||||||
{
|
{
|
||||||
boost::mutex lines_mutex;
|
boost::mutex lines_mutex;
|
||||||
@ -686,7 +686,7 @@ TriangleMeshSlicer::slice(const std::vector<float> &z, std::vector<Polygons>* la
|
|||||||
// v_scaled_shared could be freed here
|
// v_scaled_shared could be freed here
|
||||||
|
|
||||||
// build loops
|
// build loops
|
||||||
BOOST_LOG_TRIVIAL(trace) << "TriangleMeshSlicer::_make_loops_do";
|
BOOST_LOG_TRIVIAL(debug) << "TriangleMeshSlicer::_make_loops_do";
|
||||||
layers->resize(z.size());
|
layers->resize(z.size());
|
||||||
tbb::parallel_for(
|
tbb::parallel_for(
|
||||||
tbb::blocked_range<size_t>(0, lines.size()),
|
tbb::blocked_range<size_t>(0, lines.size()),
|
||||||
@ -695,7 +695,7 @@ TriangleMeshSlicer::slice(const std::vector<float> &z, std::vector<Polygons>* la
|
|||||||
this->make_loops(lines[line_idx], &(*layers)[line_idx]);
|
this->make_loops(lines[line_idx], &(*layers)[line_idx]);
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
BOOST_LOG_TRIVIAL(trace) << "TriangleMeshSlicer::slice finished";
|
BOOST_LOG_TRIVIAL(debug) << "TriangleMeshSlicer::slice finished";
|
||||||
}
|
}
|
||||||
|
|
||||||
void TriangleMeshSlicer::_slice_do(size_t facet_idx, std::vector<IntersectionLines>* lines, boost::mutex* lines_mutex,
|
void TriangleMeshSlicer::_slice_do(size_t facet_idx, std::vector<IntersectionLines>* lines, boost::mutex* lines_mutex,
|
||||||
|
Loading…
Reference in New Issue
Block a user