Private Types | Private Member Functions | Private Attributes | Friends
pcl::geometry::HalfEdge Class Reference

An edge is a connection between two vertices. In a half-edge mesh the edge is split into two half-edges with opposite orientation. Each half-edge stores the index to the terminating vertex, the next half-edge, the previous half-edge and the face it belongs to. The opposite half-edge is accessed implicitly. More...

#include <mesh_elements.h>

List of all members.

Private Types

typedef pcl::geometry::FaceIndex FaceIndex
typedef
pcl::geometry::HalfEdgeIndex 
HalfEdgeIndex
typedef pcl::geometry::VertexIndex VertexIndex

Private Member Functions

 HalfEdge (const VertexIndex &idx_terminating_vertex=VertexIndex(), const HalfEdgeIndex &idx_next_half_edge=HalfEdgeIndex(), const HalfEdgeIndex &idx_prev_half_edge=HalfEdgeIndex(), const FaceIndex &idx_face=FaceIndex())
 Constructor.

Private Attributes

FaceIndex idx_face_
 Index to the face. The half-edge is considered to be on the boundary if it stores an invalid face index.
HalfEdgeIndex idx_next_half_edge_
 Index to the next half-edge.
HalfEdgeIndex idx_prev_half_edge_
 Index to the previous half-edge.
VertexIndex idx_terminating_vertex_
 Index to the terminating vertex. The half-edge is considered to be deleted if it stores an invalid terminating vertex index.

Friends

class pcl::geometry::MeshBase
class pcl::geometry::MeshIO

Detailed Description

An edge is a connection between two vertices. In a half-edge mesh the edge is split into two half-edges with opposite orientation. Each half-edge stores the index to the terminating vertex, the next half-edge, the previous half-edge and the face it belongs to. The opposite half-edge is accessed implicitly.

Author:
Martin Saelzle

Definition at line 107 of file mesh_elements.h.


Member Typedef Documentation

Definition at line 113 of file mesh_elements.h.

Definition at line 112 of file mesh_elements.h.

Definition at line 111 of file mesh_elements.h.


Constructor & Destructor Documentation

pcl::geometry::HalfEdge::HalfEdge ( const VertexIndex idx_terminating_vertex = VertexIndex (),
const HalfEdgeIndex idx_next_half_edge = HalfEdgeIndex (),
const HalfEdgeIndex idx_prev_half_edge = HalfEdgeIndex (),
const FaceIndex idx_face = FaceIndex () 
) [inline, explicit, private]

Constructor.

Parameters:
[in]idx_terminating_vertexIndex to the terminating vertex. Defaults to an invalid index.
[in]idx_next_half_edgeIndex to the next half-edge. Defaults to an invalid index.
[in]idx_prev_half_edgeIndex to the previous half-edge. Defaults to an invalid index.
[in]idx_faceIndex to the face. Defaults to an invalid index.

Definition at line 121 of file mesh_elements.h.


Friends And Related Function Documentation

friend class pcl::geometry::MeshBase [friend]

Definition at line 145 of file mesh_elements.h.

friend class pcl::geometry::MeshIO [friend]

Definition at line 148 of file mesh_elements.h.


Member Data Documentation

Index to the face. The half-edge is considered to be on the boundary if it stores an invalid face index.

Definition at line 142 of file mesh_elements.h.

Index to the next half-edge.

Definition at line 136 of file mesh_elements.h.

Index to the previous half-edge.

Definition at line 139 of file mesh_elements.h.

Index to the terminating vertex. The half-edge is considered to be deleted if it stores an invalid terminating vertex index.

Definition at line 133 of file mesh_elements.h.


The documentation for this class was generated from the following file:


pcl
Author(s): Open Perception
autogenerated on Wed Aug 26 2015 15:43:55