------------------------------------------------------------------------------ Generate lookup table from hue, saturation, value, alpha min/max values. Table is built from linear ramp of each value.
| 295 | // Generate lookup table from hue, saturation, value, alpha min/max values. |
| 296 | // Table is built from linear ramp of each value. |
| 297 | void vtkLookupTable::Build() |
| 298 | { |
| 299 | vtkMTimeType mtime = this->GetMTime(); |
| 300 | |
| 301 | if ((mtime > this->BuildTime && this->InsertTime <= this->BuildTime) || |
| 302 | this->Table->GetNumberOfTuples() < 1) |
| 303 | { |
| 304 | this->ForceBuild(); |
| 305 | } |
| 306 | else if (mtime > this->SpecialColorsBuildTime) |
| 307 | { |
| 308 | this->BuildSpecialColors(); |
| 309 | } |
| 310 | } |
| 311 | |
| 312 | //------------------------------------------------------------------------------ |
| 313 | void vtkLookupTable::BuildSpecialColors() |