if(!bbGetInputPointsX1().empty() && !bbGetInputPointsX2().empty())
{
//Checks that all the vector points are defined
- if(bbGetInputPointsX1()[1] != NULL && bbGetInputPointsX2()[1] != NULL)
+ if(bbGetInputPointsX1()[1] != 0 && bbGetInputPointsX2()[1] != 0)
{
//_vector->SetData(bbGetInputPointsX1(), bbGetInputPointsX2(), bbGetInputPointsY1(), bbGetInputPointsY2(), bbGetInputPointsZ1(), bbGetInputPointsZ2());
//_vector->Run();
}
//Create the new center point
- double * centerPoint;
+ double centerPoint[3];
centerPoint[0] = O2[0];
centerPoint[1] = O2[1];
centerPoint[2] = O2[2];
delete planes;
}
}
-// EO namespace bbPackRecalage
\ No newline at end of file
+// EO namespace bbPackRecalage
sizeImage=0;
uZeroLevel=uZLevel;
lZeroLevel=lZLevel;
- if(uColor.size() != NULL)
+ if(uColor.size() != 0)
{
upperColor[0] = uColor[0];
upperColor[1] = uColor[1];
upperColor[1] = 255;
upperColor[2] = 255;
}
- if(mColor.size() != NULL)
+ if(mColor.size() != 0)
{
mediumColor[0] = mColor[0];
mediumColor[1] = mColor[1];
mediumColor[1] = 125;
mediumColor[2] = 125;
}
- if(lColor.size() != NULL)
+ if(lColor.size() != 0)
{
lowerColor[0] = lColor[0];
lowerColor[1] = lColor[1];
int Substraction::getImageSize()
{
return sizeImage;
-}
\ No newline at end of file
+}