Changeset 6458 for vtkvis/trunk/PolyData.cpp
- Timestamp:
- Jul 31, 2016, 7:01:54 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
vtkvis/trunk/PolyData.cpp
r5835 r6458 422 422 } 423 423 _lut->SetRange(r); 424 } else { 425 switch (mode) { 426 case COLOR_CONSTANT: 427 case COLOR_BY_SCALAR: 428 _lut->SetRange(_dataRange); 429 break; 430 case COLOR_BY_VECTOR_MAGNITUDE: 431 _lut->SetRange(_vectorMagnitudeRange); 432 break; 433 case COLOR_BY_VECTOR_X: 434 _lut->SetRange(_vectorComponentRange[0]); 435 break; 436 case COLOR_BY_VECTOR_Y: 437 _lut->SetRange(_vectorComponentRange[1]); 438 break; 439 case COLOR_BY_VECTOR_Z: 440 _lut->SetRange(_vectorComponentRange[2]); 441 break; 442 default: 443 break; 444 } 424 445 } 425 446 }
Note: See TracChangeset
for help on using the changeset viewer.