------------------------------------------------------------------------------
| 183 | |
| 184 | //------------------------------------------------------------------------------ |
| 185 | void vtkResliceImageViewer::SetLookupTable(vtkScalarsToColors* l) |
| 186 | { |
| 187 | if (vtkResliceCursorRepresentation* rep = vtkResliceCursorRepresentation::SafeDownCast( |
| 188 | this->ResliceCursorWidget->GetRepresentation())) |
| 189 | { |
| 190 | rep->SetLookupTable(l); |
| 191 | } |
| 192 | |
| 193 | if (this->WindowLevel) |
| 194 | { |
| 195 | this->WindowLevel->SetLookupTable(l); |
| 196 | this->WindowLevel->SetOutputFormatToRGBA(); |
| 197 | this->WindowLevel->PassAlphaToOutputOn(); |
| 198 | } |
| 199 | } |
| 200 | |
| 201 | //------------------------------------------------------------------------------ |
| 202 | vtkScalarsToColors* vtkResliceImageViewer::GetLookupTable() |
no test coverage detected