iso::tracker::TrackObject Class Reference

#include <iso_tracker_track_object.h>

List of all members.

Public Member Functions

 TrackObject (const math::Vector2< unsigned int > &pFrameSize)
 create track object
 TrackObject (const math::Vector2< unsigned int > &pFrameSize, unsigned int pSubObjectCount)
 create track object
 ~TrackObject ()
 destructor
bool active () const
 return active flag
const math::Vector2< float > minSize () const
 return minimum track object size
IplImage * image ()
 return image
IplImage * bitmap ()
 return bitmap image
QVector< math::Vector2< float > > & contour ()
 return contour
math::Rectangle< float > & bbox ()
 return bounding box
float & area ()
 return area density
math::Vector2< float > & cog ()
 return center of gravity
float & orientation ()
 return orientation
math::Vector2< float > & motion ()
 return total object motion
virtual void setActive (bool pActive)
 set active flag
void setMinSize (const math::Vector2< float > &pMinSize)
void addSubObject (TrackObject *pTrackObject)
unsigned int subObjectCount () const
QVector< TrackObject * > & subObjects ()

Public Attributes

math::Vector4< float > mColor

Protected Attributes

math::Vector2< float > mMinSize
IplImage * mImage
IplImage * mBitmap
 image containing information from track object only
QVector< math::Vector2< float > > mContour
 bitmap image
math::Rectangle< float > mBBox
 2d contour
float mArea
 bounding box
math::Vector2< float > mCOG
 area density
math::Vector2< float > mPrevCog
 center of gravity
float mOrientation
 previous center of gravity
math::Vector2< float > mMotion
 orientation
bool mActive
 total object motion
QVector< TrackObject * > mSubObjects
 flag whether tracker object is active or not

Static Protected Attributes

static math::Vector2< float > sMinSize


Constructor & Destructor Documentation

TrackObject::TrackObject ( const math::Vector2< unsigned int > &  pFrameSize  ) 

create track object

Parameters:
pFrameSize tracker frame size

TrackObject::TrackObject ( const math::Vector2< unsigned int > &  pFrameSize,
unsigned int  pSubObjectCount 
)

create track object

Parameters:
pFrameSize tracker frame size
pSubObjectCount number of track sub objects

TrackObject::~TrackObject (  ) 

destructor


Member Function Documentation

bool TrackObject::active (  )  const

return active flag

Returns:
active flag

const math::Vector2< float > TrackObject::minSize (  )  const

return minimum track object size

Returns:
minimum track object size

IplImage * TrackObject::image (  ) 

return image

Returns:
image

IplImage * TrackObject::bitmap (  ) 

return bitmap image

Returns:
bitmap image

QVector< math::Vector2< float > > & TrackObject::contour (  ) 

return contour

Returns:
contour

math::Rectangle< float > & TrackObject::bbox (  ) 

return bounding box

Returns:
bounding box

float & TrackObject::area (  ) 

return area density

Returns:
area density

math::Vector2< float > & TrackObject::cog (  ) 

return center of gravity

Returns:
center of gravity

float & TrackObject::orientation (  ) 

return orientation

Returns:
orientation

math::Vector2< float > & TrackObject::motion (  ) 

return total object motion

Returns:
total object motion

void TrackObject::setActive ( bool  pActive  )  [virtual]

set active flag

Parameters:
pActive active flag

void TrackObject::setMinSize ( const math::Vector2< float > &  pMinSize  ) 

void TrackObject::addSubObject ( TrackObject pTrackObject  ) 

unsigned int TrackObject::subObjectCount (  )  const

QVector< TrackObject * > & TrackObject::subObjects (  ) 


Member Data Documentation

math::Vector4<float> iso::tracker::TrackObject::mColor

math::Vector2< float > TrackObject::sMinSize [static, protected]

math::Vector2<float> iso::tracker::TrackObject::mMinSize [protected]

IplImage* iso::tracker::TrackObject::mImage [protected]

IplImage* iso::tracker::TrackObject::mBitmap [protected]

image containing information from track object only

QVector< math::Vector2<float> > iso::tracker::TrackObject::mContour [protected]

bitmap image

math::Rectangle<float> iso::tracker::TrackObject::mBBox [protected]

2d contour

float iso::tracker::TrackObject::mArea [protected]

bounding box

math::Vector2<float> iso::tracker::TrackObject::mCOG [protected]

area density

math::Vector2<float> iso::tracker::TrackObject::mPrevCog [protected]

center of gravity

float iso::tracker::TrackObject::mOrientation [protected]

previous center of gravity

math::Vector2<float> iso::tracker::TrackObject::mMotion [protected]

orientation

bool iso::tracker::TrackObject::mActive [protected]

total object motion

QVector< TrackObject* > iso::tracker::TrackObject::mSubObjects [protected]

flag whether tracker object is active or not


The documentation for this class was generated from the following files:
Generated on Fri Feb 25 14:20:29 2011 for iso_tracker by  doxygen 1.5.1