X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=PackRecalage%2Fsrc%2FbbPackRecalageTransform3D3PointsBox.cxx;h=b4eb9dff0d9df561c9b8bf1da9f4165f798ff063;hb=68470a8245541c86222d3ef79648b0d038fe658c;hp=9156f13a1642401f32d35501619da015c7a587ce;hpb=9b19eddeb433012634bb6ecc208d2c3ccea445e8;p=creaRigidRegistration.git diff --git a/PackRecalage/src/bbPackRecalageTransform3D3PointsBox.cxx b/PackRecalage/src/bbPackRecalageTransform3D3PointsBox.cxx index 9156f13..b4eb9df 100644 --- a/PackRecalage/src/bbPackRecalageTransform3D3PointsBox.cxx +++ b/PackRecalage/src/bbPackRecalageTransform3D3PointsBox.cxx @@ -16,7 +16,7 @@ void Transform3D3PointsBox::Process() double A2[3]; double B2[3]; double O2[3]; - + //In case there is an order in the points if(!bbGetInputLabels1().empty() && !bbGetInputLabels2().empty() && bbGetInputLabels1()[0].compare("1") == 0 && bbGetInputLabels1()[1].compare("2") == 0 && bbGetInputLabels1()[2].compare("3") == 0) { @@ -92,7 +92,7 @@ void Transform3D3PointsBox::Process() } //Create the new center point - double * centerPoint; + double centerPoint[3]; // JPR centerPoint[0] = O2[0]; centerPoint[1] = O2[1]; centerPoint[2] = O2[2]; @@ -251,4 +251,5 @@ void Transform3D3PointsBox::bbUserFinalizeProcessing() delete planes; } } -// EO namespace bbPackRecalage \ No newline at end of file +// EO namespace bbPackRecalage +