ITKVTK Integration
← DVR with Python | ● | Lighting →
VTK features the same pipeline concept as ITK.
Many ITK filters are available in the VTK context, also, but an ITK filter is not directly usable with VTK, meaning that it cannot be placed directly into a VTK pipeline. VTK filters have additional restrictions on UI related events that are passed through the pipeline.
To place a ITK filter into the VTK pipeline, one needs to use an adaptor class between the end of an ITK and the beginning of a VTK pipeline, the ImageToVTKImageFilter:
itk -> ... -> itk -> itk::ImageToVTKImageFilter -> vtk -> ... -> vtk
← DVR with Python | ● | Lighting →