------------------------------------------------------------------------------
| 886 | |
| 887 | //------------------------------------------------------------------------------ |
| 888 | std::set<int> vtkVolumeProperty::GetLabelMapLabels() |
| 889 | { |
| 890 | // Erase labels that were added re-assigned to null pointers |
| 891 | for (auto it = this->LabelMapLabels.begin(); it != this->LabelMapLabels.end();) |
| 892 | { |
| 893 | if (!this->GetLabelColor(*it) && !this->GetLabelScalarOpacity(*it) && |
| 894 | !this->GetLabelGradientOpacity(*it)) |
| 895 | { |
| 896 | it = this->LabelMapLabels.erase(it); |
| 897 | } |
| 898 | else |
| 899 | { |
| 900 | ++it; |
| 901 | } |
| 902 | } |
| 903 | return this->LabelMapLabels; |
| 904 | } |
| 905 | |
| 906 | //------------------------------------------------------------------------------ |
| 907 | // Print the state of the volume property. |
no test coverage detected