Developer Documentation
OpenVolumeMesh::HexVertexIter Class Reference

Iterate over all vertices of a hexahedron in a specific order. More...

#include <Type-OpenVolumeMesh/libs/OpenVolumeMesh/src/OpenVolumeMesh/Mesh/HexahedralMeshIterators.hh>

Inheritance diagram for OpenVolumeMesh::HexVertexIter:
OpenVolumeMesh::BaseCirculator< CellHandle, VertexHandle > OpenVolumeMesh::BaseIterator< VertexHandle >

Public Member Functions

 HexVertexIter (const CellHandle &_ref_h, const HexahedralMeshTopologyKernel *_mesh, int _max_laps=1)
 
HexVertexIter operator++ (int)
 
HexVertexIter operator-- (int)
 
HexVertexIter operator+ (int _n)
 
HexVertexIter operator- (int _n)
 
HexVertexIteroperator+= (int _n)
 
HexVertexIteroperator-= (int _n)
 
HexVertexIteroperator++ ()
 
HexVertexIteroperator-- ()
 
- Public Member Functions inherited from OpenVolumeMesh::BaseCirculator< CellHandle, VertexHandle >
 BaseCirculator (const TopologyKernel *_mesh, const CellHandle &_ih, const VertexHandle &_oh, int _max_laps=1)
 
 BaseCirculator (const TopologyKernel *_mesh, const CellHandle &_ih, int _max_laps=1)
 
 BaseCirculator (const BaseCirculator &_c)=default
 
bool operator== (const BaseCirculator &_c) const
 
bool operator!= (const BaseCirculator &_c) const
 
bool operator< (const BaseCirculator &_c) const
 
BaseCirculatoroperator= (const BaseCirculator &_c)=default
 
const CellHandleref_handle () const
 
void lap (int _lap)
 
int lap () const
 
void max_laps (int _max_laps)
 
int max_laps () const
 
- Public Member Functions inherited from OpenVolumeMesh::BaseIterator< VertexHandle >
 BaseIterator (const TopologyKernel *_mesh, const VertexHandle &_ch)
 
 BaseIterator (const TopologyKernel *_mesh)
 
 BaseIterator (const BaseIterator &_c)=default
 
BaseIteratoroperator= (const BaseIterator &_c)=default
 
bool operator== (const BaseIterator &_c) const
 
bool operator!= (const BaseIterator &_c) const
 
pointer operator-> () const
 
reference operator* () const
 
bool operator< (const BaseIterator &_c) const
 
 operator bool () const
 
void valid (bool _valid)
 
bool valid () const
 
void cur_handle (const VertexHandle &_h)
 
reference cur_handle () const
 
const TopologyKernelmesh () const
 

Private Types

typedef BaseCirculator< CellHandle, VertexHandleBaseIter
 

Private Attributes

std::vector< VertexHandlevertices_
 
size_t cur_index_
 

Additional Inherited Members

- Public Types inherited from OpenVolumeMesh::BaseCirculator< CellHandle, VertexHandle >
typedef BaseIterator< VertexHandleBaseIter
 
- Public Types inherited from OpenVolumeMesh::BaseIterator< VertexHandle >
typedef std::bidirectional_iterator_tag iterator_category
 
typedef int difference_type
 
typedef const VertexHandle value_type
 
typedef const VertexHandlepointer
 
typedef const VertexHandlereference
 
- Protected Attributes inherited from OpenVolumeMesh::BaseCirculator< CellHandle, VertexHandle >
int lap_
 
int max_laps_
 
CellHandle ref_handle_
 

Detailed Description

Iterate over all vertices of a hexahedron in a specific order.

Vertices are addressed in the following order:

 5-------6
/|      /|

/ | / | 3----—2 | | 4-—|–7 | / | / |/ |/ 0----—1

Definition at line 178 of file HexahedralMeshIterators.hh.


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