MoveIt Pro API
Core Behaviors for MoveIt Pro
Loading...
Searching...
No Matches
pybind11::detail::type_caster< Eigen::Isometry3d > Struct Reference

Custom type caster for Eigen::Isometry3d. More...

#include <eigen.hpp>

Public Member Functions

 PYBIND11_TYPE_CASTER (Eigen::Isometry3d, const_name("numpy.ndarray[numpy.float64[4, 4]]"))
 
bool load (handle src, bool convert)
 

Static Public Member Functions

static handle cast (const Eigen::Isometry3d &src, return_value_policy policy, handle parent)
 

Detailed 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

Member Function Documentation

◆ cast()

static handle pybind11::detail::type_caster< Eigen::Isometry3d >::cast ( const Eigen::Isometry3d &  src,
return_value_policy  policy,
handle  parent 
)
inlinestatic

Convert from C++ to Python

◆ load()

bool pybind11::detail::type_caster< Eigen::Isometry3d >::load ( handle  src,
bool  convert 
)
inline

Convert from Python to C++

◆ PYBIND11_TYPE_CASTER()

pybind11::detail::type_caster< Eigen::Isometry3d >::PYBIND11_TYPE_CASTER ( Eigen::Isometry3d  ,
const_name("numpy.ndarray[numpy.float64[4, 4]]")   
)

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