#include <osg/Geometry>#include <OpenMesh/Core/Utils/vector_cast.hh>

Go to the source code of this file.
Namespaces | |
| namespace | OpenMesh |
Defines | |
| #define | OSG_COLOR_TRAITS(VecType, N) |
| #define | OSG_VECTOR_TRAITS(VecType) |
| #define | PNT2VEC_CASTER(DST, SRC) |
Functions | |
| OpenMesh::OSG_COLOR_TRAITS (osg::Color4f, 4) | |
| Vector traits for OpenSG color type. | |
| OpenMesh::OSG_COLOR_TRAITS (osg::Color3f, 3) | |
| Vector traits for OpenSG color type. | |
| OpenMesh::OSG_COLOR_TRAITS (osg::Color4ub, 4) | |
| Vector traits for OpenSG color type. | |
| OpenMesh::OSG_COLOR_TRAITS (osg::Color3ub, 3) | |
| Vector traits for OpenSG color type. | |
| OpenMesh::OSG_VECTOR_TRAITS (osg::Vec4ub) | |
| Vector traits for OpenSG vector type. | |
| OpenMesh::OSG_VECTOR_TRAITS (osg::Vec3d) | |
| Vector traits for OpenSG vector type. | |
| OpenMesh::OSG_VECTOR_TRAITS (osg::Vec4d) | |
| Vector traits for OpenSG vector type. | |
| OpenMesh::OSG_VECTOR_TRAITS (osg::Pnt2d) | |
| Vector traits for OpenSG vector type. | |
| OpenMesh::OSG_VECTOR_TRAITS (osg::Pnt3d) | |
| Vector traits for OpenSG vector type. | |
| OpenMesh::OSG_VECTOR_TRAITS (osg::Pnt4d) | |
| Vector traits for OpenSG vector type. | |
| OpenMesh::OSG_VECTOR_TRAITS (osg::Vec2f) | |
| Vector traits for OpenSG vector type. | |
| OpenMesh::OSG_VECTOR_TRAITS (osg::Vec3f) | |
| Vector traits for OpenSG vector type. | |
| OpenMesh::OSG_VECTOR_TRAITS (osg::Vec4f) | |
| Vector traits for OpenSG vector type. | |
| OpenMesh::OSG_VECTOR_TRAITS (osg::Pnt2f) | |
| Vector traits for OpenSG vector type. | |
| OpenMesh::OSG_VECTOR_TRAITS (osg::Pnt3f) | |
| Vector traits for OpenSG vector type. | |
| OpenMesh::OSG_VECTOR_TRAITS (osg::Pnt4f) | |
| Vector traits for OpenSG vector type. | |
| OpenMesh::PNT2VEC_CASTER (osg::Vec4d, osg::Pnt4d) | |
| convert Pnt4d to Vec4d | |
| OpenMesh::PNT2VEC_CASTER (osg::Vec3d, osg::Pnt3d) | |
| convert Pnt3d to Vec3d | |
| OpenMesh::PNT2VEC_CASTER (osg::Vec4f, osg::Pnt4f) | |
| convert Pnt4f to Vec4f | |
| OpenMesh::PNT2VEC_CASTER (osg::Vec3f, osg::Pnt3f) | |
| convert Pnt3f to Vec3f | |
| osg::Vec3f | OpenMesh::cross (const osg::Vec3f &_v1, const osg::Vec3f &_v2) |
| osg::Vec2f::ValueType | OpenMesh::dot (const osg::Vec2f &_v1, const osg::Vec2f &_v2) |
| osg::Vec3f::ValueType | OpenMesh::dot (const osg::Vec3f &_v1, const osg::Pnt3f &_v2) |
| osg::Vec3f::ValueType | OpenMesh::dot (const osg::Vec3f &_v1, const osg::Vec3f &_v2) |
| Adapter for osg vector member computing a scalar product. | |
| #define OSG_COLOR_TRAITS | ( | VecType, | |||
| N | ) |
template <> struct vector_traits< VecType > { \ typedef VecType vector_type; \ typedef vector_type::ValueType value_type; \ typedef GenProg::Int2Type< N > typed_size; \ \ static const size_t size_ = N; \ static size_t size() { return size_; } \ }
Definition at line 104 of file VectorAdapter.hh.
| #define OSG_VECTOR_TRAITS | ( | VecType | ) |
template <> struct vector_traits< VecType > { \ typedef VecType vector_type; \ typedef vector_type::ValueType value_type; \ typedef GenProg::Int2Type< vector_type::_iSize > typed_size; \ \ static const size_t size_ = vector_type::_iSize; \ static size_t size() { return size_; } \ }
Definition at line 61 of file VectorAdapter.hh.
| #define PNT2VEC_CASTER | ( | DST, | |||
| SRC | ) |
template <> struct vector_caster< DST, SRC > { \ typedef DST dst_t; \ typedef SRC src_t; \ typedef const dst_t& return_type; \ inline static return_type cast( const src_t& _src ) {\ return _src.subZero(); \ } \ }
Definition at line 129 of file VectorAdapter.hh.