Main Page | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | Directories | File List | Namespace Members | Data Fields | Globals

RobotFlow::CSymbol Class Reference

#include <CSymbol.h>

Inheritance diagram for RobotFlow::CSymbol:

Inheritance graph
[legend]
Collaboration diagram for RobotFlow::CSymbol:

Collaboration graph
[legend]

Detailed Description

CSymbol.

A CSymbol is an object describing a letter extracted from an image.

Author:
Catherine Proulx
Version:
Revision
1.4


Public Member Functions

 CSymbol ()
 CSymbol (int symbolDescriptor, int centerX, int centerY, int width, int height)
 CSymbol (int symbolDescriptor, int centerX, int centerY, int width, int height, std::vector< float > &nnet_output)
 CSymbol (const CSymbol &initSymbol)
virtual ~CSymbol ()
void SetSymbol (int symbolDescriptor, int centerX, int centerY, int width, int height)
void GetSymbolName (std::string &resultString) const
void printOn (std::ostream &out=std::cout) const
int GetCenterX () const
int GetCenterY () const
int GetHeight () const
int GetWidth () const
int GetSymbol () const
std::vector< float > GetNetVector () const
void ref ()
void unref ()
int unique ()
virtual void destroy ()
virtual void serialize (std::ostream &out) const
virtual void unserialize (std::istream &in)
virtual void doesNotUnderstand (std::string method)
virtual bool isNil () const
virtual void prettyPrint (std::ostream &out=std::cout) const
virtual void readFrom (std::istream &in=std::cin)
virtual ObjectRef clone ()
virtual std::string className () const

Static Public Member Functions

static ObjectRef newObject (const std::string &objType)
static int addObjectType (const std::string &objType, _ObjectFactory *factory)
static std::map< std::string,
_ObjectFactory * > & 
ObjectFactoryDictionary ()
static TypeMap< _ObjectFactory * > & TypeidDictionary ()

Protected Attributes

AtomicCounter ref_count

Private Attributes

int mSymbolDescriptor
int mCenterX
int mCenterY
int mHeight
int mWidth
std::vector< float > mNetOutput

Friends

friend std::ostream & operator<< (std::ostream &out, const Object &obj)


Constructor & Destructor Documentation

RobotFlow::CSymbol::CSymbol  ) 
 

RobotFlow::CSymbol::CSymbol int  symbolDescriptor,
int  centerX,
int  centerY,
int  width,
int  height
 

RobotFlow::CSymbol::CSymbol int  symbolDescriptor,
int  centerX,
int  centerY,
int  width,
int  height,
std::vector< float > &  nnet_output
 

RobotFlow::CSymbol::CSymbol const CSymbol initSymbol  ) 
 

RobotFlow::CSymbol::~CSymbol  )  [virtual]
 


Member Function Documentation

int RobotFlow::CSymbol::GetCenterX  )  const [inline]
 

int RobotFlow::CSymbol::GetCenterY  )  const [inline]
 

int RobotFlow::CSymbol::GetHeight  )  const [inline]
 

std::vector<float> RobotFlow::CSymbol::GetNetVector  )  const [inline]
 

int RobotFlow::CSymbol::GetSymbol  )  const [inline]
 

void RobotFlow::CSymbol::GetSymbolName std::string &  resultString  )  const
 

int RobotFlow::CSymbol::GetWidth  )  const [inline]
 

void RobotFlow::CSymbol::printOn std::ostream &  out = std::cout  )  const [virtual]
 

Implements FD::Object.

void RobotFlow::CSymbol::SetSymbol int  symbolDescriptor,
int  centerX,
int  centerY,
int  width,
int  height
 


Field Documentation

int RobotFlow::CSymbol::mCenterX [private]
 

int RobotFlow::CSymbol::mCenterY [private]
 

int RobotFlow::CSymbol::mHeight [private]
 

std::vector<float> RobotFlow::CSymbol::mNetOutput [private]
 

int RobotFlow::CSymbol::mSymbolDescriptor [private]
 

int RobotFlow::CSymbol::mWidth [private]
 


The documentation for this class was generated from the following files:
Generated on Wed Oct 5 14:36:33 2005 for RobotFlow by  doxygen 1.4.4