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

RobotFlow::VisualROISelection Class Reference

Inheritance diagram for RobotFlow::VisualROISelection:

Inheritance graph
Collaboration diagram for RobotFlow::VisualROISelection:

Collaboration graph

Public Member Functions

 VisualROISelection (string nodeName, ParameterSet params)
virtual ~VisualROISelection ()
void initialize ()
void display_pixbuf ()
void calculate (int output_id, int count, Buffer &out)
virtual ObjectRef getOutput (int output_id, int count)
virtual void request (int outputID, const ParameterSet &req)
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 printOn (std::ostream &out=std::cout) const
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 void readFrom (std::istream &in=std::cin)
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_inImageID
int m_outROIID
bool m_show
bool m_saving
int m_skip
int m_width
int m_height
int m_numChannels
int m_numBytesInFrame
int m_BBx1
int m_BBx2
int m_BBy1
int m_BBy2
unsigned char m_roiColor [3]
GtkWidget * window1
GtkWidget * vbox1
GtkWidget * vbox2
GtkWidget * scrolledwindow2
GtkWidget * canvas1
GtkWidget * hbox1
GtkWidget * save_button
GtkWidget * show_button
GnomeCanvasItem * m_pixbuf_item
GdkPixbuf * m_pixbuf
int m_last_count
ObjectRef m_imageRef
int m_roiType
IplImage * m_curFrame


void on_save_button_clicked (GtkButton *button, VisualROISelection *cSelection)
void on_show_button_clicked (GtkButton *button, VisualROISelection *cSelection)
gboolean pixbuf_event_function (GnomeCanvasItem *canvasitem, GdkEvent *event, VisualROISelection *cSelection)
friend std::ostream & operator<< (std::ostream &out, const Object &obj)

Constructor & Destructor Documentation

RobotFlow::VisualROISelection::VisualROISelection string  nodeName,
ParameterSet  params

virtual RobotFlow::VisualROISelection::~VisualROISelection  )  [inline, virtual]

Member Function Documentation

void RobotFlow::VisualROISelection::calculate int  output_id,
int  count,
Buffer out
[inline, virtual]

Implements FD::BufferedNode.

void RobotFlow::VisualROISelection::display_pixbuf  )  [inline]

void RobotFlow::VisualROISelection::initialize  )  [inline, virtual]

Reimplemented from FD::BufferedNode.

Friends And Related Function Documentation

void on_save_button_clicked GtkButton *  button,
VisualROISelection cSelection

void on_show_button_clicked GtkButton *  button,
VisualROISelection cSelection

gboolean pixbuf_event_function GnomeCanvasItem *  canvasitem,
GdkEvent *  event,
VisualROISelection cSelection

Field Documentation

GtkWidget* RobotFlow::VisualROISelection::canvas1 [private]

GtkWidget* RobotFlow::VisualROISelection::hbox1 [private]

int RobotFlow::VisualROISelection::m_BBx1 [private]

int RobotFlow::VisualROISelection::m_BBx2 [private]

int RobotFlow::VisualROISelection::m_BBy1 [private]

int RobotFlow::VisualROISelection::m_BBy2 [private]

IplImage* RobotFlow::VisualROISelection::m_curFrame [private]

int RobotFlow::VisualROISelection::m_height [private]

ObjectRef RobotFlow::VisualROISelection::m_imageRef [private]

int RobotFlow::VisualROISelection::m_inImageID [private]

int RobotFlow::VisualROISelection::m_last_count [private]

int RobotFlow::VisualROISelection::m_numBytesInFrame [private]

int RobotFlow::VisualROISelection::m_numChannels [private]

int RobotFlow::VisualROISelection::m_outROIID [private]

GdkPixbuf* RobotFlow::VisualROISelection::m_pixbuf [private]

GnomeCanvasItem* RobotFlow::VisualROISelection::m_pixbuf_item [private]

VisualROI* RobotFlow::VisualROISelection::m_roi [private]

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

int RobotFlow::VisualROISelection::m_roiType [private]

bool RobotFlow::VisualROISelection::m_saving [private]

bool RobotFlow::VisualROISelection::m_show [private]

int RobotFlow::VisualROISelection::m_skip [private]

int RobotFlow::VisualROISelection::m_width [private]

GtkWidget* RobotFlow::VisualROISelection::save_button [private]

GtkWidget* RobotFlow::VisualROISelection::scrolledwindow2 [private]

GtkWidget* RobotFlow::VisualROISelection::show_button [private]

GtkWidget* RobotFlow::VisualROISelection::vbox1 [private]

GtkWidget* RobotFlow::VisualROISelection::vbox2 [private]

GtkWidget* RobotFlow::VisualROISelection::window1 [private]

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