]> Creatis software - bbtk.git/blobdiff - packages/vtk/src/bbvtkVecIsoSurfaceExtractor.cxx
Missing include
[bbtk.git] / packages / vtk / src / bbvtkVecIsoSurfaceExtractor.cxx
index 5c3b7c6964d14793bf9023a422f9ca851a2dca7d..4ba55a191ca3def1c45dca89a2d6fc1924eaa315 100644 (file)
@@ -2,6 +2,7 @@
 #include "bbvtkPackage.h"
 
 #include "vtkProperty.h"
+#include "vtkLinearTransform.h"
 
 namespace bbvtk
 {
@@ -61,7 +62,7 @@ void VecIsoSurfaceExtractor::Process()
                marchingcubes->SetValue(0,  bbGetInputIsovalue() );
                marchingcubes->Update();
             
-               if ( (i*3+1)<bbGetInputColour().size() ){
+               if ( (i*3+1)<(int)(bbGetInputColour().size()) ){
                        r = bbGetInputColour()[0+i*3];
                        g = bbGetInputColour()[1+i*3]; 
                        b = bbGetInputColour()[2+i*3];