| 670 | } |
| 671 | |
| 672 | vtkSmartPointer<vtkCubicLine> MakeCubicLine() |
| 673 | { |
| 674 | auto aLine = vtkSmartPointer<vtkCubicLine>::New(); |
| 675 | |
| 676 | double* pcoords = aLine->GetParametricCoords(); |
| 677 | for (int i = 0; i < aLine->GetNumberOfPoints(); ++i) |
| 678 | { |
| 679 | aLine->GetPointIds()->SetId(i, i); |
| 680 | aLine->GetPoints()->SetPoint( |
| 681 | i, *(pcoords + 3 * i), *(pcoords + 3 * i + 1), *(pcoords + 3 * i + 2)); |
| 682 | } |
| 683 | |
| 684 | return aLine; |
| 685 | } |
| 686 | |
| 687 | vtkSmartPointer<vtkQuadraticWedge> MakeQuadraticWedge() |
| 688 | { |
no test coverage detected