type_caster Struct Template
Custom type caster for Eigen::Isometry3d. More...
Declaration
struct pybind11::detail::type_caster<Eigen::Isometry3d> { ... }
Included Headers
#include <eigen.hpp>
Public Member Functions Index
| PYBIND11_TYPE_CASTER (Eigen::Isometry3d, const_name("numpy.ndarray[numpy.float64[4, 4]]")) | |
| bool | load (handle src, bool convert) |
Public Static Functions Index
| static handle | cast (const Eigen::Isometry3d &src, return_value_policy policy, handle parent) |
Description
Custom type caster for Eigen::Isometry3d.
This type caster allows automatic conversion between Eigen::Isometry3d and Python numpy arrays. The transformation matrix is represented as a 4x4 numpy array in Python.
Conversion from Python:
- Accepts 4x4 numpy arrays
- Validates that the matrix represents a valid transformation
Conversion to Python:
- Returns the transformation as a 4x4 numpy array
Definition at line 68 of file eigen.hpp.
Public Member Functions
load()
| inline |
Convert from Python to C++
Definition at line 76 of file eigen.hpp.
PYBIND11_TYPE_CASTER()
|
Definition at line 71 of file eigen.hpp.
Public Static Functions
cast()
| inline static |
Convert from C++ to Python
Definition at line 103 of file eigen.hpp.
The documentation for this struct was generated from the following file:
Generated via doxygen2docusaurus 2.2.2 by Doxygen 1.9.8.