std::vector<int> lstY = wsp->GetModelShowNPoints()->GetLstPointsY();
std::vector<int> lstZ = wsp->GetModelShowNPoints()->GetLstPointsZ();
- double pA[3] = {lstX[0],lstY[0],lstZ[0]};
- double pB[3] = {lstX[1],lstY[1],lstZ[1]};
- double pC[3] = {lstX[2],lstY[2],lstZ[2]};
-
+// double pA[3] = {lstX[0],lstY[0],lstZ[0]};
+ // double pB[3] = {lstX[1],lstY[1],lstZ[1]};
+ // double pC[3] = {lstX[2],lstY[2],lstZ[2]};
+ double pA[3];
+ pA[0] = lstX[0];
+ pA[1] = lstY[0];
+ pA[2] = lstZ[0];
+ double pB[3];
+ pB[0] = lstX[1];
+ pB[1] = lstY[1];
+ pB[2] = lstZ[1];
+ double pC[3];
+ pC[0] = lstX[2];
+ pC[1] = lstY[2];
+ pC[2] = lstZ[2];
+
double v[3];
double u[3];
vtkMath::Subtract(pC,pA,v);