Public Member Functions | Public Attributes

lssr::HalfEdgeVertex< VertexT, NormalT > Class Template Reference

A vertex in a half edge mesh. More...

#include <HalfEdgeVertex.hpp>

Collaboration diagram for lssr::HalfEdgeVertex< VertexT, NormalT >:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 HalfEdgeVertex ()
 Default ctor. Position is (0, 0, 0), normal is undefined.
 HalfEdgeVertex (VertexT v, NormalT n)
 Constructs a vertex at given position with provided normal.
 HalfEdgeVertex (VertexT v)
 Constructs a vertex at given position.
 HalfEdgeVertex (const HalfEdgeVertex &o)
 Copy Ctor.

Public Attributes

VertexT m_position
 The vertex's position.
NormalT m_normal
 The vertex's normal.
size_t m_index
 The vertex index in the mesh.
vector< HalfEdge
< HalfEdgeVertex< VertexT,
NormalT >, HalfEdgeFace
< VertexT, NormalT > > * > 
in
 The list incoming edges.
vector< HalfEdge
< HalfEdgeVertex< VertexT,
NormalT >, HalfEdgeFace
< VertexT, NormalT > > * > 
out
 The list of outgoing edges.

Detailed Description

template<typename VertexT, typename NormalT>
class lssr::HalfEdgeVertex< VertexT, NormalT >

A vertex in a half edge mesh.

Definition at line 26 of file HalfEdgeVertex.hpp.


Constructor & Destructor Documentation

template<typename VertexT , typename NormalT >
lssr::HalfEdgeVertex< VertexT, NormalT >::HalfEdgeVertex (  )  [inline]

Default ctor. Position is (0, 0, 0), normal is undefined.

Definition at line 33 of file HalfEdgeVertex.hpp.

template<typename VertexT , typename NormalT >
lssr::HalfEdgeVertex< VertexT, NormalT >::HalfEdgeVertex ( VertexT  v,
NormalT  n 
) [inline]

Constructs a vertex at given position with provided normal.

Definition at line 38 of file HalfEdgeVertex.hpp.

template<typename VertexT , typename NormalT >
lssr::HalfEdgeVertex< VertexT, NormalT >::HalfEdgeVertex ( VertexT  v  )  [inline]

Constructs a vertex at given position.

Definition at line 43 of file HalfEdgeVertex.hpp.

template<typename VertexT , typename NormalT >
lssr::HalfEdgeVertex< VertexT, NormalT >::HalfEdgeVertex ( const HalfEdgeVertex< VertexT, NormalT > &  o  )  [inline]

Copy Ctor.

Definition at line 48 of file HalfEdgeVertex.hpp.


Member Data Documentation

template<typename VertexT , typename NormalT >
vector<HalfEdge< HalfEdgeVertex<VertexT, NormalT>, HalfEdgeFace<VertexT, NormalT> > *> lssr::HalfEdgeVertex< VertexT, NormalT >::in

The list incoming edges.

Definition at line 65 of file HalfEdgeVertex.hpp.

template<typename VertexT , typename NormalT >
size_t lssr::HalfEdgeVertex< VertexT, NormalT >::m_index

The vertex index in the mesh.

Definition at line 62 of file HalfEdgeVertex.hpp.

template<typename VertexT , typename NormalT >
NormalT lssr::HalfEdgeVertex< VertexT, NormalT >::m_normal

The vertex's normal.

Definition at line 59 of file HalfEdgeVertex.hpp.

template<typename VertexT , typename NormalT >
VertexT lssr::HalfEdgeVertex< VertexT, NormalT >::m_position

The vertex's position.

Definition at line 56 of file HalfEdgeVertex.hpp.

template<typename VertexT , typename NormalT >
vector<HalfEdge< HalfEdgeVertex<VertexT, NormalT>, HalfEdgeFace<VertexT, NormalT> > *> lssr::HalfEdgeVertex< VertexT, NormalT >::out

The list of outgoing edges.

Definition at line 68 of file HalfEdgeVertex.hpp.


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