OpenMesh
bindT.hh File Reference
#include <functional>
#include <algorithm>
#include <OpenMesh/Core/Mesh/TriMeshT.hh>
#include <OpenMesh/Core/Utils/color_cast.hh>
#include <OpenMesh/Tools/Utils/GLConstAsString.hh>
#include <OpenSG/OSGGeometry.h>
#include "color_cast.hh"
Include dependency graph for bindT.hh:

Go to the source code of this file.

Namespaces

 OpenMesh
 Martin, 26.12.2004: 1) replaced resize(size()-1) with pop_back(), since the later is more efficient 2) replaced interface_.set_heap_position(entry(0), -1); with reset_heap_position() 3) added const modifier to various functions TODO: in the moment the heap does not conform to the HeapInterface specification, i.e., copies are passed instead of references.
 
 OpenMesh::Kernel_OSG
 

Functions

bool OpenMesh::Kernel_OSG::type_is_valid (unsigned char _t)
 
template<typename Mesh >
bool OpenMesh::Kernel_OSG::bind (osg::GeometryPtr &_geo, Mesh &_mesh)
 Bind a OpenSG geometry to a mesh. More...
 
template<typename Mesh >
bool OpenMesh::Kernel_OSG::bind (Mesh &_mesh, osg::GeometryPtr &_geo)
 Bind a mesh object to geometry. More...
 

Detailed Description

Bind an OpenMesh to a OpenSG geometry node. Be aware that due to this link the geometry node maybe modified. For instance triangle strips are converted to regular triangles.


Project OpenMesh, ©  Computer Graphics Group, RWTH Aachen. Documentation generated using doxygen .