2016-05-17 03:04:11 +12:00
|
|
|
#pragma once
|
|
|
|
|
2016-03-19 06:57:51 +13:00
|
|
|
#ifndef igs_maxmin_slrender_h
|
|
|
|
#define igs_maxmin_slrender_h
|
|
|
|
|
|
|
|
#include <vector>
|
|
|
|
|
2016-06-15 18:43:10 +12:00
|
|
|
namespace igs {
|
|
|
|
namespace maxmin {
|
|
|
|
namespace slrender {
|
|
|
|
void resize(const int odd_diameter, const int width, const bool alpha_ref_sw,
|
|
|
|
std::vector<std::vector<double>> &tracks,
|
|
|
|
std::vector<double> &alpha_ref, std::vector<double> &result);
|
|
|
|
void clear(std::vector<std::vector<double>> &tracks,
|
|
|
|
std::vector<double> &alpha_ref, std::vector<double> &result);
|
|
|
|
void shift(std::vector<std::vector<double>> &tracks);
|
|
|
|
void render(const double radius, const double smooth_outer_range,
|
|
|
|
const int polygon_number, const double roll_degree
|
2016-03-19 06:57:51 +13:00
|
|
|
|
2016-06-15 18:43:10 +12:00
|
|
|
,
|
|
|
|
const bool min_sw
|
2016-03-19 06:57:51 +13:00
|
|
|
|
2016-06-15 18:43:10 +12:00
|
|
|
,
|
|
|
|
std::vector<int> &lens_offsets, std::vector<int> &lens_sizes,
|
|
|
|
std::vector<std::vector<double>> &lens_ratio
|
2016-03-19 06:57:51 +13:00
|
|
|
|
2016-06-15 18:43:10 +12:00
|
|
|
,
|
|
|
|
const std::vector<std::vector<double>> &tracks,
|
|
|
|
const std::vector<double> &alpha_ref, std::vector<double> &result);
|
2016-03-19 06:57:51 +13:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif /* !igs_maxmin_slrender_h */
|