Rewrite the PrepareImageData methods to check extents, not dims.
Rewrite the PrepareImageData methods to check extents, not dims.

The new rendering code using the extent coordinates to control where
drawing occurs. Simply checking the dimensions of the image is not
sufficient.

Change-Id: Ib8185affafdc345b760f6c2164584f8379982a13

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