NeuroscopeVideoInfo Class Reference

#include <neuroscopevideoinfo.h>

List of all members.

Public Member Functions

int getRotation () const
int getFlip () const
int getTrajectory () const
QString getBackgroundImage () const
void setRotation (int angle)
void setFlip (int flip)
void setTrajectory (int trajectory)
void setBackgroundImage (QString background)


Detailed Description

Class storing the video information used by NeuroScope.
Author:
Lynn Hazan


Member Function Documentation

int NeuroscopeVideoInfo::getRotation (  )  const [inline]

Returns the video image rotation angle (0,90,180,270). The angle is counted counterclockwise.

Returns:
rotation angle.

int NeuroscopeVideoInfo::getFlip (  )  const [inline]

Returns the video image flip orientation. 0 stands for none, 1 for vertical and 2 for horizontal.

Returns:
flip orientation.

int NeuroscopeVideoInfo::getTrajectory (  )  const [inline]

All the positions contained in a position file can be used to create a background image for the PositionView. The value return by this function tells if such background has to be created.

Returns:
1 if the all the positions contain in the position file have to be drawn on the background, 0 otherwise.

QString NeuroscopeVideoInfo::getBackgroundImage (  )  const [inline]

Gets the url of the background image.

Returns:
the url of the background image, an empty string if no background has been choosen and a dash if the entry does not exist in the file.

void NeuroscopeVideoInfo::setRotation ( int  angle  )  [inline]

Sets the video image rotation angle (0,90,180,270). The angle is counted counterclockwise.

Parameters:
angle the rotation angle.

void NeuroscopeVideoInfo::setFlip ( int  flip  )  [inline]

Sets the video image flip orientation. 0 stands for none, 1 for vertical and 2 for horizontal.

Parameters:
flip flip orientation.

void NeuroscopeVideoInfo::setTrajectory ( int  trajectory  )  [inline]

All the positions contained in a position file can be used to create a background image for the PositionView. The value set by this function tells if such background has to be created.

Parameters:
trajectory 1 if the all the positions contain in the position file have to be drawn on the background, 0 otherwise.

void NeuroscopeVideoInfo::setBackgroundImage ( QString  background  )  [inline]

Sets the url of the background image.

Parameters:
background the url of the background image.


The documentation for this class was generated from the following file:
Generated on Sat Sep 15 16:04:45 2007 for ndmanager.kdevelop by  doxygen 1.5.1