Skip to content

Commit

Permalink
COMP: fixes for Slicer 5.8 (cxx 17)
Browse files Browse the repository at this point in the history
* added default null pointer values for optional arguments

* fixed argument order for interactive tractography
  • Loading branch information
pieper committed Feb 13, 2025
1 parent 2bbff42 commit 2630e40
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion InteractiveUKF/Logic/vtkSlicerInteractiveUKFLogic.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ void vtkSlicerInteractiveUKFLogic::SetDataNodes(
return;
}

tract->SetData(nrrd, mask, seed, false /*normalizedDWIData*/);
tract->SetData(nrrd, mask, false /*normalizedDWIData*/, seed);
tract->UpdateFilterModelType();

vtkPolyData* pd = vtkPolyData::New();
Expand Down
2 changes: 1 addition & 1 deletion ukf/tractography.h
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ friend class vtkSlicerInteractiveUKFLogic;
* Directly set the data volume pointers
*/

bool SetData(void* data, void* mask, bool normalizedDWIData, void* seed, void* stop, void* wm, void* gm, void* csf);
bool SetData(void* data, void* mask, bool normalizedDWIData, void* seed, void* stop=nullptr, void* wm=nullptr, void* gm=nullptr, void* csf=nullptr);

/**
* Directly set the seed locations
Expand Down

0 comments on commit 2630e40

Please sign in to comment.