Public Types | Public Member Functions | Private Member Functions | Private Attributes | Friends
pcl::geometry::QuadMesh< MeshTraitsT > Class Template Reference

Half-edge mesh that can only store quads. More...

#include <quad_mesh.h>

Inheritance diagram for pcl::geometry::QuadMesh< MeshTraitsT >:
Inheritance graph
[legend]

List of all members.

Public Types

typedef
pcl::geometry::MeshBase
< QuadMesh< MeshTraitsT >
, MeshTraitsT, QuadMeshTag
Base
typedef boost::shared_ptr
< const Self
ConstPtr
typedef Base::EdgeData EdgeData
typedef Base::EdgeDataCloud EdgeDataCloud
typedef Base::EdgeIndex EdgeIndex
typedef Base::EdgeIndices EdgeIndices
typedef
Base::FaceAroundFaceCirculator 
FaceAroundFaceCirculator
typedef
Base::FaceAroundVertexCirculator 
FaceAroundVertexCirculator
typedef Base::FaceData FaceData
typedef Base::FaceDataCloud FaceDataCloud
typedef Base::FaceIndex FaceIndex
typedef Base::FaceIndices FaceIndices
typedef Base::HalfEdgeData HalfEdgeData
typedef Base::HalfEdgeDataCloud HalfEdgeDataCloud
typedef Base::HalfEdgeIndex HalfEdgeIndex
typedef Base::HalfEdgeIndices HalfEdgeIndices
typedef Base::HasEdgeData HasEdgeData
typedef Base::HasFaceData HasFaceData
typedef Base::HasHalfEdgeData HasHalfEdgeData
typedef Base::HasVertexData HasVertexData
typedef
Base::IncomingHalfEdgeAroundVertexCirculator 
IncomingHalfEdgeAroundVertexCirculator
typedef
Base::InnerHalfEdgeAroundFaceCirculator 
InnerHalfEdgeAroundFaceCirculator
typedef Base::IsManifold IsManifold
typedef Base::MeshTag MeshTag
typedef
Base::OuterHalfEdgeAroundFaceCirculator 
OuterHalfEdgeAroundFaceCirculator
typedef
Base::OutgoingHalfEdgeAroundVertexCirculator 
OutgoingHalfEdgeAroundVertexCirculator
typedef boost::shared_ptr< SelfPtr
typedef QuadMesh< MeshTraitsT > Self
typedef
Base::VertexAroundFaceCirculator 
VertexAroundFaceCirculator
typedef
Base::VertexAroundVertexCirculator 
VertexAroundVertexCirculator
typedef Base::VertexData VertexData
typedef Base::VertexDataCloud VertexDataCloud
typedef Base::VertexIndex VertexIndex
typedef Base::VertexIndices VertexIndices

Public Member Functions

FaceIndex addFace (const VertexIndex &idx_v_0, const VertexIndex &idx_v_1, const VertexIndex &idx_v_2, const VertexIndex &idx_v_3, const FaceData &face_data=FaceData(), const EdgeData &edge_data=EdgeData(), const HalfEdgeData &half_edge_data=HalfEdgeData())
 Add a quad to the mesh. Data is only added if it is associated with the elements. The last vertex is connected with the first one.
 QuadMesh ()
 Constructor.

Private Member Functions

FaceIndex addFaceImpl (const VertexIndices &vertices, const FaceData &face_data, const EdgeData &edge_data, const HalfEdgeData &half_edge_data)
 addFace for the quad mesh.

Private Attributes

VertexIndices add_quad_
 Storage for adding a quad.

Friends

class pcl::geometry::MeshBase< QuadMesh< MeshTraitsT >, MeshTraitsT, pcl::geometry::QuadMeshTag >

Detailed Description

template<class MeshTraitsT>
class pcl::geometry::QuadMesh< MeshTraitsT >

Half-edge mesh that can only store quads.

Template Parameters:
MeshTraitsTPlease have a look at pcl::geometry::DefaultMeshTraits.
Author:
Martin Saelzle

Definition at line 59 of file quad_mesh.h.


Member Typedef Documentation

template<class MeshTraitsT >
typedef pcl::geometry::MeshBase<QuadMesh <MeshTraitsT>, MeshTraitsT, QuadMeshTag> pcl::geometry::QuadMesh< MeshTraitsT >::Base

Definition at line 63 of file quad_mesh.h.

template<class MeshTraitsT >
typedef boost::shared_ptr<const Self> pcl::geometry::QuadMesh< MeshTraitsT >::ConstPtr
template<class MeshTraitsT >
typedef Base::EdgeData pcl::geometry::QuadMesh< MeshTraitsT >::EdgeData
template<class MeshTraitsT >
typedef Base::EdgeDataCloud pcl::geometry::QuadMesh< MeshTraitsT >::EdgeDataCloud
template<class MeshTraitsT >
typedef Base::EdgeIndex pcl::geometry::QuadMesh< MeshTraitsT >::EdgeIndex
template<class MeshTraitsT >
typedef Base::EdgeIndices pcl::geometry::QuadMesh< MeshTraitsT >::EdgeIndices
template<class MeshTraitsT >
typedef Base::FaceAroundFaceCirculator pcl::geometry::QuadMesh< MeshTraitsT >::FaceAroundFaceCirculator
template<class MeshTraitsT >
typedef Base::FaceAroundVertexCirculator pcl::geometry::QuadMesh< MeshTraitsT >::FaceAroundVertexCirculator
template<class MeshTraitsT >
typedef Base::FaceData pcl::geometry::QuadMesh< MeshTraitsT >::FaceData
template<class MeshTraitsT >
typedef Base::FaceDataCloud pcl::geometry::QuadMesh< MeshTraitsT >::FaceDataCloud
template<class MeshTraitsT >
typedef Base::FaceIndex pcl::geometry::QuadMesh< MeshTraitsT >::FaceIndex
template<class MeshTraitsT >
typedef Base::FaceIndices pcl::geometry::QuadMesh< MeshTraitsT >::FaceIndices
template<class MeshTraitsT >
typedef Base::HalfEdgeData pcl::geometry::QuadMesh< MeshTraitsT >::HalfEdgeData
template<class MeshTraitsT >
typedef Base::HalfEdgeDataCloud pcl::geometry::QuadMesh< MeshTraitsT >::HalfEdgeDataCloud
template<class MeshTraitsT >
typedef Base::HalfEdgeIndex pcl::geometry::QuadMesh< MeshTraitsT >::HalfEdgeIndex
template<class MeshTraitsT >
typedef Base::HalfEdgeIndices pcl::geometry::QuadMesh< MeshTraitsT >::HalfEdgeIndices
template<class MeshTraitsT >
typedef Base::HasEdgeData pcl::geometry::QuadMesh< MeshTraitsT >::HasEdgeData
template<class MeshTraitsT >
typedef Base::HasFaceData pcl::geometry::QuadMesh< MeshTraitsT >::HasFaceData
template<class MeshTraitsT >
typedef Base::HasHalfEdgeData pcl::geometry::QuadMesh< MeshTraitsT >::HasHalfEdgeData
template<class MeshTraitsT >
typedef Base::HasVertexData pcl::geometry::QuadMesh< MeshTraitsT >::HasVertexData
template<class MeshTraitsT >
typedef Base::IsManifold pcl::geometry::QuadMesh< MeshTraitsT >::IsManifold
template<class MeshTraitsT >
typedef Base::MeshTag pcl::geometry::QuadMesh< MeshTraitsT >::MeshTag
template<class MeshTraitsT >
typedef boost::shared_ptr<Self> pcl::geometry::QuadMesh< MeshTraitsT >::Ptr
template<class MeshTraitsT >
typedef QuadMesh<MeshTraitsT> pcl::geometry::QuadMesh< MeshTraitsT >::Self
template<class MeshTraitsT >
typedef Base::VertexAroundFaceCirculator pcl::geometry::QuadMesh< MeshTraitsT >::VertexAroundFaceCirculator
template<class MeshTraitsT >
typedef Base::VertexAroundVertexCirculator pcl::geometry::QuadMesh< MeshTraitsT >::VertexAroundVertexCirculator
template<class MeshTraitsT >
typedef Base::VertexData pcl::geometry::QuadMesh< MeshTraitsT >::VertexData
template<class MeshTraitsT >
typedef Base::VertexDataCloud pcl::geometry::QuadMesh< MeshTraitsT >::VertexDataCloud
template<class MeshTraitsT >
typedef Base::VertexIndex pcl::geometry::QuadMesh< MeshTraitsT >::VertexIndex
template<class MeshTraitsT >
typedef Base::VertexIndices pcl::geometry::QuadMesh< MeshTraitsT >::VertexIndices

Constructor & Destructor Documentation

template<class MeshTraitsT >
pcl::geometry::QuadMesh< MeshTraitsT >::QuadMesh ( ) [inline]

Constructor.

Definition at line 108 of file quad_mesh.h.


Member Function Documentation

template<class MeshTraitsT >
FaceIndex pcl::geometry::QuadMesh< MeshTraitsT >::addFace ( const VertexIndex idx_v_0,
const VertexIndex idx_v_1,
const VertexIndex idx_v_2,
const VertexIndex idx_v_3,
const FaceData face_data = FaceData (),
const EdgeData edge_data = EdgeData (),
const HalfEdgeData half_edge_data = HalfEdgeData () 
) [inline]

Add a quad to the mesh. Data is only added if it is associated with the elements. The last vertex is connected with the first one.

Parameters:
[in]idx_v_0Index to the first vertex.
[in]idx_v_1Index to the second vertex.
[in]idx_v_2Index to the third vertex.
[in]idx_v_3Index to the fourth vertex.
[in]face_dataData that is set for the face.
[in]half_edge_dataData that is set for all added half-edges.
[in]edge_dataData that is set for all added edges.
Returns:
Index to the new face. Failure is signaled by returning an invalid face index.
Warning:
The vertices must be valid and unique (each vertex may be contained only once). Not complying with this requirement results in undefined behavior!

Definition at line 129 of file quad_mesh.h.

template<class MeshTraitsT >
FaceIndex pcl::geometry::QuadMesh< MeshTraitsT >::addFaceImpl ( const VertexIndices vertices,
const FaceData face_data,
const EdgeData edge_data,
const HalfEdgeData half_edge_data 
) [inline, private]

addFace for the quad mesh.

Definition at line 152 of file quad_mesh.h.


Friends And Related Function Documentation

template<class MeshTraitsT >
friend class pcl::geometry::MeshBase< QuadMesh< MeshTraitsT >, MeshTraitsT, pcl::geometry::QuadMeshTag > [friend]

Definition at line 148 of file quad_mesh.h.


Member Data Documentation

template<class MeshTraitsT >
VertexIndices pcl::geometry::QuadMesh< MeshTraitsT >::add_quad_ [private]

Storage for adding a quad.

Definition at line 168 of file quad_mesh.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:56