| 454 | } |
| 455 | |
| 456 | int |
| 457 | Histogram::getViewerTextureInputDisplayed() const |
| 458 | { |
| 459 | int textureIndex = 0; |
| 460 | |
| 461 | if (_imp->viewerCurrentInputGroup) { |
| 462 | QAction* selectedInputAction = _imp->viewerCurrentInputGroup->checkedAction(); |
| 463 | if (selectedInputAction) { |
| 464 | textureIndex = selectedInputAction->data().toInt(); |
| 465 | } |
| 466 | } |
| 467 | |
| 468 | return textureIndex; |
| 469 | } |
| 470 | |
| 471 | ImagePtr HistogramPrivate::getHistogramImage(RectI* imagePortion) const |
| 472 | { |
no test coverage detected