| 104 | } |
| 105 | |
| 106 | void vtkCompositeDataDisplayAttributesLegacy::GetBlockColor( |
| 107 | unsigned int flat_index, double color[3]) const |
| 108 | { |
| 109 | std::map<unsigned int, vtkColor3d>::const_iterator iter = this->BlockColors.find(flat_index); |
| 110 | if (iter != this->BlockColors.end()) |
| 111 | { |
| 112 | std::copy(&iter->second[0], &iter->second[3], color); |
| 113 | } |
| 114 | } |
| 115 | |
| 116 | vtkColor3d vtkCompositeDataDisplayAttributesLegacy::GetBlockColor(unsigned int flat_index) const |
| 117 | { |
nothing calls this directly
no test coverage detected