Libs/Utils/EigenUtils.h
Namespaces
| Name |
|---|
| shapeworks User usage reporting (telemetry) |
Classes
| Name | |
|---|---|
| class | shapeworks::EigenUtils |
Source code
```cpp
pragma once
include
include "Shapeworks.h"
namespace shapeworks {
// Returns a 4x4 Eigen (col-major) from the given 3x4 (left-hand) itk::Transform. Eigen::MatrixXd itkTransformToEigen(TransformPtr itk_xform);
// Returns a 3x4 itk::AffineTransform from the given (col-major) 4x4 Eigen::Matrix
TransformPtr eigen44ToItkTransform(const Eigen::Matrix
// Returns a 4x4 Eigen (row-major) from the given vtkTransform4x4.
Eigen::Matrix
// Returns a 4x4 vtkMatrix4x4 from the given (row-major) 4x4 Eigen::Matrix
MeshTransform eigen44ToVtkTransform(const Eigen::Matrix
template
template
// With any luck, rvalue assignment will be used here (though it's explicit in the vxl code).
template
template
template
template
template
class EigenUtils {
public:
static std::pair
} // namespace shapeworks ```
Updated on 2026-03-31 at 16:02:11 +0000