#include <VisTrackVisp.h>
Public Member Functions | |
VisualTrackVispVar (bool green, bool moments, Decimal grayLevel) | |
Default Constructor. | |
~VisualTrackVispVar () | |
Destructor. | |
void | setDisplay (int level) |
Sets the level of visualization. | |
int | getDisplay () |
Sets the level of visualization. | |
void | closeDisplay () |
Closes displays. | |
void | setInit (int newVal) |
Sets init value. | |
int | getInit () |
Gets init value. | |
void | setVideoSaving (int videoFlag) |
Sets the video save flag. | |
int | getVideoSaving () |
Gets the video save flag. | |
Public Attributes | |
vpDot2 | _d2 |
vpImagePoint | _cog |
vpImagePoint | initPoint |
IplImage * | image |
Working copy of image. | |
int | track |
int | grayLevel |
CvVideoWriter * | videoWriter |
video streaming writer | |
CvSize | refScaleFact |
CvPoint | imageCentre |
vpImage< unsigned char > | _frameVP |
MipAlgorithms::VisualTrackVispVar::VisualTrackVispVar | ( | bool | green, | |
bool | moments, | |||
Decimal | grayLevel | |||
) |
Default Constructor.
MipAlgorithms::VisualTrackVispVar::~VisualTrackVispVar | ( | ) |
Destructor.
void MipAlgorithms::VisualTrackVispVar::setDisplay | ( | int | level | ) |
Sets the level of visualization.
level | 0: do not visualize anything, 1 visualizes Selection in mainFrame, 2 visualize all elaborations TODO: Create function to open and close mainframe for selection only |
int MipAlgorithms::VisualTrackVispVar::getDisplay | ( | ) | [inline] |
Sets the level of visualization.
void MipAlgorithms::VisualTrackVispVar::closeDisplay | ( | ) |
Closes displays.
void MipAlgorithms::VisualTrackVispVar::setInit | ( | int | newVal | ) | [inline] |
Sets init value.
int MipAlgorithms::VisualTrackVispVar::getInit | ( | ) | [inline] |
Gets init value.
void MipAlgorithms::VisualTrackVispVar::setVideoSaving | ( | int | videoFlag | ) |
Sets the video save flag.
level | 0: do not save the video streaming, 1 save the video streaming |
int MipAlgorithms::VisualTrackVispVar::getVideoSaving | ( | ) | [inline] |
Gets the video save flag.
vpImagePoint MipAlgorithms::VisualTrackVispVar::_cog |
vpImagePoint MipAlgorithms::VisualTrackVispVar::initPoint |
IplImage* MipAlgorithms::VisualTrackVispVar::image |
Working copy of image.
CvVideoWriter* MipAlgorithms::VisualTrackVispVar::videoWriter |
video streaming writer
vpImage<unsigned char> MipAlgorithms::VisualTrackVispVar::_frameVP |