| 905 | } |
| 906 | } |
| 907 | void vtkBoxWidget::MovePlusXFace(double* p1, double* p2) |
| 908 | { |
| 909 | double* pts = static_cast<vtkDoubleArray*>(this->Points->GetData())->GetPointer(0); |
| 910 | |
| 911 | double* h1 = pts + 3 * 9; |
| 912 | |
| 913 | double* x1 = pts + 3 * 1; |
| 914 | double* x2 = pts + 3 * 2; |
| 915 | double* x3 = pts + 3 * 5; |
| 916 | double* x4 = pts + 3 * 6; |
| 917 | |
| 918 | double dir[3] = { 1, 0, 0 }; |
| 919 | this->ComputeNormals(); |
| 920 | this->GetDirection(this->N[1], this->N[3], this->N[5], dir); |
| 921 | this->MoveFace(p1, p2, dir, x1, x2, x3, x4, h1); |
| 922 | } |
| 923 | |
| 924 | void vtkBoxWidget::MoveMinusXFace(double* p1, double* p2) |
| 925 | { |
no test coverage detected