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

RobotFlow::VisualTargetManager Class Reference

#include <VisualTargetManager.h>

Inheritance diagram for RobotFlow::VisualTargetManager:

Inheritance graph
Collaboration diagram for RobotFlow::VisualTargetManager:

Collaboration graph

Public Member Functions

 VisualTargetManager ()
 VisualTargetManager (std::string nodeName, FD::ParameterSet params)
virtual ~VisualTargetManager ()
void printOn (std::ostream &out) const
void readFrom (std::istream &in)
virtual void request (int output_id, const FD::ParameterSet &req)
void calculate (int output_id, int count, FD::Buffer &out)
virtual ObjectRef getOutput (int output_id, int count)
virtual void initialize ()
virtual void reset ()
virtual int addOutput (const std::string &outputName)
virtual int addInput (const std::string &inputName)
virtual void initializeBuffers ()
virtual void performRequests ()
virtual ObjectRef getOutputNamed (const std::string &outputName, int count)
virtual void connectToNode (std::string in, Node *inputNode, std::string out)
virtual bool hasOutput (int output_id) const
ObjectRef getInput (int inputID, int count)
virtual void stop ()
virtual void cleanupNotify ()
std::string getName ()
virtual void verifyConnect ()
void setUINode (UINode *_uinode)
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 ObjectRef clone ()
virtual std::string className () const

Static Public Member Functions

static int addFactory (const std::string &factoryName, _NodeFactory *const factory)
static int addXPM (const std::string &nodeName, char **XPMData)
static char ** getXPM (const std::string &nodeName)
static _NodeFactory * getFactoryNamed (const std::string &name)
static std::map< std::string,
_NodeFactory * > & 
factoryDictionary ()
static std::vector< std::string > & nodeInfo ()
static std::map< std::string,
char ** > & 
XPMDictionary ()
static int addNodeInfo (const std::string &info)
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 Member Functions

virtual void connectToNode (unsigned int in, Node *inputNode, unsigned int out)
virtual std::vector< NodeInput > & getInputs ()
virtual int translateInput (std::string inputName)
virtual int translateOutput (std::string inputName)
virtual void rt_assert (bool cond, std::string message="", char *_file="unknown", int _line=0)
virtual void construct_assert (bool cond, std::string message="", char *_file="unknown", int _line=0)
virtual void throw_error (bool send_ptr, std::string message, char *_file, int _line)

Protected Attributes

int processCount
std::vector< OutputCacheInfo > outputs
std::vector< InputCacheInfo > inputsCache
bool inOrder
std::string name
std::vector< NodeInput > inputs
std::vector< std::string > outputNames
ParameterSet parameters
UINode * uinode
AtomicCounter ref_count

Private Attributes

int m_imageInID
int m_roiInID
int m_featVecInID
int m_targetInID
int m_ppCompletedInID
int m_imageOutID
int m_roiOutID
int m_targetOutID
int m_targetProbOutID
int m_targetDXOutID
int m_targetDYOutID
int m_nameOutID
int m_width
int m_height
int m_numChannels
int m_numPixels
int m_numBytesInFrame
float m_imgXCen
float m_imgYCen
unsigned char m_roiColor [3]
float m_lSigma
timeb m_t1 m_t2
int m_maxNumTargets
double m_targetMatchThres
double m_targetAdaptThres
double m_targetAdaptRate
double m_cueAdaptRate
bool m_ppCompleted
FD::RCPtr< VisualTarget< double > > m_refTarget
IplImage * m_curImage


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

Constructor & Destructor Documentation

RobotFlow::VisualTargetManager::VisualTargetManager  ) 

RobotFlow::VisualTargetManager::VisualTargetManager std::string  nodeName,
FD::ParameterSet  params

RobotFlow::VisualTargetManager::~VisualTargetManager  )  [virtual]

Member Function Documentation

void RobotFlow::VisualTargetManager::calculate int  output_id,
int  count,
FD::Buffer out

Implements FD::BufferedNode.

void RobotFlow::VisualTargetManager::printOn std::ostream &  out  )  const [inline, virtual]

Reimplemented from FD::Node.

void RobotFlow::VisualTargetManager::readFrom std::istream &  in  )  [inline, virtual]

Reimplemented from FD::Object.

void RobotFlow::VisualTargetManager::request int  output_id,
const FD::ParameterSet req

Reimplemented from FD::BufferedNode.

Friends And Related Function Documentation

friend class FD::BufferedNode [friend]

Field Documentation

double RobotFlow::VisualTargetManager::m_cueAdaptRate [private]

IplImage* RobotFlow::VisualTargetManager::m_curImage [private]

int RobotFlow::VisualTargetManager::m_featVecInID [private]

int RobotFlow::VisualTargetManager::m_height [private]

int RobotFlow::VisualTargetManager::m_imageInID [private]

int RobotFlow::VisualTargetManager::m_imageOutID [private]

float RobotFlow::VisualTargetManager::m_imgXCen [private]

float RobotFlow::VisualTargetManager::m_imgYCen [private]

float RobotFlow::VisualTargetManager::m_lSigma [private]

int RobotFlow::VisualTargetManager::m_maxNumTargets [private]

int RobotFlow::VisualTargetManager::m_nameOutID [private]

int RobotFlow::VisualTargetManager::m_numBytesInFrame [private]

int RobotFlow::VisualTargetManager::m_numChannels [private]

int RobotFlow::VisualTargetManager::m_numPixels [private]

bool RobotFlow::VisualTargetManager::m_ppCompleted [private]

int RobotFlow::VisualTargetManager::m_ppCompletedInID [private]

FD::RCPtr<VisualTarget<double> > RobotFlow::VisualTargetManager::m_refTarget [private]

unsigned char RobotFlow::VisualTargetManager::m_roiColor[3] [private]

int RobotFlow::VisualTargetManager::m_roiInID [private]

int RobotFlow::VisualTargetManager::m_roiOutID [private]

struct timeb m_t1 RobotFlow::VisualTargetManager::m_t2 [private]

double RobotFlow::VisualTargetManager::m_targetAdaptRate [private]

double RobotFlow::VisualTargetManager::m_targetAdaptThres [private]

int RobotFlow::VisualTargetManager::m_targetDXOutID [private]

int RobotFlow::VisualTargetManager::m_targetDYOutID [private]

int RobotFlow::VisualTargetManager::m_targetInID [private]

double RobotFlow::VisualTargetManager::m_targetMatchThres [private]

int RobotFlow::VisualTargetManager::m_targetOutID [private]

int RobotFlow::VisualTargetManager::m_targetProbOutID [private]

int RobotFlow::VisualTargetManager::m_width [private]

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