|
static itk::Object::Pointer | CreateITKTransformFromVTK (vtkObject *loggerObject, vtkAbstractTransform *transformVtk, itk::Object::Pointer &secondaryTransformItk, int preferITKv3CompatibleTransforms, bool initialize=true) |
|
template<typename T > |
static vtkAbstractTransform * | CreateVTKTransformFromITK (vtkObject *loggerObject, typename itk::TransformBaseTemplate< T >::Pointer transformItk) |
|
static void | RegisterInverseTransformTypes () |
|
static bool | SetITKImageFromVTKOrientedGridTransform (vtkObject *loggerObject, GridImageDoubleType::Pointer &gridImage_Lps, vtkOrientedGridTransform *grid_Ras) |
|
template<typename T > |
static bool | SetVTKBSplineFromITKv3Generic (vtkObject *loggerObject, vtkOrientedBSplineTransform *bsplineVtk, typename itk::TransformBaseTemplate< T >::Pointer warpTransformItk, typename itk::TransformBaseTemplate< T >::Pointer bulkTransformItk) |
|
template<typename T > |
static bool | SetVTKOrientedGridTransformFromITKImage (vtkObject *loggerObject, vtkOrientedGridTransform *grid_Ras, typename itk::DisplacementFieldTransform< T, 3 >::DisplacementFieldType::Pointer gridImage_Lps) |
|
|
static bool | IsIdentityMatrix (vtkMatrix4x4 *matrix) |
|
template<typename BSplineTransformType > |
static bool | SetITKBSplineParametersFromVTKGeneric (vtkObject *loggerObject, typename itk::Transform< typename BSplineTransformType::ScalarType, VTKDimension, VTKDimension >::Pointer &warpTransformItk, vtkOrientedBSplineTransform *bsplineVtk) |
|
static bool | SetITKLinearTransformFromVTK (vtkObject *loggerObject, itk::Object::Pointer &transformItk_LPS, vtkMatrix4x4 *transformVtk_RAS) |
|
static bool | SetITKOrientedGridTransformFromVTK (vtkObject *loggerObject, itk::Object::Pointer &transformItk_LPS, vtkOrientedGridTransform *transformVtk_RAS) |
|
static bool | SetITKThinPlateSplineTransformFromVTK (vtkObject *loggerObject, itk::Object::Pointer &transformItk_LPS, vtkThinPlateSplineTransform *transformVtk_RAS, bool initialize=true) |
|
static bool | SetITKv3BSplineFromVTK (vtkObject *loggerObject, itk::Object::Pointer &warpTransformItk, itk::Object::Pointer &bulkTransformItk, vtkOrientedBSplineTransform *bsplineVtk, bool alwaysAddBulkTransform) |
|
template<typename T > |
static bool | SetITKv3BSplineFromVTKGeneric (vtkObject *loggerObject, typename itk::Transform< T, VTKDimension, VTKDimension >::Pointer &warpTransformItk, typename itk::Transform< T, VTKDimension, VTKDimension >::Pointer &bulkTransformItk, vtkOrientedBSplineTransform *bsplineVtk, bool alwaysAddBulkTransform) |
|
static bool | SetITKv4BSplineFromVTK (vtkObject *loggerObject, itk::Object::Pointer &warpTransformItk, vtkOrientedBSplineTransform *bsplineVtk) |
|
template<typename T > |
static bool | SetITKv4BSplineFromVTKGeneric (vtkObject *loggerObject, typename itk::Transform< T, VTKDimension, VTKDimension >::Pointer &warpTransformItk, vtkOrientedBSplineTransform *bsplineVtk) |
|
template<typename T > |
static bool | SetVTKBSplineFromITKv4Generic (vtkObject *loggerObject, vtkOrientedBSplineTransform *bsplineVtk, typename itk::TransformBaseTemplate< T >::Pointer warpTransformItk) |
|
template<typename BSplineTransformType > |
static bool | SetVTKBSplineParametersFromITKGeneric (vtkObject *loggerObject, vtkOrientedBSplineTransform *bsplineVtk, typename itk::TransformBaseTemplate< typename BSplineTransformType::ScalarType >::Pointer warpTransformItk) |
|
template<typename T > |
static bool | SetVTKLinearTransformFromITK (vtkObject *loggerObject, vtkMatrix4x4 *transformVtk_RAS, typename itk::TransformBaseTemplate< T >::Pointer transformItk_LPS) |
|
template<typename T > |
static bool | SetVTKOrientedGridTransformFromITK (vtkObject *loggerObject, vtkOrientedGridTransform *transformVtk_RAS, typename itk::TransformBaseTemplate< T >::Pointer transformItk_LPS) |
|
template<typename T > |
static bool | SetVTKThinPlateSplineTransformFromITK (vtkObject *loggerObject, vtkThinPlateSplineTransform *transformVtk_RAS, typename itk::TransformBaseTemplate< T >::Pointer transformItk_LPS) |
|
Definition at line 59 of file vtkITKTransformConverter.h.
itk::Object::Pointer vtkITKTransformConverter::CreateITKTransformFromVTK |
( |
vtkObject * |
loggerObject, |
|
|
vtkAbstractTransform * |
transformVtk, |
|
|
itk::Object::Pointer & |
secondaryTransformItk, |
|
|
int |
preferITKv3CompatibleTransforms, |
|
|
bool |
initialize = true |
|
) |
| |
|
static |
Create an ITK transform from a VTK transform. secondaryTransformItk: Only for backward compatibility. For BSpline transforms that have an additive bulk component, the bulk component is saved in the secondary transform. preferITKv3CompatibleTransforms: If true then BSpline transform will created as BSplineDeformableTransform and additive bulk transform component is always written in the secondary transform. If false then BSpline transform will be written as BSplineTransform (multiplicative bulk component is saved in a composite transform). If initialize is set to true then the transform is initialized to be readily usable. Initialization takes a long time for kernel transforms with many points, If a transform is created only to write it to file, initialization can be turned off to improve performance.
Definition at line 1316 of file vtkITKTransformConverter.h.