ENH: cleaning up build warning and using polymorphism to clean up the calling code
ENH: changing function name to prevent build warning
BUG: Color table ID was not properly set in vtkIGTLToMRMLImage.cxx.