| 117 | } |
| 118 | |
| 119 | void PolyLineToShading(const float* points, int numPoints, const unsigned char* color, int nc_comps, |
| 120 | float radius, HPDF_Shading shading) |
| 121 | { |
| 122 | for (int i = 0; i < numPoints - 1; ++i) |
| 123 | { |
| 124 | const int n = i + 1; |
| 125 | LineSegmentToShading( |
| 126 | points + 2 * i, color + nc_comps * i, points + 2 * n, color + nc_comps * n, radius, shading); |
| 127 | } |
| 128 | } |
| 129 | |
| 130 | std::pair<double, double> GetScaleFactor(vtkMatrix3x3* mat) |
| 131 | { |
no test coverage detected