Yeah, "glue" classes for transforms in additions to images would be nice
for connecting pipelines,

  http://www.itk.org/Doxygen/html/group__ITKVtkGlue.html


On Wed, May 14, 2014 at 4:35 PM, Jean-Christophe Fillion-Robin <
notifications@github.com> wrote:

> In Libs/MRML/Core/Testing/vtkOrientedGridTransformTest1.cxx:
>
> > +  vtkNew<vtkOrientedGridTransform> gridVtk;
> > +  CreateGridTransformVtk(gridVtk.GetPointer(), origin, spacing, direction, dims);
> > +  // Modify a grid node
> > +  SetGridNodeVtk(gridVtk.GetPointer(), modifiedGridNodeIndex1, modifiedGridNodeValue1);
> > +  SetGridNodeVtk(gridVtk.GetPointer(), modifiedGridNodeIndex2, modifiedGridNodeValue2);
> > +  SetGridNodeVtk(gridVtk.GetPointer(), modifiedGridNodeIndex3, modifiedGridNodeValue3);
> > +
> > +  int numberOfPointsTested=0;
> > +  int numberOfItkVtkPointMismatches=0;
> > +  int numberOfSingleDoubleVtkPointMismatches=0;
> > +  int numberOfDerivativeMismatches=0;
> > +  int numberOfInverseMismatches=0;
> > +
> > +  // We take samples in the grid region (first node + 2 < node < last node - 1)
> > +  // because the boundaries are handled differently in ITK and VTK (in ITK there is an
> > +  // abrupt change to 0, while in VTK it is smoothly converges to zero)
>
> @thewtex <https://github.com/thewtex> Thinking loud:
>
>    - ITK and VTK have a lot in common regarding transform. May be we
>    could have a layer (TTK -Transform Toolkit ?) that would be used by both...
>    - Would it be crazy to think about a common based class to make
>    integration easier ? And at some point share the pipeline / filter
>    infrastructure ...
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/Slicer/Slicer/pull/132/files#r12659675>
> .
>