OpenMesh
OpenMesh::Kernel_OSG::AttribKernelT< MeshItems > Class Template Reference

This class adds the standard properties to the mesh type. More...

#include <OpenMesh/Tools/Kernel_OSG/AttribKernelT.hh>

Inheritance diagram for OpenMesh::Kernel_OSG::AttribKernelT< MeshItems >:
Collaboration diagram for OpenMesh::Kernel_OSG::AttribKernelT< MeshItems >:

List of all members.

Public Types

enum  Attribs { VAttribs = MeshItems::VAttribs, HAttribs = MeshItems::HAttribs, EAttribs = MeshItems::EAttribs, FAttribs = MeshItems::FAttribs }
typedef MeshItems::Vertex Vertex
typedef MeshItems::Halfedge Halfedge
typedef MeshItems::Edge Edge
typedef MeshItems::Face Face
typedef MeshItems::Point Point
typedef MeshItems::Normal Normal
typedef MeshItems::Color Color
typedef MeshItems::TexCoord TexCoord
typedef MeshItems::Scalar Scalar
typedef Attributes::StatusInfo StatusInfo
typedef GenProg::Bool2Type
<(bool)(HAttribs
&Attributes::PrevHalfedge)> 
HasPrevHalfedge
typedef _t2vp< Point >::prop GeoPositions
typedef _t2vn< Normal >::prop GeoNormals
typedef _t2vc< Color >::prop GeoColors
typedef _t2vtc< TexCoord >::prop GeoTexCoords
typedef GenProg::Bool2Type
<(bool)(VAttribs
&Attributes::Normal)> 
HasVertexNormals
typedef GenProg::Bool2Type
<(bool)(VAttribs
&Attributes::Color)> 
HasVertexColors
typedef GenProg::Bool2Type
<(bool)(VAttribs
&Attributes::TexCoord)> 
HasVertexTexCoords
typedef GenProg::Bool2Type
<(bool)(VAttribs
&Attributes::Status)> 
HasVertexStatus
typedef GenProg::Bool2Type
<(bool)(HAttribs
&Attributes::PrevHalfedge)> 
HasPrevHalfedge
typedef GenProg::Bool2Type
<(bool)(HAttribs
&Attributes::Status)> 
HasHalfedgeStatus
typedef GenProg::Bool2Type
<(bool)(EAttribs
&Attributes::Status)> 
HasEdgeStatus
typedef GenProg::Bool2Type
<(bool)(EAttribs
&Attributes::Color)> 
HasEdgeColors
typedef GenProg::Bool2Type
<(bool)(FAttribs
&Attributes::Normal)> 
HasFaceNormals
typedef GenProg::Bool2Type
<(bool)(FAttribs
&Attributes::Color)> 
HasFaceColors
typedef GenProg::Bool2Type
<(bool)(FAttribs
&Attributes::Status)> 
HasFaceStatus

Public Member Functions

 AttribKernelT (const AttribKernelT &_rhs)
AttribKernelToperator= (const AttribKernelT &_rhs)
GeoPositions::property_ptr_t osg_vpositions ()
GeoNormals::property_ptr_t osg_vnormals ()
GeoColors::property_ptr_t osg_vcolors ()
GeoTexCoords::property_ptr_t osg_vtexcoords ()
GeoColors::property_ptr_t osg_ecolors ()
GeoPTypes::property_ptr_t osg_ptypes ()
GeoPLengths::property_ptr_t osg_plengths ()
GeoIndices::property_ptr_t osg_indices ()
void set_face_types (FaceHandle _fh, GeoPTypes::value_type _t)
void set_face_lengths (FaceHandle _fh, GeoPLengths::value_type _l)
void set_face_indices (FaceHandle _fh, typename GeoIndices::value_type _i)
const Point * points () const
const Point & point (VertexHandle _vh) const
void set_point (VertexHandle _vh, const Point &_p)
const Normal * vertex_normals () const
const Normal & normal (VertexHandle _vh) const
void set_normal (VertexHandle _vh, const Normal &_n)
const Color * vertex_colors () const
const Color & color (VertexHandle _vh) const
void set_color (VertexHandle _vh, const Color &_c)
const TexCoord * texcoords () const
const TexCoord & texcoord (VertexHandle _vh) const
void set_texcoord (VertexHandle _vh, const TexCoord &_t)
const StatusInfostatus (VertexHandle _vh) const
StatusInfostatus (VertexHandle _vh)
const StatusInfostatus (HalfedgeHandle _eh) const
StatusInfostatus (HalfedgeHandle _eh)
const StatusInfostatus (EdgeHandle _eh) const
StatusInfostatus (EdgeHandle _eh)
const Color * edge_colors () const
const Color & color (EdgeHandle _eh) const
void set_color (EdgeHandle _eh, const Color &_c)
const StatusInfostatus (FaceHandle _fh) const
StatusInfostatus (FaceHandle _fh)
const Normal & normal (FaceHandle _fh) const
void set_normal (FaceHandle _fh, const Normal &_n)
const Color & color (FaceHandle _fh) const
void set_color (FaceHandle _fh, const Color &_c)
void request_vertex_normals ()
void request_vertex_colors ()
void request_vertex_texcoords ()
void request_vertex_status ()
void request_halfedge_status ()
void request_edge_status ()
void request_edge_colors ()
void request_face_normals ()
void request_face_colors ()
void request_face_status ()
void release_vertex_normals ()
void release_vertex_colors ()
void release_vertex_texcoords ()
void release_vertex_status ()
void release_halfedge_status ()
void release_edge_status ()
void release_edge_colors ()
void release_face_normals ()
void release_face_colors ()
void release_face_status ()
bool has_vertex_normals () const
bool has_vertex_colors () const
bool has_vertex_texcoords () const
bool has_vertex_status () const
bool has_edge_status () const
bool has_halfedge_status () const
bool has_edge_colors () const
bool has_face_normals () const
bool has_face_colors () const
bool has_face_status () const
osg::GeometryPtr createGeometryPtr ()
bool bind (osg::GeometryPtr &_geo)

Static Public Member Functions

static bool has_prev_halfedge ()

Protected Types

typedef MeshItems::Face::IsTriangle IsTriMesh
typedef PropertyKernel< IsTriMesh > Base
typedef Base::FPTypesHandle FPTypesHandle
typedef Base::FPLengthsHandle FPLengthsHandle
typedef Base::FIndicesHandle FIndicesHandle

Detailed Description

template<class MeshItems>
class OpenMesh::Kernel_OSG::AttribKernelT< MeshItems >

This class adds the standard properties to the mesh type.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines