Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

MesherEdge< PrimType > Class Template Reference

#include <mesherEdge.h>

List of all members.

Public Types

typedef PrimType Prim
typedef TYPENAME PrimType::Vertex Vertex
typedef MesherStrip< PrimType > Strip
typedef plist< Strip * > Strips

Public Member Functions

 MesherEdge (const Vertex *a, const Vertex *b)
 MesherEdge (const MesherEdge &copy)
void remove (Strip *strip)
 Removes an edge from a particular strip.

void change_strip (Strip *from, Strip *to)
 Reparents the edge from strip "from" to strip "to".

bool contains_vertex (const Vertex *v) const
bool matches (const MesherEdge &other) const
MesherEdge * common_ptr ()
bool operator== (const MesherEdge &other) const
bool operator!= (const MesherEdge &other) const
bool operator< (const MesherEdge &other) const
float compute_length (const BuilderBucket &bucket) const
Vertexf compute_box (const BuilderBucket &bucket) const
ostream & output (ostream &out) const
 Formats the edge for output in some sensible way.


Public Attributes

const Vertex_a
const Vertex_b
Strips _strips
MesherEdge * _opposite

template<class PrimType>
class MesherEdge< PrimType >


Member Typedef Documentation

template<class PrimType>
typedef PrimType MesherEdge< PrimType >::Prim
 

Definition at line 40 of file mesherEdge.h.

template<class PrimType>
typedef MesherStrip<PrimType> MesherEdge< PrimType >::Strip
 

Definition at line 42 of file mesherEdge.h.

template<class PrimType>
typedef plist<Strip *> MesherEdge< PrimType >::Strips
 

Definition at line 67 of file mesherEdge.h.

template<class PrimType>
typedef TYPENAME PrimType::Vertex MesherEdge< PrimType >::Vertex
 

Definition at line 41 of file mesherEdge.h.


Constructor & Destructor Documentation

template<class PrimType>
MesherEdge< PrimType >::MesherEdge const Vertex a,
const Vertex b
[inline]
 

Definition at line 26 of file mesherEdge.I.

References INLINE.

template<class PrimType>
MesherEdge< PrimType >::MesherEdge const MesherEdge< PrimType > &  copy  )  [inline]
 

Definition at line 32 of file mesherEdge.I.


Member Function Documentation

template<class PrimType>
void MesherEdge< PrimType >::change_strip Strip from,
Strip to
 

Reparents the edge from strip "from" to strip "to".

Definition at line 125 of file mesherEdge.I.

References MesherEdge< PrimType >::_opposite.

template<class PrimType>
MesherEdge< PrimType > * MesherEdge< PrimType >::common_ptr  )  [inline]
 

Definition at line 56 of file mesherEdge.I.

References MesherEdge< PrimType >::_a, MesherEdge< PrimType >::_b, and INLINE.

template<class PrimType>
Vertexf MesherEdge< PrimType >::compute_box const BuilderBucket bucket  )  const [inline]
 

Definition at line 88 of file mesherEdge.I.

template<class PrimType>
float MesherEdge< PrimType >::compute_length const BuilderBucket bucket  )  const [inline]
 

Definition at line 80 of file mesherEdge.I.

Referenced by MesherStrip< PrimType >::convert_to_type().

template<class PrimType>
bool MesherEdge< PrimType >::contains_vertex const Vertex v  )  const [inline]
 

Definition at line 42 of file mesherEdge.I.

References MesherEdge< PrimType >::_a, MesherEdge< PrimType >::_b, and INLINE.

template<class PrimType>
bool MesherEdge< PrimType >::matches const MesherEdge< PrimType > &  other  )  const [inline]
 

Definition at line 49 of file mesherEdge.I.

template<class PrimType>
bool MesherEdge< PrimType >::operator!= const MesherEdge< PrimType > &  other  )  const [inline]
 

Definition at line 68 of file mesherEdge.I.

References MesherEdge< PrimType >::_a, MesherEdge< PrimType >::_b, and INLINE.

template<class PrimType>
bool MesherEdge< PrimType >::operator< const MesherEdge< PrimType > &  other  )  const [inline]
 

Definition at line 74 of file mesherEdge.I.

References MesherEdge< PrimType >::_a, MesherEdge< PrimType >::_b, INLINE, and Vertexf.

template<class PrimType>
bool MesherEdge< PrimType >::operator== const MesherEdge< PrimType > &  other  )  const [inline]
 

Definition at line 62 of file mesherEdge.I.

References INLINE.

template<class PrimType>
ostream & MesherEdge< PrimType >::output ostream &  out  )  const
 

Formats the edge for output in some sensible way.

Definition at line 153 of file mesherEdge.I.

References MesherEdge< PrimType >::_opposite.

template<class PrimType>
void MesherEdge< PrimType >::remove Strip strip  ) 
 

Removes an edge from a particular strip.

Definition at line 105 of file mesherEdge.I.


Member Data Documentation

template<class PrimType>
const Vertex* MesherEdge< PrimType >::_a
 

Definition at line 65 of file mesherEdge.h.

Referenced by MesherEdge< PrimType >::common_ptr(), MesherEdge< PrimType >::contains_vertex(), MesherStrip< PrimType >::find_opposite_edge(), MesherEdge< PrimType >::operator!=(), MesherEdge< PrimType >::operator<(), and MesherStrip< PrimType >::would_reverse_tail().

template<class PrimType>
const Vertex * MesherEdge< PrimType >::_b
 

Definition at line 65 of file mesherEdge.h.

Referenced by MesherEdge< PrimType >::common_ptr(), MesherEdge< PrimType >::contains_vertex(), MesherStrip< PrimType >::find_opposite_edge(), MesherEdge< PrimType >::operator!=(), MesherEdge< PrimType >::operator<(), and MesherStrip< PrimType >::would_reverse_tail().

template<class PrimType>
MesherEdge* MesherEdge< PrimType >::_opposite
 

Definition at line 69 of file mesherEdge.h.

Referenced by MesherEdge< PrimType >::change_strip(), and MesherEdge< PrimType >::output().

template<class PrimType>
Strips MesherEdge< PrimType >::_strips
 

Definition at line 68 of file mesherEdge.h.


The documentation for this class was generated from the following files:
Generated on Fri May 2 00:52:10 2003 for Panda by doxygen1.3