Slicer  5.0
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
List of all members | Static Public Member Functions | Static Protected Member Functions
vtkITKTransformConverter Class Reference

#include <Libs/MRML/Core/vtkITKTransformConverter.h>

Static Public Member Functions

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 Protected Member Functions

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)
 

Detailed Description

Definition at line 59 of file vtkITKTransformConverter.h.

Member Function Documentation

◆ CreateITKTransformFromVTK()

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.

◆ CreateVTKTransformFromITK()

template<typename T >
vtkAbstractTransform * vtkITKTransformConverter::CreateVTKTransformFromITK ( vtkObject *  loggerObject,
typename itk::TransformBaseTemplate< T >::Pointer  transformItk 
)
static

Definition at line 1271 of file vtkITKTransformConverter.h.

◆ IsIdentityMatrix()

bool vtkITKTransformConverter::IsIdentityMatrix ( vtkMatrix4x4 *  matrix)
staticprotected

Definition at line 295 of file vtkITKTransformConverter.h.

◆ RegisterInverseTransformTypes()

void vtkITKTransformConverter::RegisterInverseTransformTypes ( )
static

Definition at line 116 of file vtkITKTransformConverter.h.

◆ SetITKBSplineParametersFromVTKGeneric()

template<typename BSplineTransformType >
bool vtkITKTransformConverter::SetITKBSplineParametersFromVTKGeneric ( vtkObject *  loggerObject,
typename itk::Transform< typename BSplineTransformType::ScalarType, VTKDimension, VTKDimension >::Pointer &  warpTransformItk,
vtkOrientedBSplineTransform *  bsplineVtk 
)
staticprotected

Definition at line 558 of file vtkITKTransformConverter.h.

◆ SetITKImageFromVTKOrientedGridTransform()

bool vtkITKTransformConverter::SetITKImageFromVTKOrientedGridTransform ( vtkObject *  loggerObject,
GridImageDoubleType::Pointer &  gridImage_Lps,
vtkOrientedGridTransform *  grid_Ras 
)
static

Definition at line 990 of file vtkITKTransformConverter.h.

◆ SetITKLinearTransformFromVTK()

bool vtkITKTransformConverter::SetITKLinearTransformFromVTK ( vtkObject *  loggerObject,
itk::Object::Pointer &  transformItk_LPS,
vtkMatrix4x4 *  transformVtk_RAS 
)
staticprotected

Definition at line 247 of file vtkITKTransformConverter.h.

◆ SetITKOrientedGridTransformFromVTK()

bool vtkITKTransformConverter::SetITKOrientedGridTransformFromVTK ( vtkObject *  loggerObject,
itk::Object::Pointer &  transformItk_LPS,
vtkOrientedGridTransform *  transformVtk_RAS 
)
staticprotected

Definition at line 901 of file vtkITKTransformConverter.h.

◆ SetITKThinPlateSplineTransformFromVTK()

bool vtkITKTransformConverter::SetITKThinPlateSplineTransformFromVTK ( vtkObject *  loggerObject,
itk::Object::Pointer &  transformItk_LPS,
vtkThinPlateSplineTransform *  transformVtk_RAS,
bool  initialize = true 
)
staticprotected

Definition at line 1193 of file vtkITKTransformConverter.h.

◆ SetITKv3BSplineFromVTK()

bool vtkITKTransformConverter::SetITKv3BSplineFromVTK ( vtkObject *  loggerObject,
itk::Object::Pointer &  warpTransformItk,
itk::Object::Pointer &  bulkTransformItk,
vtkOrientedBSplineTransform *  bsplineVtk,
bool  alwaysAddBulkTransform 
)
staticprotected

Definition at line 749 of file vtkITKTransformConverter.h.

◆ SetITKv3BSplineFromVTKGeneric()

template<typename T >
bool vtkITKTransformConverter::SetITKv3BSplineFromVTKGeneric ( vtkObject *  loggerObject,
typename itk::Transform< T, VTKDimension, VTKDimension >::Pointer &  warpTransformItk,
typename itk::Transform< T, VTKDimension, VTKDimension >::Pointer &  bulkTransformItk,
vtkOrientedBSplineTransform *  bsplineVtk,
bool  alwaysAddBulkTransform 
)
staticprotected

Definition at line 654 of file vtkITKTransformConverter.h.

◆ SetITKv4BSplineFromVTK()

bool vtkITKTransformConverter::SetITKv4BSplineFromVTK ( vtkObject *  loggerObject,
itk::Object::Pointer &  warpTransformItk,
vtkOrientedBSplineTransform *  bsplineVtk 
)
staticprotected

Definition at line 802 of file vtkITKTransformConverter.h.

◆ SetITKv4BSplineFromVTKGeneric()

template<typename T >
bool vtkITKTransformConverter::SetITKv4BSplineFromVTKGeneric ( vtkObject *  loggerObject,
typename itk::Transform< T, VTKDimension, VTKDimension >::Pointer &  warpTransformItk,
vtkOrientedBSplineTransform *  bsplineVtk 
)
staticprotected

Definition at line 725 of file vtkITKTransformConverter.h.

◆ SetVTKBSplineFromITKv3Generic()

template<typename T >
bool vtkITKTransformConverter::SetVTKBSplineFromITKv3Generic ( vtkObject *  loggerObject,
vtkOrientedBSplineTransform *  bsplineVtk,
typename itk::TransformBaseTemplate< T >::Pointer  warpTransformItk,
typename itk::TransformBaseTemplate< T >::Pointer  bulkTransformItk 
)
static

Definition at line 455 of file vtkITKTransformConverter.h.

◆ SetVTKBSplineFromITKv4Generic()

template<typename T >
bool vtkITKTransformConverter::SetVTKBSplineFromITKv4Generic ( vtkObject *  loggerObject,
vtkOrientedBSplineTransform *  bsplineVtk,
typename itk::TransformBaseTemplate< T >::Pointer  warpTransformItk 
)
staticprotected

Definition at line 532 of file vtkITKTransformConverter.h.

◆ SetVTKBSplineParametersFromITKGeneric()

template<typename BSplineTransformType >
bool vtkITKTransformConverter::SetVTKBSplineParametersFromITKGeneric ( vtkObject *  loggerObject,
vtkOrientedBSplineTransform *  bsplineVtk,
typename itk::TransformBaseTemplate< typename BSplineTransformType::ScalarType >::Pointer  warpTransformItk 
)
staticprotected

Definition at line 315 of file vtkITKTransformConverter.h.

◆ SetVTKLinearTransformFromITK()

template<typename T >
bool vtkITKTransformConverter::SetVTKLinearTransformFromITK ( vtkObject *  loggerObject,
vtkMatrix4x4 *  transformVtk_RAS,
typename itk::TransformBaseTemplate< T >::Pointer  transformItk_LPS 
)
staticprotected

Definition at line 139 of file vtkITKTransformConverter.h.

◆ SetVTKOrientedGridTransformFromITK()

template<typename T >
bool vtkITKTransformConverter::SetVTKOrientedGridTransformFromITK ( vtkObject *  loggerObject,
vtkOrientedGridTransform *  transformVtk_RAS,
typename itk::TransformBaseTemplate< T >::Pointer  transformItk_LPS 
)
staticprotected

Definition at line 851 of file vtkITKTransformConverter.h.

◆ SetVTKOrientedGridTransformFromITKImage()

template<typename T >
bool vtkITKTransformConverter::SetVTKOrientedGridTransformFromITKImage ( vtkObject *  loggerObject,
vtkOrientedGridTransform *  grid_Ras,
typename itk::DisplacementFieldTransform< T, 3 >::DisplacementFieldType::Pointer  gridImage_Lps 
)
static

Definition at line 928 of file vtkITKTransformConverter.h.

◆ SetVTKThinPlateSplineTransformFromITK()

template<typename T >
bool vtkITKTransformConverter::SetVTKThinPlateSplineTransformFromITK ( vtkObject *  loggerObject,
vtkThinPlateSplineTransform *  transformVtk_RAS,
typename itk::TransformBaseTemplate< T >::Pointer  transformItk_LPS 
)
staticprotected

Definition at line 1098 of file vtkITKTransformConverter.h.


The documentation for this class was generated from the following file: