- _ptsA->SetPoint(0, x1 , y , -z2 );
- _ptsA->SetPoint(1, x2 , y , -z2 );
- _ptsB->SetPoint(0, x , y1, -z2 );
- _ptsB->SetPoint(1, x , y2, -z2 );
+ _imageViewer2XYZ->SetZSlice( (int)(GetVtkmprbasedata()->GetZ()) );
+ // _ptsA->SetPoint(0, x1 , y , -z2 );
+ // _ptsA->SetPoint(1, x2 , y , -z2 );
+ // _ptsB->SetPoint(0, x , y1, -z2 );
+ // _ptsB->SetPoint(1, x , y2, -z2 );
+
+ _ptsA->SetPoint(0, x1 , y , z2 );
+ _ptsA->SetPoint(1, x2 , y , z2 );
+ _ptsB->SetPoint(0, x , y1, z2 );
+ _ptsB->SetPoint(1, x , y2, z2 );