VSView Class Reference

#include <vsview.h>

Inheritance diagram for VSView:

Inheritance graph
[legend]
Collaboration diagram for VSView:

Collaboration graph
[legend]

List of all members.

Classes

struct  script_instruction

Public Slots

void timerEvent (QTimerEvent *)
void keyPressEvent (QKeyEvent *k)
void mousePressEvent (QMouseEvent *event)
void mouseReleaseEvent (QMouseEvent *event)
void mouseDoubleClickEvent (QMouseEvent *event)
void paintGL ()
 Paint the box.
void show_help ()

Public Member Functions

 VSView (QWidget *parent, const char *name, VideoSource *vs)
 ~VSView ()
void saveCurrentFrame (const char *filename)
bool load_script (const char *fn)
void summary ()

Public Attributes

VideoSourcevs
bool record
bool record_pts
bool record_movie
bool auto_index
bool dark
const char * tree_fn
const char * clusters_fn
const char * descriptors_fn
const char * visual_db_fn
float threshold
int query_flags
bool use_pipeline

Protected Member Functions

void script_exec (int id)
void segment_scene ()

Protected Attributes

int nlost
QWidget * help_window


Detailed Description

Definition at line 35 of file vsview.h.


Constructor & Destructor Documentation

VSView::VSView ( QWidget *  parent,
const char *  name,
VideoSource vs 
)

VSView::~VSView (  ) 

Definition at line 133 of file vsview.cpp.

References help_window, and vs.


Member Function Documentation

void VSView::keyPressEvent ( QKeyEvent *  k  )  [slot]

bool VSView::load_script ( const char *  fn  ) 

Definition at line 1247 of file vsview.cpp.

References trim().

Referenced by main().

void VSView::mouseDoubleClickEvent ( QMouseEvent *  event  )  [slot]

Definition at line 504 of file vsview.cpp.

void VSView::mousePressEvent ( QMouseEvent *  event  )  [virtual, slot]

Reimplemented from GLBox.

Definition at line 509 of file vsview.cpp.

void VSView::mouseReleaseEvent ( QMouseEvent *  event  )  [slot]

Definition at line 524 of file vsview.cpp.

void VSView::paintGL (  )  [virtual, slot]

Paint the box.

The actual openGL commands for drawing the box are performed here.

Reimplemented from GLBox.

Definition at line 929 of file vsview.cpp.

References dark, IplTexture::drawQuad(), tracks::get_nth_frame(), visual_object::get_total(), IplTexture::getIm(), PyrImage::images, TaskTimer::popTask(), TaskTimer::pushTask(), pyr_frame::pyr, GLBox::resizeGL(), GLBox::setAxisUp(), and GLBox::setImageSpace().

void VSView::saveCurrentFrame ( const char *  filename  ) 

Definition at line 303 of file vsview.cpp.

References GLBox::image.

void VSView::script_exec ( int  id  )  [protected]

void VSView::segment_scene (  )  [protected]

void VSView::show_help (  )  [slot]

Definition at line 335 of file vsview.cpp.

References help_window.

Referenced by keyPressEvent().

void VSView::summary (  ) 

Definition at line 1286 of file vsview.cpp.

References fps_stat_bin_size, and TaskTimer::printStats().

Referenced by keyPressEvent(), and timerEvent().

void VSView::timerEvent ( QTimerEvent *   )  [slot]


Member Data Documentation

Definition at line 64 of file vsview.h.

Referenced by keyPressEvent(), timerEvent(), and VSView().

const char * VSView::clusters_fn

Definition at line 88 of file vsview.h.

Referenced by main(), and VSView().

Definition at line 65 of file vsview.h.

Referenced by keyPressEvent(), paintGL(), and VSView().

const char * VSView::descriptors_fn

Definition at line 88 of file vsview.h.

Referenced by main(), and VSView().

QWidget* VSView::help_window [protected]

Definition at line 151 of file vsview.h.

Referenced by show_help(), VSView(), and ~VSView().

int VSView::nlost [protected]

Definition at line 150 of file vsview.h.

Referenced by segment_scene(), and VSView().

Definition at line 91 of file vsview.h.

Referenced by main().

Definition at line 61 of file vsview.h.

Referenced by keyPressEvent(), main(), timerEvent(), and VSView().

Definition at line 63 of file vsview.h.

Referenced by keyPressEvent(), timerEvent(), and VSView().

Definition at line 62 of file vsview.h.

Referenced by keyPressEvent(), main(), timerEvent(), and VSView().

Definition at line 90 of file vsview.h.

Referenced by keyPressEvent(), timerEvent(), and VSView().

const char* VSView::tree_fn

Definition at line 88 of file vsview.h.

Referenced by main(), and VSView().

Definition at line 153 of file vsview.h.

Referenced by main(), timerEvent(), and VSView().

const char* VSView::visual_db_fn

Definition at line 89 of file vsview.h.

Referenced by main(), and VSView().

Definition at line 41 of file vsview.h.

Referenced by keyPressEvent(), timerEvent(), and ~VSView().


The documentation for this class was generated from the following files:

Generated on Tue Mar 30 15:53:26 2010 for Polyora by  doxygen 1.5.9