mimas::string_el Class Reference

Private classes used only for string creation. More...

#include <string_el.h>

Inheritance diagram for mimas::string_el:

Inheritance graph
[legend]
Collaboration diagram for mimas::string_el:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 string_el (const edgel &e)
void draw (image< rgba< unsigned char > > &output, int i, int j, bool c)
 Draw the edgel at the specified position.
string_el_ptr getConnC1 ()
string_el_ptr getConnC2 ()
const string_el_ptr getConnC1 () const
const string_el_ptr getConnC2 () const
void setConnC1 (boost::weak_ptr< string_el > d)
void setConnC2 (boost::weak_ptr< string_el > d)
std::list< boost::weak_ptr<
string_el > > & 
getConnList ()
const std::list< boost::weak_ptr<
string_el > > & 
getConnList () const
int getSpurLen ()
void setSpurLen (int s)
void delConnList ()
void setRemoveMe ()
void resetRemoveMe ()
bool removeMe ()
connect_type getConnectType ()
void setConnectType (connect_type c)
bool isLoop ()
void setLoop (bool b)
edgelgetEdgel ()
void edgeSetConns (property_image &esim, int x, int y, string_el_ptr_list &junc_list, string_el_ptr_list &term_list)

Detailed Description

Private classes used only for string creation.

Definition at line 34 of file string_el.h.


Constructor & Destructor Documentation

mimas::string_el::string_el ( const edgel e  )  [inline]

Definition at line 50 of file string_el.h.

References EDGE_CONN, EDGE_SET_CONN_MASK, mimas::prop::edge_string_t, mimas::prop::setPropertyType(), and mimas::unconnected.

Here is the call graph for this function:


Member Function Documentation

void mimas::string_el::draw ( image< rgba< unsigned char > > &  output,
int  i,
int  j,
bool  c 
) [inline, virtual]

Draw the edgel at the specified position.

If 'c' is true also show the strength. This function is called from the property_image draw function and is used for the case where we have a mixture of properties in a single image

Reimplemented from mimas::edgel.

Definition at line 70 of file string_el.h.

References mimas::connection, mimas::edgel::getStrength(), mimas::junction, mimas::termination, and mimas::unconnected.

Here is the call graph for this function:

string_el_ptr mimas::string_el::getConnC1 (  )  [inline]

Definition at line 102 of file string_el.h.

string_el_ptr mimas::string_el::getConnC2 (  )  [inline]

Definition at line 104 of file string_el.h.

const string_el_ptr mimas::string_el::getConnC1 (  )  const [inline]

Definition at line 106 of file string_el.h.

const string_el_ptr mimas::string_el::getConnC2 (  )  const [inline]

Definition at line 108 of file string_el.h.

void mimas::string_el::setConnC1 ( boost::weak_ptr< string_el d  )  [inline]

Definition at line 110 of file string_el.h.

void mimas::string_el::setConnC2 ( boost::weak_ptr< string_el d  )  [inline]

Definition at line 111 of file string_el.h.

std::list< boost::weak_ptr< string_el > >& mimas::string_el::getConnList (  )  [inline]

Definition at line 112 of file string_el.h.

const std::list< boost::weak_ptr< string_el > >& mimas::string_el::getConnList (  )  const [inline]

Definition at line 114 of file string_el.h.

int mimas::string_el::getSpurLen (  )  [inline]

Definition at line 116 of file string_el.h.

void mimas::string_el::setSpurLen ( int  s  )  [inline]

Definition at line 117 of file string_el.h.

void mimas::string_el::delConnList (  )  [inline]

Definition at line 118 of file string_el.h.

void mimas::string_el::setRemoveMe (  )  [inline]

Definition at line 123 of file string_el.h.

void mimas::string_el::resetRemoveMe (  )  [inline]

Definition at line 124 of file string_el.h.

bool mimas::string_el::removeMe (  )  [inline]

Definition at line 125 of file string_el.h.

connect_type mimas::string_el::getConnectType (  )  [inline]

Definition at line 126 of file string_el.h.

void mimas::string_el::setConnectType ( connect_type  c  )  [inline]

Definition at line 127 of file string_el.h.

bool mimas::string_el::isLoop (  )  [inline]

Definition at line 128 of file string_el.h.

void mimas::string_el::setLoop ( bool  b  )  [inline]

Definition at line 129 of file string_el.h.

edgel* mimas::string_el::getEdgel (  )  [inline]

Definition at line 130 of file string_el.h.

void mimas::string_el::edgeSetConns ( property_image esim,
int  x,
int  y,
string_el_ptr_list junc_list,
string_el_ptr_list term_list 
)


The documentation for this class was generated from the following file:
[GNU/Linux] [Qt] [Mesa] [STL] [Lapack] [Boost] [Magick++] [Xalan-C and Xerces-C] [doxygen] [graphviz] [FFTW] [popt] [xine] [Gnuplot] [gnu-arch] [gcc] [gstreamer] [autoconf/automake/make] [freshmeat.net] [opensource.org] [sourceforge.net] [MMVL]
mimas 2.1 - Copyright Mon Oct 30 11:31:47 2006, Bala Amavasai, Stuart Meikle, Arul Selvan, Fabio Caparrelli, Jan Wedekind, Manuel Boissenin, ...