Skip to content

Commit

Permalink
ITK: Update ITK to version 5.3.0
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Jackson <[email protected]>
  • Loading branch information
imikejackson committed Dec 1, 2023
1 parent 7b1b957 commit 400d2d5
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 7 deletions.
2 changes: 1 addition & 1 deletion cmake/Summary.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ OSInformation()
message(STATUS "* -------------- Dependent Libraries -------------------------------------------")
message(STATUS "* Eigen (${Eigen3_VERSION}) ${Eigen3_DIR}")
message(STATUS "* HDF5 (${HDF5_VERSION}) ${HDF5_INSTALL}")
message(STATUS "* ITK (${ITK_VERSION}) ${ITK_DIR}")
# message(STATUS "* ITK (${ITK_VERSION}) ${ITK_DIR}")
message(STATUS "* Pybind11 (${pybind11_VERSION}) ${pybind11_DIR}")
message(STATUS "* TBB (${TBB_VERSION}) ${TBB_DIR}")
message(STATUS "* fmt (${fmt_VERSION}) ${fmt_DIR}")
Expand Down
2 changes: 2 additions & 0 deletions src/Plugins/ITKImageProcessing/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@ if(NOT GENERATOR_IS_MULTI_CONFIG)
set_property(GLOBAL PROPERTY COMPLEX_EXTRA_LIBRARY_DIRS ${COMPLEX_EXTRA_LIBRARY_DIRS} ${ITK_LIB_DIR})
endif()

message(STATUS "* ITK (${ITK_VERSION}) ${ITK_DIR}")

include("${complex_SOURCE_DIR}/cmake/Plugin.cmake")

set(PLUGIN_NAME "ITKImageProcessing")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ namespace itk
class Dream3DFilterInterruption : public Command
{
public:
ITK_DISALLOW_COPY_AND_ASSIGN(Dream3DFilterInterruption);
ITK_DISALLOW_COPY_AND_MOVE(Dream3DFilterInterruption);

/** Standard class type aliases. */
using Self = Dream3DFilterInterruption;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Result<OutputActions> ReadImagePreflight(const std::string& fileName, DataPath i

try
{
itk::ImageIOBase::Pointer imageIO = itk::ImageIOFactory::CreateImageIO(fileName.c_str(), itk::ImageIOFactory::ReadMode);
itk::ImageIOBase::Pointer imageIO = itk::ImageIOFactory::CreateImageIO(fileName.c_str(), itk::CommonEnums::IOFileMode::ReadMode);
if(imageIO == nullptr)
{
return MakeErrorResult<OutputActions>(-5, fmt::format("ITK could not read the given file \"{}\". Format is likely unsupported.", fileName));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ Result<> ReadImageExecute(const std::string& fileName, ArgsT&&... args)
{
try
{
itk::ImageIOBase::Pointer imageIO = itk::ImageIOFactory::CreateImageIO(fileName.c_str(), itk::ImageIOFactory::ReadMode);
itk::ImageIOBase::Pointer imageIO = itk::ImageIOFactory::CreateImageIO(fileName.c_str(), itk::CommonEnums::IOFileMode::ReadMode);
if(imageIO == nullptr)
{
return MakeErrorResult(-5, fmt::format("ITK could not read the given file \"{}\". Format is likely unsupported.", fileName));
Expand Down
4 changes: 2 additions & 2 deletions vcpkg-configuration.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"registries": [
{
"kind": "git",
"repository": "https://github.com/bluequartzsoftware/complex-registry",
"repository": "https://github.com/imikejackson/complex-registry",
"packages": [
"blosc",
"boost-mp11",
Expand All @@ -32,7 +32,7 @@
"zlib",
"zstd"
],
"baseline": "29602a9d88e4c918904a0bd0fab83c5289700908"
"baseline": "bdadae19f8f991a9df224a35f01a2ba2effc0d92"
}
]
}
3 changes: 2 additions & 1 deletion vcpkg.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,8 @@
"description": "ITK",
"dependencies": [
{
"name": "itk"
"name": "itk",
"version>=": "5.3.0"
}
]
},
Expand Down

0 comments on commit 400d2d5

Please sign in to comment.