#
#  Examples on the use of SpatialObjects.
#
PROJECT(SpatialObjectsExamples)
INCLUDE_REGULAR_EXPRESSION("^.*$")

ADD_EXECUTABLE(ArrowSpatialObject ArrowSpatialObject.cxx)
TARGET_LINK_LIBRARIES(ArrowSpatialObject ITKCommon ITKIO )

ADD_EXECUTABLE(BlobSpatialObject BlobSpatialObject.cxx)
TARGET_LINK_LIBRARIES(BlobSpatialObject ITKCommon ITKIO )

ADD_EXECUTABLE(CylinderSpatialObject CylinderSpatialObject.cxx)
TARGET_LINK_LIBRARIES(CylinderSpatialObject ITKCommon ITKIO ITKSpatialObject)

ADD_EXECUTABLE(EllipseSpatialObject EllipseSpatialObject.cxx)
TARGET_LINK_LIBRARIES(EllipseSpatialObject ITKCommon ITKIO )

ADD_EXECUTABLE(GaussianSpatialObject GaussianSpatialObject.cxx)
TARGET_LINK_LIBRARIES(GaussianSpatialObject ITKCommon ITKIO )

ADD_EXECUTABLE(GroupSpatialObject GroupSpatialObject.cxx)
TARGET_LINK_LIBRARIES(GroupSpatialObject ITKCommon ITKIO )

ADD_EXECUTABLE(ImageSpatialObject ImageSpatialObject.cxx)
TARGET_LINK_LIBRARIES(ImageSpatialObject ITKCommon ITKIO )

ADD_EXECUTABLE(ImageMaskSpatialObject ImageMaskSpatialObject.cxx)
TARGET_LINK_LIBRARIES(ImageMaskSpatialObject ITKCommon ITKIO )

ADD_EXECUTABLE(LandmarkSpatialObject LandmarkSpatialObject.cxx)
TARGET_LINK_LIBRARIES(LandmarkSpatialObject ITKCommon ITKIO )

ADD_EXECUTABLE(LineSpatialObject LineSpatialObject.cxx)
TARGET_LINK_LIBRARIES(LineSpatialObject ITKCommon ITKIO )

ADD_EXECUTABLE(MeshSpatialObject MeshSpatialObject.cxx)
TARGET_LINK_LIBRARIES(MeshSpatialObject ITKCommon ITKIO ITKMetaIO ITKAlgorithms ITKNumerics ITKSpatialObject)

ADD_EXECUTABLE(ReadWriteSpatialObject ReadWriteSpatialObject.cxx)
TARGET_LINK_LIBRARIES(ReadWriteSpatialObject ITKCommon ITKIO ITKMetaIO ITKAlgorithms ITKNumerics ITKSpatialObject)

ADD_EXECUTABLE(SceneSpatialObject SceneSpatialObject.cxx)
TARGET_LINK_LIBRARIES(SceneSpatialObject ITKCommon ITKIO )

ADD_EXECUTABLE(SpatialObjectHierarchy SpatialObjectHierarchy.cxx)
TARGET_LINK_LIBRARIES(SpatialObjectHierarchy ITKCommon ITKIO )

ADD_EXECUTABLE(SpatialObjectTransforms SpatialObjectTransforms.cxx)
TARGET_LINK_LIBRARIES(SpatialObjectTransforms ITKCommon ITKIO )

ADD_EXECUTABLE(SpatialObjectTreeContainer SpatialObjectTreeContainer.cxx)
TARGET_LINK_LIBRARIES(SpatialObjectTreeContainer ITKCommon ITKIO )

ADD_EXECUTABLE(SpatialObjectToImageStatisticsCalculator SpatialObjectToImageStatisticsCalculator.cxx)
TARGET_LINK_LIBRARIES(SpatialObjectToImageStatisticsCalculator ITKCommon ITKIO )

ADD_EXECUTABLE(SurfaceSpatialObject SurfaceSpatialObject.cxx)
TARGET_LINK_LIBRARIES(SurfaceSpatialObject ITKCommon ITKIO )

ADD_EXECUTABLE(TubeSpatialObject TubeSpatialObject.cxx)
TARGET_LINK_LIBRARIES(TubeSpatialObject ITKCommon ITKIO )

ADD_EXECUTABLE(VesselTubeSpatialObject VesselTubeSpatialObject.cxx)
TARGET_LINK_LIBRARIES(VesselTubeSpatialObject ITKCommon ITKIO )

ADD_EXECUTABLE(DTITubeSpatialObject DTITubeSpatialObject.cxx)
TARGET_LINK_LIBRARIES(DTITubeSpatialObject ITKCommon ITKIO )



