PropertyVectorSet Class Reference

class that contains a set of property vectors for events More...

#include <MBARI/VisualEvent.H>

Collaboration diagram for PropertyVectorSet:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 PropertyVectorSet ()
 default contructor
 PropertyVectorSet (std::istream &is)
 read from stream constructor
void writeToStream (std::ostream &os) const
 write the entire PropertyVectorSet to the output stream os
void readFromStream (std::istream &is)
 read the PropertyVectorSet from the input stream is
std::vector< float > getPropertyVectorForEvent (const int num)
 return the PropertyVector for an event by its number

Public Attributes

std::vector< std::vector< float > > itsVectors
 the vector of property vectors

Detailed Description

class that contains a set of property vectors for events

each property vector contains the following fields:

indexcontent
0event number
1interestingness index
2area
3Uxx
4Uyy
5Uxy
6major Axis
7minor Axis
8elongation
9orientation angle
10maximum intensity
11minimum intensity
12average intensity

Definition at line 121 of file VisualEvent.H.


Constructor & Destructor Documentation

PropertyVectorSet::PropertyVectorSet (  ) 

default contructor

Definition at line 126 of file VisualEvent.C.

PropertyVectorSet::PropertyVectorSet ( std::istream &  is  ) 

read from stream constructor

Definition at line 130 of file VisualEvent.C.

References readFromStream().


Member Function Documentation

std::vector< float > PropertyVectorSet::getPropertyVectorForEvent ( const int  num  ) 

return the PropertyVector for an event by its number

Definition at line 166 of file VisualEvent.C.

References itsVectors.

Referenced by VisualEventSet::drawTokens().

void PropertyVectorSet::readFromStream ( std::istream &  is  ) 

read the PropertyVectorSet from the input stream is

Definition at line 154 of file VisualEvent.C.

References itsVectors.

Referenced by MbariResultViewer::loadProperties(), and PropertyVectorSet().

void PropertyVectorSet::writeToStream ( std::ostream &  os  )  const

write the entire PropertyVectorSet to the output stream os

Definition at line 136 of file VisualEvent.C.

References itsVectors.

Referenced by MbariResultViewer::saveProperties().


Member Data Documentation

the vector of property vectors

Definition at line 141 of file VisualEvent.H.

Referenced by getPropertyVectorForEvent(), VisualEventSet::getPropertyVectorSet(), readFromStream(), and writeToStream().


The documentation for this class was generated from the following files:
Generated on Sun May 8 08:43:42 2011 for iLab Neuromorphic Vision Toolkit by  doxygen 1.6.3