MCPcopy Create free account
hub / github.com/Kitware/VTK / SetLookupTable

Method SetLookupTable

Rendering/Core/vtkMapper.cxx:577–592  ·  view source on GitHub ↗

Specify a lookup table for the mapper to use.

Source from the content-addressed store, hash-verified

575
576// Specify a lookup table for the mapper to use.
577void vtkMapper::SetLookupTable(vtkScalarsToColors* lut)
578{
579 if (this->LookupTable != lut)
580 {
581 if (this->LookupTable)
582 {
583 this->LookupTable->UnRegister(this);
584 }
585 this->LookupTable = lut;
586 if (lut)
587 {
588 lut->Register(this);
589 }
590 this->Modified();
591 }
592}
593
594vtkScalarsToColors* vtkMapper::GetLookupTable()
595{

Callers 15

ShallowCopyMethod · 0.95
MapScalarsMethod · 0.95
SetStateInMapperMethod · 0.45
PrepareColormapMethod · 0.45
TestFluidMapperFunction · 0.45
TestPointGaussianMapperFunction · 0.45
TestGaussianBlurPassFunction · 0.45

Calls 3

UnRegisterMethod · 0.45
RegisterMethod · 0.45
ModifiedMethod · 0.45

Tested by 15

TestFluidMapperFunction · 0.36
TestPointGaussianMapperFunction · 0.36
TestGaussianBlurPassFunction · 0.36
TestBlurAndSobelPassesFunction · 0.36
TestFloorFunction · 0.36