COMP: Eliminate nested macro that caused shadowed name warning.
COMP: Eliminate nested macro that caused shadowed name warning.

A nested vtkTemplateMacro caused shadow warnings about VTK_TT.
By using nested function calls, the warning can be avoided, but
this required some code refactoring.

Change-Id: I17ff7c050d5bb3c6340efb21f753a2222fc42bc9

msmolens/VTK,biddisco/VTK,ashray/VTK-EVM,mspark93/VTK,jmerkow/VTK,ashray/VTK-EVM,biddisco/VTK,jmerkow/VTK,hendradarwin/VTK,spthaolt/VTK,keithroe/vtkoptix,candy7393/VTK,keithroe/vtkoptix,johnkit/vtk-dev,sumedhasingla/VTK,sankhesh/VTK,gram526/VTK,berendkleinhaneveld/VTK,spthaolt/VTK,msmolens/VTK,biddisco/VTK,biddisco/VTK,sumedhasingla/VTK,berendkleinhaneveld/VTK,SimVascular/VTK,hendradarwin/VTK,keithroe/vtkoptix,jmerkow/VTK,msmolens/VTK,ashray/VTK-EVM,berendkleinhaneveld/VTK,berendkleinhaneveld/VTK,biddisco/VTK,berendkleinhaneveld/VTK,cjh1/VTK,keithroe/vtkoptix,candy7393/VTK,sankhesh/VTK,SimVascular/VTK,jmerkow/VTK,cjh1/VTK,hendradarwin/VTK,berendkleinhaneveld/VTK,sankhesh/VTK,spthaolt/VTK,johnkit/vtk-dev,johnkit/vtk-dev,johnkit/vtk-dev,sumedhasingla/VTK,jmerkow/VTK,cjh1/VTK,spthaolt/VTK,SimVascular/VTK,cjh1/VTK,cjh1/VTK,demarle/VTK,cjh1/VTK,sankhesh/VTK,aashish24/VTK-old,SimVascular/VTK,johnkit/vtk-dev,keithroe/vtkoptix,sankhesh/VTK,sumedhasingla/VTK,sumedhasingla/VTK,mspark93/VTK,ashray/VTK-EVM,sankhesh/VTK,ashray/VTK-EVM,msmolens/VTK,johnkit/vtk-dev,jmerkow/VTK,demarle/VTK,gram526/VTK,spthaolt/VTK,biddisco/VTK,collects/VTK,candy7393/VTK,ashray/VTK-EVM,collects/VTK,msmolens/VTK,collects/VTK,mspark93/VTK,mspark93/VTK,hendradarwin/VTK,jmerkow/VTK,demarle/VTK,demarle/VTK,SimVascular/VTK,demarle/VTK,aashish24/VTK-old,mspark93/VTK,mspark93/VTK,hendradarwin/VTK,hendradarwin/VTK,collects/VTK,biddisco/VTK,msmolens/VTK,gram526/VTK,sumedhasingla/VTK,berendkleinhaneveld/VTK,candy7393/VTK,keithroe/vtkoptix,aashish24/VTK-old,demarle/VTK,collects/VTK,sumedhasingla/VTK,jmerkow/VTK,ashray/VTK-EVM,spthaolt/VTK,gram526/VTK,aashish24/VTK-old,gram526/VTK,mspark93/VTK,candy7393/VTK,collects/VTK,SimVascular/VTK,gram526/VTK,keithroe/vtkoptix,mspark93/VTK,candy7393/VTK,gram526/VTK,msmolens/VTK,msmolens/VTK,SimVascular/VTK,candy7393/VTK,hendradarwin/VTK,sumedhasingla/VTK,gram526/VTK,johnkit/vtk-dev,sankhesh/VTK,demarle/VTK,aashish24/VTK-old,candy7393/VTK,spthaolt/VTK,ashray/VTK-EVM,aashish24/VTK-old,demarle/VTK,SimVascular/VTK,sankhesh/VTK,keithroe/vtkoptix