- Main Page
- Modules
- Namespaces
- Classes
- Files
- Related Pages

- Namespace List
- Namespace Members

# OpenMesh Namespace Reference

Contains all the mesh ingredients like the polygonal mesh, the triangle mesh, different mesh kernels and mesh traits. More...

## Classes
class | LoopSchemeMaskT
| implements cache for the weights of the original Loop scheme supported: vertex projection rule on the next level vertex projection rule on the limit surface vertex projection rule on the k-th (level) step (Barthe, Kobbelt'2003) vertex tangents on the limit surface More...
struct | VectorDataT
| The N values of the template Scalar type are the only data members of the class VectorT<Scalar,N>. More...
class | VectorT
| A vector is an array of `N` values of type `Scalar`. More...
class | BaseMesh
| Base class for all meshes. More...
struct | ArrayItems
| Definition of mesh items for use in the ArrayKernelT. More...
class | ArrayKernelT
| Mesh kernel using arrays for mesh item storage. More...
class | AttribKernelT
| This class adds the standard properties to the mesh type. More...
class | BaseKernel
| This class provides the basic property management like adding/removing properties and access to properties. More...
struct | FinalMeshItemsT
| Definition of the mesh entities (items). More...
class | BaseHandle
| Base class for all handle types. More...
struct | VertexHandle
| Handle for a vertex entity. More...
struct | HalfedgeHandle
| Handle for a halfedge entity. More...
struct | EdgeHandle
| Handle for a edge entity. More...
struct | FaceHandle
| Handle for a face entity. More...
class | PolyMeshT
| Base type for a polygonal mesh. More...
class | DefaultTraits
| Base class for all traits. More...
struct | MergeTraits
| Helper class to merge two mesh traits. More...
class | TriMeshT
| Base type for a triangle mesh. More...
struct | PolyMesh_ArrayKernel_GeneratorT
| Helper class to build a PolyMesh-type. More...
class | PolyMesh_ArrayKernelT
| Polygonal mesh based on the ArrayKernel. More...
struct | TriMesh_ArrayKernel_GeneratorT
| Helper class to create a TriMesh-type based on ArrayKernelT. More...
class | TriMesh_ArrayKernelT
| Triangle mesh based on the ArrayKernel. More...
class | mostream
| This class provides streams that can easily be multiplexed (using the connect() method) and toggled on/off (using enable() / disable()). More...
class | newClass
| /. More...
class | newClassT
| /. More...
struct | color_caster
| Cast one color vector to another. More...
class | Endian
| Determine byte order of host system. More...
class | BaseProperty
| Abstract class defining the basic interface of a dynamic property. More...
class | PropertyT
| Default property class for any type T. More...
struct | BasePropHandleT
| Base property handle. More...
struct | VPropHandleT
| Handle representing a vertex property. More...
struct | HPropHandleT
| Handle representing a halfedge property. More...
struct | EPropHandleT
| Handle representing an edge property. More...
struct | FPropHandleT
| Handle representing a face property. More...
struct | MPropHandleT
| Handle representing a mesh property. More...
class | PropertyContainer
| A a container for properties. More...
class | SingletonT
| A simple singleton template. More...
struct | vector_traits
| Helper class providing information about a vector type. More...
class | StripifierT
| This class decomposes a triangle mesh into several triangle strips. More...
struct | vector_traits< osg::Pnt4f >
| Vector traits for OpenSG vector type. More...
struct | vector_traits< osg::Pnt3f >
| Vector traits for OpenSG vector type. More...
struct | vector_traits< osg::Pnt2f >
| Vector traits for OpenSG vector type. More...
struct | vector_traits< osg::Vec4f >
| Vector traits for OpenSG vector type. More...
struct | vector_traits< osg::Vec3f >
| Vector traits for OpenSG vector type. More...
struct | vector_traits< osg::Vec2f >
| Vector traits for OpenSG vector type. More...
struct | vector_traits< osg::Pnt4d >
| Vector traits for OpenSG vector type. More...
struct | vector_traits< osg::Pnt3d >
| Vector traits for OpenSG vector type. More...
struct | vector_traits< osg::Pnt2d >
| Vector traits for OpenSG vector type. More...
struct | vector_traits< osg::Vec4d >
| Vector traits for OpenSG vector type. More...
struct | vector_traits< osg::Vec3d >
| Vector traits for OpenSG vector type. More...
struct | vector_traits< osg::Vec4ub >
| Vector traits for OpenSG vector type. More...
struct | vector_traits< osg::Color3ub >
| Vector traits for OpenSG color type. More...
struct | vector_traits< osg::Color4ub >
| Vector traits for OpenSG color type. More...
struct | vector_traits< osg::Color3f >
| Vector traits for OpenSG color type. More...
struct | vector_traits< osg::Color4f >
| Vector traits for OpenSG color type. More...
struct | color_caster< osg::Color3ub, osg::Color3f >
| Helper struct. More...
struct | color_caster< osg::Color3f, osg::Color3ub >
| Helper struct. More...
struct | vector_caster< osg::Vec3f, osg::Pnt3f >
| convert Pnt3f to Vec3f More...
struct | vector_caster< osg::Vec4f, osg::Pnt4f >
| convert Pnt4f to Vec4f More...
struct | vector_caster< osg::Vec3d, osg::Pnt3d >
| convert Pnt3d to Vec3d More...
struct | vector_caster< osg::Vec4d, osg::Pnt4d >
| convert Pnt4d to Vec4d More...
## Namespaces
namespace | Attributes
| This namespace holds per item attributes like normal/color.

namespace | Concepts
| Descriptions of the concepts used in OpenMesh.

namespace | Decimater
| Software related to mesh decimation.

namespace | GenProg
| Utilities for generative programming.

namespace | IO
| This namespace contains functions for reading and writing polygonal meshes and a list of supported file formats.

namespace | Iterators
| Contains all mesh iterators and circulators.

namespace | Kernel_OSG
| In this namespace resides the OpenSG integration of OpenMesh.

namespace | Utils
| Collection of little utility classes and helpers.

namespace | VDPM
| Software related to view dependent progressive meshes.

## Typedefs
typedef VectorT< signed char, 1 > | Vec1c
| 1-byte signed vector
typedef VectorT< unsigned char, 1 > | Vec1uc
| 1-byte unsigned vector
typedef VectorT< signed short int, 1 > | Vec1s
| 1-short signed vector
typedef VectorT< unsigned short int, 1 > | Vec1us
| 1-short unsigned vector
typedef VectorT< signed int, 1 > | Vec1i
| 1-int signed vector
typedef VectorT< unsigned int, 1 > | Vec1ui
| 1-int unsigned vector
typedef VectorT< float, 1 > | Vec1f
| 1-float vector
typedef VectorT< double, 1 > | Vec1d
| 1-double vector
typedef VectorT< signed char, 2 > | Vec2c
| 2-byte signed vector
typedef VectorT< unsigned char, 2 > | Vec2uc
| 2-byte unsigned vector
typedef VectorT< signed short int, 2 > | Vec2s
| 2-short signed vector
typedef VectorT< unsigned short int, 2 > | Vec2us
| 2-short unsigned vector
typedef VectorT< signed int, 2 > | Vec2i
| 2-int signed vector
typedef VectorT< unsigned int, 2 > | Vec2ui
| 2-int unsigned vector
typedef VectorT< float, 2 > | Vec2f
| 2-float vector
typedef VectorT< double, 2 > | Vec2d
| 2-double vector
typedef VectorT< signed char, 3 > | Vec3c
| 3-byte signed vector
typedef VectorT< unsigned char, 3 > | Vec3uc
| 3-byte unsigned vector
typedef VectorT< signed short int, 3 > | Vec3s
| 3-short signed vector
typedef VectorT< unsigned short int, 3 > | Vec3us
| 3-short unsigned vector
typedef VectorT< signed int, 3 > | Vec3i
| 3-int signed vector
typedef VectorT< unsigned int, 3 > | Vec3ui
| 3-int unsigned vector
typedef VectorT< float, 3 > | Vec3f
| 3-float vector
typedef VectorT< double, 3 > | Vec3d
| 3-double vector
typedef VectorT< signed char, 4 > | Vec4c
| 4-byte signed vector
typedef VectorT< unsigned char, 4 > | Vec4uc
| 4-byte unsigned vector
typedef VectorT< signed short int, 4 > | Vec4s
| 4-short signed vector
typedef VectorT< unsigned short int, 4 > | Vec4us
| 4-short unsigned vector
typedef VectorT< signed int, 4 > | Vec4i
| 4-int signed vector
typedef VectorT< unsigned int, 4 > | Vec4ui
| 4-int unsigned vector
typedef VectorT< float, 4 > | Vec4f
| 4-float vector
typedef VectorT< double, 4 > | Vec4d
| 4-double vector
typedef VectorT< signed char, 6 > | Vec6c
| 6-byte signed vector
typedef VectorT< unsigned char, 6 > | Vec6uc
| 6-byte unsigned vector
typedef VectorT< signed short int, 6 > | Vec6s
| 6-short signed vector
typedef VectorT< unsigned short int, 6 > | Vec6us
| 6-short unsigned vector
typedef VectorT< signed int, 6 > | Vec6i
| 6-int signed vector
typedef VectorT< unsigned int, 6 > | Vec6ui
| 6-int unsigned vector
typedef VectorT< float, 6 > | Vec6f
| 6-float vector
typedef VectorT< double, 6 > | Vec6d
| 6-double vector
## Functions
template<class T, typename Real>
bool | is_zero (const T &_a, Real _eps)
| comparison operators with user-selected precision control
template<class T>
T | sane_aarg (T _aarg)
| Trigonometry/angles - related.
template<class T>
T | angle (T _cos_angle, T _sin_angle)
| returns the angle determined by its cos and the sign of its sin result is positive if the angle is in [0:pi] and negative if it is in [pi:2pi]
template<typename Scalar, int N>
std::istream & | operator>> (std::istream &is, VectorT< Scalar, N > &vec)
| read the space-separated components of a vector from a stream
template<typename Scalar, int N>
std::ostream & | operator<< (std::ostream &os, const VectorT< Scalar, N > &vec)
| output a vector by printing its space-separated compontens
std::ostream & | operator<< (std::ostream &_os, const BaseHandle &_hnd)
| Write handle `_hnd` to stream `_os`.
Cast vector type to another vector type.
Cast vector type to another vector type.
template<typename dst_t, typename src_t>
vector_caster< dst_t, src_t >::return_type | vector_cast (const src_t &_src)
| Cast vector type to another vector type by copying the vector elements.
osg::Vec3f::ValueType | dot (const osg::Vec3f &_v1, const osg::Vec3f &_v2)
| Adapter for osg vector member computing a scalar product.
osg::Vec3f::ValueType | dot (const osg::Vec3f &_v1, const osg::Pnt3f &_v2)
| Adapter for osg vector member computing a scalar product.
osg::Vec2f::ValueType | dot (const osg::Vec2f &_v1, const osg::Vec2f &_v2)
| Adapter for osg vector member computing a scalar product.
osg::Vec3f | cross (const osg::Vec3f &_v1, const osg::Vec3f &_v2)
| Adapter for osg vector member computing a scalar product.
## Variables
const double | __flt_eps = 1e-5
| comparison operators with automatic precision control depends on the floating point precision of the arguments NOTE: __flt_eps and __dbl_eps might be replaced later with arch-dependent values taken from float.h

## Detailed Description

Contains all the mesh ingredients like the polygonal mesh, the triangle mesh, different mesh kernels and mesh traits.