Displays the features in the given window with the given color.
| 315 | |
| 316 | // Displays the features in the given window with the given color. |
| 317 | void TrainingSample::DisplayFeatures(ScrollView::Color color, |
| 318 | ScrollView* window) const { |
| 319 | #ifndef GRAPHICS_DISABLED |
| 320 | for (int f = 0; f < num_features_; ++f) { |
| 321 | RenderIntFeature(window, &features_[f], color); |
| 322 | } |
| 323 | #endif // GRAPHICS_DISABLED |
| 324 | } |
| 325 | |
| 326 | // Returns a pix of the original sample image. The pix is padded all round |
| 327 | // by padding wherever possible. |
no test coverage detected