Visualization Library 2.0.0-b5

A lightweight C++ OpenGL middleware for 2D/3D graphics

VL     Star     Watch     Fork     Issue

[Download] [Tutorials] [All Classes] [Grouped Classes]
Classes | Public Types | Public Member Functions | Protected Attributes | List of all members
triangle_stripper::common_structures::graph_array< nodetype, arctype > Class Template Reference

#include <TriStrip_tri_stripper.h>

Classes

class  arc
 
class  node
 

Public Types

typedef size_t nodeid
 
typedef std::vector< node >::iterator node_iterator
 
typedef std::vector< node >::const_iterator const_node_iterator
 
typedef std::vector< node >::reverse_iterator node_reverse_iterator
 
typedef std::vector< node >::const_reverse_iterator const_node_reverse_iterator
 
typedef graph_array< nodetype, arctype > _mytype
 
typedef std::list< arc >::iterator out_arc_iterator
 
typedef std::list< arc >::const_iterator const_out_arc_iterator
 

Public Member Functions

 graph_array ()
 
 graph_array (const size_t NbNodes)
 
void clear ()
 
bool empty () const
 
void setsize (const size_t NbNodes)
 
size_t size () const
 
nodeoperator[] (const nodeid &i)
 
const nodeoperator[] (const nodeid &i) const
 
node_iterator begin ()
 
node_iterator end ()
 
const_node_iterator begin () const
 
const_node_iterator end () const
 
node_reverse_iterator rbegin ()
 
node_reverse_iterator rend ()
 
const_node_reverse_iterator rbegin () const
 
const_node_reverse_iterator rend () const
 
size_t number_of_arcs () const
 
void erase_arcs ()
 
void erase_arcs (const node_iterator &Initial)
 
out_arc_iterator erase_arc (const out_arc_iterator &Pos)
 
out_arc_iterator insert_arc (const nodeid &Initial, const nodeid &Terminal)
 
out_arc_iterator insert_arc (const nodeid &Initial, const nodeid &Terminal, const arctype &Elem)
 
out_arc_iterator insert_arc (const node_iterator &Initial, const node_iterator &Terminal)
 
out_arc_iterator insert_arc (const node_iterator &Initial, const node_iterator &Terminal, const arctype &Elem)
 
out_arc_iterator insert (const nodeid &Initial, const nodeid &Terminal)
 
out_arc_iterator insert (const nodeid &Initial, const nodeid &Terminal, const arctype &Elem)
 
out_arc_iterator insert (const node_iterator &Initial, const node_iterator &Terminal)
 
out_arc_iterator insert (const node_iterator &Initial, const node_iterator &Terminal, const arctype &Elem)
 
void swap (_mytype &Right)
 

Protected Attributes

size_t m_NbArcs
 
std::vector< nodem_Nodes
 

Detailed Description

template<class nodetype, class arctype>
class triangle_stripper::common_structures::graph_array< nodetype, arctype >

Definition at line 62 of file TriStrip_tri_stripper.h.

Member Typedef Documentation

◆ _mytype

template<class nodetype, class arctype>
typedef graph_array<nodetype, arctype> triangle_stripper::common_structures::graph_array< nodetype, arctype >::_mytype

Definition at line 76 of file TriStrip_tri_stripper.h.

◆ const_node_iterator

template<class nodetype, class arctype>
typedef std::vector<node>::const_iterator triangle_stripper::common_structures::graph_array< nodetype, arctype >::const_node_iterator

Definition at line 72 of file TriStrip_tri_stripper.h.

◆ const_node_reverse_iterator

template<class nodetype, class arctype>
typedef std::vector<node>::const_reverse_iterator triangle_stripper::common_structures::graph_array< nodetype, arctype >::const_node_reverse_iterator

Definition at line 74 of file TriStrip_tri_stripper.h.

◆ const_out_arc_iterator

template<class nodetype, class arctype>
typedef std::list<arc>::const_iterator triangle_stripper::common_structures::graph_array< nodetype, arctype >::const_out_arc_iterator

Definition at line 111 of file TriStrip_tri_stripper.h.

◆ node_iterator

template<class nodetype, class arctype>
typedef std::vector<node>::iterator triangle_stripper::common_structures::graph_array< nodetype, arctype >::node_iterator

Definition at line 71 of file TriStrip_tri_stripper.h.

◆ node_reverse_iterator

template<class nodetype, class arctype>
typedef std::vector<node>::reverse_iterator triangle_stripper::common_structures::graph_array< nodetype, arctype >::node_reverse_iterator

Definition at line 73 of file TriStrip_tri_stripper.h.

◆ nodeid

template<class nodetype, class arctype>
typedef size_t triangle_stripper::common_structures::graph_array< nodetype, arctype >::nodeid

Definition at line 67 of file TriStrip_tri_stripper.h.

◆ out_arc_iterator

template<class nodetype, class arctype>
typedef std::list<arc>::iterator triangle_stripper::common_structures::graph_array< nodetype, arctype >::out_arc_iterator

Definition at line 110 of file TriStrip_tri_stripper.h.

Constructor & Destructor Documentation

◆ graph_array() [1/2]

template<class nodetype , class arctype >
triangle_stripper::common_structures::graph_array< nodetype, arctype >::graph_array ( )
inline

Definition at line 222 of file TriStrip_tri_stripper.h.

◆ graph_array() [2/2]

template<class nodetype , class arctype >
triangle_stripper::common_structures::graph_array< nodetype, arctype >::graph_array ( const size_t  NbNodes)
inlineexplicit

Definition at line 226 of file TriStrip_tri_stripper.h.

Member Function Documentation

◆ begin() [1/2]

template<class nodetype , class arctype >
graph_array< nodetype, arctype >::node_iterator triangle_stripper::common_structures::graph_array< nodetype, arctype >::begin ( )
inline

Definition at line 277 of file TriStrip_tri_stripper.h.

◆ begin() [2/2]

template<class nodetype , class arctype >
graph_array< nodetype, arctype >::const_node_iterator triangle_stripper::common_structures::graph_array< nodetype, arctype >::begin ( ) const
inline

Definition at line 289 of file TriStrip_tri_stripper.h.

◆ clear()

template<class nodetype , class arctype >
void triangle_stripper::common_structures::graph_array< nodetype, arctype >::clear ( )
inline

Definition at line 230 of file TriStrip_tri_stripper.h.

◆ empty()

template<class nodetype , class arctype >
bool triangle_stripper::common_structures::graph_array< nodetype, arctype >::empty ( ) const
inline

Definition at line 238 of file TriStrip_tri_stripper.h.

◆ end() [1/2]

template<class nodetype , class arctype >
graph_array< nodetype, arctype >::node_iterator triangle_stripper::common_structures::graph_array< nodetype, arctype >::end ( )
inline

Definition at line 283 of file TriStrip_tri_stripper.h.

◆ end() [2/2]

template<class nodetype , class arctype >
graph_array< nodetype, arctype >::const_node_iterator triangle_stripper::common_structures::graph_array< nodetype, arctype >::end ( ) const
inline

Definition at line 295 of file TriStrip_tri_stripper.h.

◆ erase_arc()

template<class nodetype , class arctype >
graph_array< nodetype, arctype >::out_arc_iterator triangle_stripper::common_structures::graph_array< nodetype, arctype >::erase_arc ( const out_arc_iterator Pos)
inline

Definition at line 359 of file TriStrip_tri_stripper.h.

◆ erase_arcs() [1/2]

template<class nodetype , class arctype >
void triangle_stripper::common_structures::graph_array< nodetype, arctype >::erase_arcs ( )
inline

Definition at line 373 of file TriStrip_tri_stripper.h.

◆ erase_arcs() [2/2]

template<class nodetype , class arctype >
void triangle_stripper::common_structures::graph_array< nodetype, arctype >::erase_arcs ( const node_iterator Initial)
inline

Definition at line 366 of file TriStrip_tri_stripper.h.

◆ insert() [1/4]

template<class nodetype, class arctype>
out_arc_iterator triangle_stripper::common_structures::graph_array< nodetype, arctype >::insert ( const nodeid Initial,
const nodeid Terminal 
)
inline

Definition at line 185 of file TriStrip_tri_stripper.h.

◆ insert() [2/4]

template<class nodetype, class arctype>
out_arc_iterator triangle_stripper::common_structures::graph_array< nodetype, arctype >::insert ( const nodeid Initial,
const nodeid Terminal,
const arctype &  Elem 
)
inline

Definition at line 186 of file TriStrip_tri_stripper.h.

◆ insert() [3/4]

template<class nodetype, class arctype>
out_arc_iterator triangle_stripper::common_structures::graph_array< nodetype, arctype >::insert ( const node_iterator Initial,
const node_iterator Terminal 
)
inline

Definition at line 187 of file TriStrip_tri_stripper.h.

◆ insert() [4/4]

template<class nodetype, class arctype>
out_arc_iterator triangle_stripper::common_structures::graph_array< nodetype, arctype >::insert ( const node_iterator Initial,
const node_iterator Terminal,
const arctype &  Elem 
)
inline

Definition at line 188 of file TriStrip_tri_stripper.h.

◆ insert_arc() [1/4]

template<class nodetype , class arctype >
graph_array< nodetype, arctype >::out_arc_iterator triangle_stripper::common_structures::graph_array< nodetype, arctype >::insert_arc ( const nodeid Initial,
const nodeid Terminal 
)
inline

Definition at line 331 of file TriStrip_tri_stripper.h.

◆ insert_arc() [2/4]

template<class nodetype , class arctype>
graph_array< nodetype, arctype >::out_arc_iterator triangle_stripper::common_structures::graph_array< nodetype, arctype >::insert_arc ( const nodeid Initial,
const nodeid Terminal,
const arctype &  Elem 
)
inline

Definition at line 337 of file TriStrip_tri_stripper.h.

◆ insert_arc() [3/4]

template<class nodetype , class arctype>
graph_array< nodetype, arctype >::out_arc_iterator triangle_stripper::common_structures::graph_array< nodetype, arctype >::insert_arc ( const node_iterator Initial,
const node_iterator Terminal 
)
inline

Definition at line 343 of file TriStrip_tri_stripper.h.

◆ insert_arc() [4/4]

template<class nodetype , class arctype>
graph_array< nodetype, arctype >::out_arc_iterator triangle_stripper::common_structures::graph_array< nodetype, arctype >::insert_arc ( const node_iterator Initial,
const node_iterator Terminal,
const arctype &  Elem 
)
inline

Definition at line 351 of file TriStrip_tri_stripper.h.

◆ number_of_arcs()

template<class nodetype , class arctype >
size_t triangle_stripper::common_structures::graph_array< nodetype, arctype >::number_of_arcs ( ) const
inline

Definition at line 325 of file TriStrip_tri_stripper.h.

◆ operator[]() [1/2]

template<class nodetype , class arctype >
graph_array< nodetype, arctype >::node & triangle_stripper::common_structures::graph_array< nodetype, arctype >::operator[] ( const nodeid i)
inline

Definition at line 257 of file TriStrip_tri_stripper.h.

◆ operator[]() [2/2]

template<class nodetype , class arctype >
const graph_array< nodetype, arctype >::node & triangle_stripper::common_structures::graph_array< nodetype, arctype >::operator[] ( const nodeid i) const
inline

Definition at line 267 of file TriStrip_tri_stripper.h.

◆ rbegin() [1/2]

template<class nodetype , class arctype >
graph_array< nodetype, arctype >::node_reverse_iterator triangle_stripper::common_structures::graph_array< nodetype, arctype >::rbegin ( )
inline

Definition at line 301 of file TriStrip_tri_stripper.h.

◆ rbegin() [2/2]

template<class nodetype , class arctype >
graph_array< nodetype, arctype >::const_node_reverse_iterator triangle_stripper::common_structures::graph_array< nodetype, arctype >::rbegin ( ) const
inline

Definition at line 313 of file TriStrip_tri_stripper.h.

◆ rend() [1/2]

template<class nodetype , class arctype >
graph_array< nodetype, arctype >::node_reverse_iterator triangle_stripper::common_structures::graph_array< nodetype, arctype >::rend ( )
inline

Definition at line 307 of file TriStrip_tri_stripper.h.

◆ rend() [2/2]

template<class nodetype , class arctype >
graph_array< nodetype, arctype >::const_node_reverse_iterator triangle_stripper::common_structures::graph_array< nodetype, arctype >::rend ( ) const
inline

Definition at line 319 of file TriStrip_tri_stripper.h.

◆ setsize()

template<class nodetype , class arctype >
void triangle_stripper::common_structures::graph_array< nodetype, arctype >::setsize ( const size_t  NbNodes)
inline

Definition at line 250 of file TriStrip_tri_stripper.h.

◆ size()

template<class nodetype , class arctype >
size_t triangle_stripper::common_structures::graph_array< nodetype, arctype >::size ( ) const
inline

Definition at line 244 of file TriStrip_tri_stripper.h.

◆ swap()

template<class nodetype , class arctype >
void triangle_stripper::common_structures::graph_array< nodetype, arctype >::swap ( _mytype Right)
inline

Definition at line 381 of file TriStrip_tri_stripper.h.

Member Data Documentation

◆ m_NbArcs

template<class nodetype, class arctype>
size_t triangle_stripper::common_structures::graph_array< nodetype, arctype >::m_NbArcs
protected

Definition at line 198 of file TriStrip_tri_stripper.h.

◆ m_Nodes

template<class nodetype, class arctype>
std::vector<node> triangle_stripper::common_structures::graph_array< nodetype, arctype >::m_Nodes
protected

Definition at line 199 of file TriStrip_tri_stripper.h.


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