Skip to content

Commit 8b51e34

Browse files
authored
Merge pull request #77 from dzenanz/master
ENH: build with LEGACY turned OFF
2 parents 088f31e + 53e64d7 commit 8b51e34

File tree

6 files changed

+6
-6
lines changed
  • src/Segmentation/LevelSetsv4Visualization
    • VisualizeEvolvingDense2DLevelSetZeroSet
    • VisualizeStaticDense2DLevelSetAsElevationMap
    • VisualizeStaticDense2DLevelSetZeroSet
    • VisualizeStaticMalcolm2DLevelSetLayers
    • VisualizeStaticShi2DLevelSetLayers
    • VisualizeStaticWhitaker2DLevelSetLayers

6 files changed

+6
-6
lines changed

src/Segmentation/LevelSetsv4Visualization/VisualizeEvolvingDense2DLevelSetZeroSet/Code.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ int main( int argc, char* argv[] )
9999
BinaryImageToLevelSetType::Pointer adaptor = BinaryImageToLevelSetType::New();
100100
adaptor->SetInputImage( binary );
101101
adaptor->Initialize();
102-
LevelSetType::Pointer levelSet = adaptor->GetLevelSet();
102+
LevelSetType::Pointer levelSet = adaptor->GetModifiableLevelSet();
103103

104104
// The Heaviside function
105105
using HeavisideFunctionType = itk::SinRegularizedHeavisideStepFunction< LevelSetRealType, LevelSetRealType >;

src/Segmentation/LevelSetsv4Visualization/VisualizeStaticDense2DLevelSetAsElevationMap/Code.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ int main( int argc, char* argv[] )
8383
adaptor->SetInputImage( rescaler->GetOutput() );
8484
adaptor->Initialize();
8585

86-
LevelSetType::Pointer levelSet = adaptor->GetLevelSet();
86+
LevelSetType::Pointer levelSet = adaptor->GetModifiableLevelSet();
8787

8888
// Create the visualizer
8989
using VisualizationType = itk::VTKVisualize2DLevelSetAsElevationMap< InputImageType, LevelSetType >;

src/Segmentation/LevelSetsv4Visualization/VisualizeStaticDense2DLevelSetZeroSet/Code.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ int main( int argc, char* argv[] )
8383
adaptor->SetInputImage( rescaler->GetOutput() );
8484
adaptor->Initialize();
8585

86-
LevelSetType::Pointer levelSet = adaptor->GetLevelSet();
86+
LevelSetType::Pointer levelSet = adaptor->GetModifiableLevelSet();
8787

8888
// Create the visualizer
8989
using VisualizationType = itk::VTKVisualizeImageLevelSetIsoValues< InputImageType, LevelSetType >;

src/Segmentation/LevelSetsv4Visualization/VisualizeStaticMalcolm2DLevelSetLayers/Code.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ int main( int argc, char* argv[] )
7373
adaptor->SetInputImage( rescaler->GetOutput() );
7474
adaptor->Initialize();
7575

76-
LevelSetType::Pointer levelSet = adaptor->GetLevelSet();
76+
LevelSetType::Pointer levelSet = adaptor->GetModifiableLevelSet();
7777

7878
// Create the visualizer
7979
using VisualizationType = itk::VTKVisualize2DSparseLevelSetLayers< InputImageType, LevelSetType >;

src/Segmentation/LevelSetsv4Visualization/VisualizeStaticShi2DLevelSetLayers/Code.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ int main( int argc, char* argv[] )
7474
adaptor->SetInputImage( rescaler->GetOutput() );
7575
adaptor->Initialize();
7676

77-
LevelSetType::Pointer levelSet = adaptor->GetLevelSet();
77+
LevelSetType::Pointer levelSet = adaptor->GetModifiableLevelSet();
7878

7979
// Create the visualizer
8080
using VisualizationType = itk::VTKVisualize2DSparseLevelSetLayers< InputImageType, LevelSetType >;

src/Segmentation/LevelSetsv4Visualization/VisualizeStaticWhitaker2DLevelSetLayers/Code.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ int main( int argc, char* argv[] )
7474
adaptor->SetInputImage( rescaler->GetOutput() );
7575
adaptor->Initialize();
7676

77-
LevelSetType::Pointer levelSet = adaptor->GetLevelSet();
77+
LevelSetType::Pointer levelSet = adaptor->GetModifiableLevelSet();
7878

7979
// Create the visualizer
8080
using VisualizationType = itk::VTKVisualize2DSparseLevelSetLayers< InputImageType, LevelSetType >;

0 commit comments

Comments
 (0)