MRPT  1.9.9
mrpt::opengl::detail Namespace Reference

Functions

template<int DIM>
void renderGeneralizedEllipsoidTemplate (const std::vector< mrpt::math::CMatrixFixed< float, DIM, 1 >> &pts, const float lineWidth, const uint32_t slices, const uint32_t stacks)
 
template<>
void renderGeneralizedEllipsoidTemplate< 2 > (const std::vector< mrpt::math::CMatrixFixed< float, 2, 1 >> &pts, const float lineWidth, const uint32_t slices, const uint32_t stacks)
 
template<>
void renderGeneralizedEllipsoidTemplate< 3 > (const std::vector< mrpt::math::CMatrixFixed< float, 3, 1 >> &pts, const float lineWidth, const uint32_t slices, const uint32_t stacks)
 
template<int DIM>
void generalizedEllipsoidPoints (const mrpt::math::CMatrixFixed< double, DIM, DIM > &U, const mrpt::math::CMatrixFixed< double, DIM, 1 > &mean, std::vector< mrpt::math::CMatrixFixed< float, DIM, 1 >> &out_params_pts, const uint32_t slices, const uint32_t stacks)
 
template<>
void generalizedEllipsoidPoints< 2 > (const mrpt::math::CMatrixFixed< double, 2, 2 > &U, const mrpt::math::CMatrixFixed< double, 2, 1 > &mean, std::vector< mrpt::math::CMatrixFixed< float, 2, 1 >> &out_params_pts, const uint32_t slices, const uint32_t stacks)
 
template<>
void generalizedEllipsoidPoints< 3 > (const mrpt::math::CMatrixFixed< double, 3, 3 > &U, const mrpt::math::CMatrixFixed< double, 3, 1 > &mean, std::vector< mrpt::math::CMatrixFixed< float, 3, 1 >> &out_params_pts, const uint32_t slices, const uint32_t stacks)
 
void aux_add3DpointWithEigenVectors (const double x, const double y, const double z, std::vector< mrpt::math::CMatrixFixed< float, 3, 1 >> &pts, const mrpt::math::CMatrixFixed< double, 3, 3 > &M, const mrpt::math::CMatrixFixed< double, 3, 1 > &mean)
 

Function Documentation

◆ aux_add3DpointWithEigenVectors()

void mrpt::opengl::detail::aux_add3DpointWithEigenVectors ( const double  x,
const double  y,
const double  z,
std::vector< mrpt::math::CMatrixFixed< float, 3, 1 >> &  pts,
const mrpt::math::CMatrixFixed< double, 3, 3 > &  M,
const mrpt::math::CMatrixFixed< double, 3, 1 > &  mean 
)
inline

Definition at line 171 of file CGeneralizedEllipsoidTemplate.cpp.

References mrpt::math::mean().

Referenced by generalizedEllipsoidPoints< 3 >().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ generalizedEllipsoidPoints()

template<int DIM>
void mrpt::opengl::detail::generalizedEllipsoidPoints ( const mrpt::math::CMatrixFixed< double, DIM, DIM > &  U,
const mrpt::math::CMatrixFixed< double, DIM, 1 > &  mean,
std::vector< mrpt::math::CMatrixFixed< float, DIM, 1 >> &  out_params_pts,
const uint32_t  slices,
const uint32_t  stacks 
)

◆ generalizedEllipsoidPoints< 2 >()

template<>
void mrpt::opengl::detail::generalizedEllipsoidPoints< 2 > ( const mrpt::math::CMatrixFixed< double, 2, 2 > &  U,
const mrpt::math::CMatrixFixed< double, 2, 1 > &  mean,
std::vector< mrpt::math::CMatrixFixed< float, 2, 1 >> &  out_params_pts,
const uint32_t  slices,
const uint32_t  stacks 
)

Definition at line 147 of file CGeneralizedEllipsoidTemplate.cpp.

References M_PI, mrpt::math::mean(), and MRPT_UNUSED_PARAM.

Here is the call graph for this function:

◆ generalizedEllipsoidPoints< 3 >()

template<>
void mrpt::opengl::detail::generalizedEllipsoidPoints< 3 > ( const mrpt::math::CMatrixFixed< double, 3, 3 > &  U,
const mrpt::math::CMatrixFixed< double, 3, 1 > &  mean,
std::vector< mrpt::math::CMatrixFixed< float, 3, 1 >> &  out_params_pts,
const uint32_t  slices,
const uint32_t  stacks 
)

Definition at line 188 of file CGeneralizedEllipsoidTemplate.cpp.

References ASSERT_ABOVEEQ_, aux_add3DpointWithEigenVectors(), M_PI, mrpt::math::mean(), MRPT_END, MRPT_START, and R.

Here is the call graph for this function:

◆ renderGeneralizedEllipsoidTemplate()

template<int DIM>
void mrpt::opengl::detail::renderGeneralizedEllipsoidTemplate ( const std::vector< mrpt::math::CMatrixFixed< float, DIM, 1 >> &  pts,
const float  lineWidth,
const uint32_t  slices,
const uint32_t  stacks 
)

◆ renderGeneralizedEllipsoidTemplate< 2 >()

template<>
void mrpt::opengl::detail::renderGeneralizedEllipsoidTemplate< 2 > ( const std::vector< mrpt::math::CMatrixFixed< float, 2, 1 >> &  pts,
const float  lineWidth,
const uint32_t  slices,
const uint32_t  stacks 
)

Definition at line 28 of file CGeneralizedEllipsoidTemplate.cpp.

References mrpt::opengl::gl_utils::checkOpenGLError(), GL_BLEND, GL_LIGHTING, GL_LINE_LOOP, GL_ONE_MINUS_SRC_ALPHA, GL_SRC_ALPHA, glBegin(), glBlendFunc(), glDisable(), glEnable(), glEnd(), glLineWidth(), glVertex2f(), and MRPT_UNUSED_PARAM.

Here is the call graph for this function:

◆ renderGeneralizedEllipsoidTemplate< 3 >()

template<>
void mrpt::opengl::detail::renderGeneralizedEllipsoidTemplate< 3 > ( const std::vector< mrpt::math::CMatrixFixed< float, 3, 1 >> &  pts,
const float  lineWidth,
const uint32_t  slices,
const uint32_t  stacks 
)

Definition at line 62 of file CGeneralizedEllipsoidTemplate.cpp.

References ASSERT_EQUAL_, mrpt::opengl::gl_utils::checkOpenGLError(), GL_BLEND, GL_LIGHTING, GL_LINE_STRIP, GL_LINES, GL_ONE_MINUS_SRC_ALPHA, GL_SRC_ALPHA, glBegin(), glBlendFunc(), glDisable(), glEnable(), glEnd(), glLineWidth(), glVertex3fv(), and MRPT_UNUSED_PARAM.

Here is the call graph for this function:



Page generated by Doxygen 1.8.14 for MRPT 1.9.9 Git: 8fe78517f Sun Jul 14 19:43:28 2019 +0200 at lun oct 28 02:10:00 CET 2019