class that contains a set of property vectors for events More...
#include <MBARI/VisualEvent.H>
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 |
class that contains a set of property vectors for events
each property vector contains the following fields:
index | content |
0 | event number |
1 | interestingness index |
2 | area |
3 | Uxx |
4 | Uyy |
5 | Uxy |
6 | major Axis |
7 | minor Axis |
8 | elongation |
9 | orientation angle |
10 | maximum intensity |
11 | minimum intensity |
12 | average intensity |
Definition at line 121 of file VisualEvent.H.
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().
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().
the vector of property vectors
Definition at line 141 of file VisualEvent.H.
Referenced by getPropertyVectorForEvent(), VisualEventSet::getPropertyVectorSet(), readFromStream(), and writeToStream().