Simox
2.3.74.0
|
Public Types | |
template<class T > | |
using | vector2_casted = Eigen::Matrix< T, 2, 1 > |
template<class T > | |
using | vector_casted = Eigen::Matrix< T, 3, 1 > |
template<class T > | |
using | transform_casted = Eigen::Matrix< T, 4, 4 > |
template<class T > | |
using | rotation_casted = Eigen::Matrix< T, 3, 3 > |
using | float_t = FloatT |
using | vector2_t = vector2_casted< float_t > |
using | vector_t = vector_casted< float_t > |
using | transform_t = transform_casted< float_t > |
using | rotation_t = rotation_casted< float_t > |
Public Member Functions | |
OrientedBoxBase (const transform_t &t, const vector_t &d) | |
OrientedBoxBase ()=default | |
OrientedBoxBase (OrientedBoxBase &&)=default | |
OrientedBoxBase (const OrientedBoxBase &)=default | |
OrientedBoxBase & | operator= (OrientedBoxBase &&)=default |
OrientedBoxBase & | operator= (const OrientedBoxBase &)=default |
const vector_t & | dimensions () const |
template<class T > | |
vector_casted< T > | dimensions () const |
float_t | dimension (int i) const |
template<class T > | |
T | dimension (int i) const |
float_t | dimension_x () const |
template<class T > | |
T | dimension_x () const |
float_t | dimension_y () const |
template<class T > | |
T | dimension_y () const |
float_t | dimension_z () const |
template<class T > | |
T | dimension_z () const |
const transform_t & | transformation () const |
template<class T > | |
transform_casted< T > | transformation () const |
transform_t | transformation_centered () const |
template<class T > | |
transform_casted< T > | transformation_centered () const |
auto | translation () const |
template<class T > | |
vector_casted< T > | translation () const |
auto | rotation () const |
template<class T > | |
rotation_casted< T > | rotation () const |
auto | axis (int i) const |
template<class T > | |
vector_casted< T > | axis (int i) const |
auto | axis_x () const |
template<class T > | |
vector_casted< T > | axis_x () const |
auto | axis_y () const |
template<class T > | |
vector_casted< T > | axis_y () const |
auto | axis_z () const |
template<class T > | |
vector_casted< T > | axis_z () const |
vector_t | extend (int i) const |
template<class T > | |
vector_casted< T > | extend (int i) const |
float_t | volume () const |
void | scale (const vector_t &factors) |
void | scale (float_t factor) |
void | scale_centered (float_t factor) |
vector_t | from_box_frame (const vector_t &p) const |
template<class T > | |
vector_casted< T > | from_box_frame (const vector_t &p) const |
vector_t | to_box_frame (const vector_t &p) const |
template<class T > | |
vector_casted< T > | to_box_frame (const vector_t &p) const |
bool | contains (const vector_t &p) |
bool | contains_by (const vector_t &p, float_t thresh=0) |
template<class T , class... Other> | |
std::vector< Eigen::Matrix< T, 3, 1 >, Other... > | contained_points (const std::vector< Eigen::Matrix< T, 3, 1 >, Other... > &ps) |
vector_t | center () const |
template<class T > | |
vector_casted< T > | center () const |
vector_t | corner_min () const |
template<class T > | |
vector_casted< T > | corner_min () const |
vector_t | corner_max () const |
template<class T > | |
vector_casted< T > | corner_max () const |
vector_t | corner (std::uint8_t c) const |
template<class T > | |
vector_casted< T > | corner (std::uint8_t c) const |
Static Public Attributes | |
static constexpr float_t | eps = static_cast<float_t>(1e8) |
static constexpr float_t | pi = static_cast<float_t>(M_PI) |
Static Protected Member Functions | |
static auto | translation (transform_t &t) |
static auto | translation (const transform_t &t) |
static auto | rotation (transform_t &t) |
static auto | rotation (const transform_t &t) |
static transform_t | transformation_identity () |
static transform_t | transformation (const rotation_t &rot, const vector_t &trans) |
Protected Attributes | |
transform_t | _t {transform_t::Identity()} |
vector_t | _d {vector_t::Zero()} |
using simox::OrientedBoxBase< FloatT >::float_t = FloatT |
using simox::OrientedBoxBase< FloatT >::rotation_casted = Eigen::Matrix<T, 3, 3> |
using simox::OrientedBoxBase< FloatT >::rotation_t = rotation_casted<float_t> |
using simox::OrientedBoxBase< FloatT >::transform_casted = Eigen::Matrix<T, 4, 4> |
using simox::OrientedBoxBase< FloatT >::transform_t = transform_casted<float_t> |
using simox::OrientedBoxBase< FloatT >::vector2_casted = Eigen::Matrix<T, 2, 1> |
using simox::OrientedBoxBase< FloatT >::vector2_t = vector2_casted<float_t> |
using simox::OrientedBoxBase< FloatT >::vector_casted = Eigen::Matrix<T, 3, 1> |
using simox::OrientedBoxBase< FloatT >::vector_t = vector_casted<float_t> |
|
inline |
|
default |
|
default |
|
default |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
default |
|
default |
|
inlinestaticprotected |
|
inlinestaticprotected |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinestaticprotected |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinestaticprotected |
|
inlinestaticprotected |
|
inlinestaticprotected |
|
inline |
|
inline |
|
inline |
|
protected |
|
protected |
|
static |
|
static |