X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=packages%2Fvtk%2Fsrc%2FbbvtkSurfaceTexture.cxx;h=f9f0139004ab1225690dc7d02e298cf080b962a6;hb=081cd2c85f2435f4e9fba6f14e6dfa8b6456295b;hp=12d32b03aeed898588478a3b1bc4693d72755962;hpb=cca8b7fb9250a9608369e834f4de4ee773934266;p=bbtk.git diff --git a/packages/vtk/src/bbvtkSurfaceTexture.cxx b/packages/vtk/src/bbvtkSurfaceTexture.cxx index 12d32b0..f9f0139 100644 --- a/packages/vtk/src/bbvtkSurfaceTexture.cxx +++ b/packages/vtk/src/bbvtkSurfaceTexture.cxx @@ -77,11 +77,6 @@ printf("EED SurfaceTexture::Process Start\n"); } - - - - - bbGetInputMesh()->GetPointData()->SetScalars(colors); if (bbGetInputColorType()==1) @@ -101,7 +96,7 @@ printf("EED SurfaceTexture::Process Start\n"); bbGetInputTransform()->Update(); } - unsigned short gl; + double gl; double p1[3]; double p2[3]; double dcolor[3]; @@ -145,9 +140,9 @@ void SurfaceTexture::bbUserSetDefaultValues() bbSetInputColorWindow(500); bbSetInputTransform(NULL); - firsttime = true; - colors = NULL; - colorLookupTable = NULL; + firsttime = true; + colors = NULL; + colorLookupTable = NULL; colorLookupTableWL = NULL; } //=====