Skip to content

Commit 8ecf37c

Browse files
Testing
1 parent 3783559 commit 8ecf37c

File tree

2 files changed

+13
-2
lines changed

2 files changed

+13
-2
lines changed

.github/workflows/python-wheels-emulated.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,12 @@ on:
2121
description: 'VTK minor version'
2222
required: false
2323
type: string
24-
default: '3'
24+
default: '5'
2525
vtk_patch:
2626
description: 'VTK patch version'
2727
required: false
2828
type: string
29-
default: '1'
29+
default: '2'
3030

3131
permissions: write-all
3232

source/Body.cpp

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -769,37 +769,48 @@ Body::saveVTK(const char* filename) const
769769
void
770770
Body::defaultVTK()
771771
{
772+
std::cout << "Body::defaultVTK()" << std::endl;
772773
vtk_body = vtkSmartPointer<vtkPolyData>::New();
774+
std::cout << "1" << std::endl;
773775
auto points = vtkSmartPointer<vtkPoints>::New();
776+
std::cout << "2" << std::endl;
774777
points->InsertNextPoint(0, 0, 0);
775778
points->InsertNextPoint(1, 0, 0);
776779
points->InsertNextPoint(0, 1, 0);
777780
points->InsertNextPoint(0, 0, 1);
781+
std::cout << "3" << std::endl;
778782
auto x_axis = vtkSmartPointer<vtkLine>::New();
779783
x_axis->GetPointIds()->SetId(0, 0);
780784
x_axis->GetPointIds()->SetId(1, 1);
785+
std::cout << "4" << std::endl;
781786
auto y_axis = vtkSmartPointer<vtkLine>::New();
782787
y_axis->GetPointIds()->SetId(0, 0);
783788
y_axis->GetPointIds()->SetId(1, 2);
789+
std::cout << "5" << std::endl;
784790
auto z_axis = vtkSmartPointer<vtkLine>::New();
785791
z_axis->GetPointIds()->SetId(0, 0);
786792
z_axis->GetPointIds()->SetId(1, 3);
793+
std::cout << "6" << std::endl;
787794

788795
auto axes = io::vtk_carray("axis", 1, 3);
789796
axes->SetTuple1(0, 'x');
790797
axes->SetTuple1(1, 'y');
791798
axes->SetTuple1(2, 'z');
799+
std::cout << "7" << std::endl;
792800

793801
auto cells = vtkSmartPointer<vtkCellArray>::New();
794802
cells->InsertNextCell(x_axis);
795803
cells->InsertNextCell(y_axis);
796804
cells->InsertNextCell(z_axis);
805+
std::cout << "8" << std::endl;
797806

798807
vtk_body->SetPoints(points);
799808
vtk_body->SetLines(cells);
809+
std::cout << "9" << std::endl;
800810

801811
vtk_body->GetCellData()->AddArray(axes);
802812
vtk_body->GetCellData()->SetActiveScalars("axis");
813+
std::cout << "10" << std::endl;
803814
}
804815
#endif
805816

0 commit comments

Comments
 (0)