------------------------------------------------------------------------------
| 315 | |
| 316 | //------------------------------------------------------------------------------ |
| 317 | const unsigned char* vtkDiscretizableColorTransferFunction::MapValue(double v) |
| 318 | { |
| 319 | this->Build(); |
| 320 | if (this->Discretize || this->IndexedLookup) |
| 321 | { |
| 322 | return this->LookupTable->MapValue(v); |
| 323 | } |
| 324 | |
| 325 | return this->Superclass::MapValue(v); |
| 326 | } |
| 327 | |
| 328 | //------------------------------------------------------------------------------ |
| 329 | void vtkDiscretizableColorTransferFunction::GetColor(double v, double rgb[3]) |