[vtkusers] converting between itk and vtk
Kevin H. Hobbs
kevin.hobbs.1 at ohiou.edu
Thu Apr 6 15:37:49 EDT 2006
Wahoo working connected VTK and ITK pipelines! This thread was really
helpful.
Now off to something that actually requires the VTK streaming IO.
-------------- next part --------------
PROJECT( learn_vtkITK )
FIND_PACKAGE ( ITK )
IF ( ITK_FOUND )
INCLUDE( ${USE_ITK_FILE} )
ENDIF( ITK_FOUND )
FIND_PACKAGE ( VTK )
IF ( VTK_FOUND )
INCLUDE( ${USE_VTK_FILE} )
ENDIF( VTK_FOUND )
# Link in with ITK
INCLUDE_DIRECTORIES ( /home/kevin/kitware/InsightApplications/vtkITK/Common )
INCLUDE_DIRECTORIES ( ${learn_vtkITK_SOURCE_DIR} )
LINK_DIRECTORIES ( /home/kevin/kitware/InsightApplications_BUILD/vtkITK/Common )
LINK_DIRECTORIES ( ${learn_vtkITK_BINARY_DIR} )
ADD_EXECUTABLE( learn_vtkITK learn_vtkITK.cxx)
TARGET_LINK_LIBRARIES ( learn_vtkITK vtkIO vtkImaging ITKCommon ITKBasicFilters )
-------------- next part --------------
A non-text attachment was scrubbed...
Name: learn_vtkITK.cxx
Type: text/x-c++src
Size: 2481 bytes
Desc: not available
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20060406/c9f807ba/attachment.cxx>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: This is a digitally signed message part
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20060406/c9f807ba/attachment.pgp>
More information about the vtkusers
mailing list