ERR: Attached is a patch to VTK 3.1.2 to fix vtkGaussianSplatter capping in i-j planes.  If i != j, it doesn't work correctly and can corrupt memory. -- Randall Hopper aa8vb@ipass.net --- ORIG/vtkGaussianSplatter.cxx	Fri Feb  4 12:05:19 2000 +++ vtkGaussianSplatter.cxx	Sat May  6 22:52:40 2000 @@ -356,7 +356,7 @@      {      for (i=0; i<this->SampleDimensions[0]; i++)        { -      s->SetScalar(i+j*this->SampleDimensions[1], this->CapValue); +      s->SetScalar(i+j*this->SampleDimensions[0], this->CapValue);        }      }    k = this->SampleDimensions[2] - 1; @@ -365,7 +365,7 @@      {      for (i=0; i<this->SampleDimensions[0]; i++)        { -      s->SetScalar(idx+i+j*this->SampleDimensions[1], this->CapValue); +      s->SetScalar(idx+i+j*this->SampleDimensions[0], this->CapValue);        }      }  // j-k planes
ERR: Attached is a patch to VTK 3.1.2 to fix vtkGaussianSplatter capping in
i-j planes.  If i != j, it doesn't work correctly and can corrupt memory.
--
Randall Hopper
aa8vb@ipass.net
--- ORIG/vtkGaussianSplatter.cxx	Fri Feb  4 12:05:19 2000
+++ vtkGaussianSplatter.cxx	Sat May  6 22:52:40 2000
@@ -356,7 +356,7 @@
     {
     for (i=0; i<this->SampleDimensions[0]; i++)
       {
-      s->SetScalar(i+j*this->SampleDimensions[1], this->CapValue);
+      s->SetScalar(i+j*this->SampleDimensions[0], this->CapValue);
       }
     }
   k = this->SampleDimensions[2] - 1;
@@ -365,7 +365,7 @@
     {
     for (i=0; i<this->SampleDimensions[0]; i++)
       {
-      s->SetScalar(idx+i+j*this->SampleDimensions[1], this->CapValue);
+      s->SetScalar(idx+i+j*this->SampleDimensions[0], this->CapValue);
       }
     }
 // j-k planes

sankhesh/VTK,daviddoria/PointGraphsPhase1,jmerkow/VTK,mspark93/VTK,ashray/VTK-EVM,ashray/VTK-EVM,daviddoria/PointGraphsPhase1,keithroe/vtkoptix,sumedhasingla/VTK,demarle/VTK,jmerkow/VTK,keithroe/vtkoptix,aashish24/VTK-old,sumedhasingla/VTK,hendradarwin/VTK,aashish24/VTK-old,ashray/VTK-EVM,spthaolt/VTK,gram526/VTK,naucoin/VTKSlicerWidgets,johnkit/vtk-dev,sankhesh/VTK,mspark93/VTK,candy7393/VTK,arnaudgelas/VTK,mspark93/VTK,jmerkow/VTK,jmerkow/VTK,jeffbaumes/jeffbaumes-vtk,Wuteyan/VTK,sgh/vtk,sumedhasingla/VTK,berendkleinhaneveld/VTK,msmolens/VTK,Wuteyan/VTK,keithroe/vtkoptix,gram526/VTK,ashray/VTK-EVM,Wuteyan/VTK,demarle/VTK,daviddoria/PointGraphsPhase1,hendradarwin/VTK,collects/VTK,keithroe/vtkoptix,jmerkow/VTK,sumedhasingla/VTK,ashray/VTK-EVM,gram526/VTK,mspark93/VTK,ashray/VTK-EVM,berendkleinhaneveld/VTK,SimVascular/VTK,biddisco/VTK,aashish24/VTK-old,berendkleinhaneveld/VTK,jeffbaumes/jeffbaumes-vtk,gram526/VTK,Wuteyan/VTK,cjh1/VTK,demarle/VTK,hendradarwin/VTK,mspark93/VTK,spthaolt/VTK,aashish24/VTK-old,msmolens/VTK,spthaolt/VTK,cjh1/VTK,msmolens/VTK,berendkleinhaneveld/VTK,johnkit/vtk-dev,keithroe/vtkoptix,demarle/VTK,jeffbaumes/jeffbaumes-vtk,sankhesh/VTK,biddisco/VTK,cjh1/VTK,SimVascular/VTK,gram526/VTK,collects/VTK,jeffbaumes/jeffbaumes-vtk,johnkit/vtk-dev,msmolens/VTK,sgh/vtk,arnaudgelas/VTK,sankhesh/VTK,aashish24/VTK-old,SimVascular/VTK,biddisco/VTK,biddisco/VTK,sgh/vtk,SimVascular/VTK,candy7393/VTK,sumedhasingla/VTK,SimVascular/VTK,johnkit/vtk-dev,sankhesh/VTK,ashray/VTK-EVM,gram526/VTK,arnaudgelas/VTK,spthaolt/VTK,demarle/VTK,sumedhasingla/VTK,sumedhasingla/VTK,jmerkow/VTK,sankhesh/VTK,daviddoria/PointGraphsPhase1,hendradarwin/VTK,candy7393/VTK,keithroe/vtkoptix,spthaolt/VTK,gram526/VTK,arnaudgelas/VTK,berendkleinhaneveld/VTK,berendkleinhaneveld/VTK,Wuteyan/VTK,sgh/vtk,jmerkow/VTK,collects/VTK,biddisco/VTK,msmolens/VTK,candy7393/VTK,mspark93/VTK,candy7393/VTK,arnaudgelas/VTK,mspark93/VTK,daviddoria/PointGraphsPhase1,cjh1/VTK,SimVascular/VTK,naucoin/VTKSlicerWidgets,collects/VTK,gram526/VTK,jeffbaumes/jeffbaumes-vtk,hendradarwin/VTK,sankhesh/VTK,candy7393/VTK,biddisco/VTK,naucoin/VTKSlicerWidgets,collects/VTK,candy7393/VTK,berendkleinhaneveld/VTK,aashish24/VTK-old,Wuteyan/VTK,msmolens/VTK,naucoin/VTKSlicerWidgets,demarle/VTK,msmolens/VTK,demarle/VTK,sgh/vtk,sumedhasingla/VTK,jeffbaumes/jeffbaumes-vtk,mspark93/VTK,cjh1/VTK,hendradarwin/VTK,arnaudgelas/VTK,biddisco/VTK,hendradarwin/VTK,spthaolt/VTK,johnkit/vtk-dev,Wuteyan/VTK,johnkit/vtk-dev,johnkit/vtk-dev,keithroe/vtkoptix,keithroe/vtkoptix,daviddoria/PointGraphsPhase1,jmerkow/VTK,msmolens/VTK,sgh/vtk,naucoin/VTKSlicerWidgets,sankhesh/VTK,collects/VTK,spthaolt/VTK,SimVascular/VTK,SimVascular/VTK,cjh1/VTK,candy7393/VTK,demarle/VTK,naucoin/VTKSlicerWidgets,ashray/VTK-EVM