Developer Documentation
RAVL, Recognition And Vision Library
USER HOME PAGE CLASS LIST CONTENTS
Ravl - Pattern Recognition - Data Set - DataSet3C<class Sample1T,class Sample2T,class Sample3T>
 

  PUBLIC
DataSet3C::DataSet3C(void)
DataSet3C::DataSet3C(UIntT)
DataSet3C::DataSet3C(const Sample1T &,const Sample2T &,const Sample3T &)
DataSet3C::DataSet3C(DataSet3BodyC &)
DataSet3C::Body(void)
DataSet3C::Body(void) const
DataSet3C::Sample3(void)
DataSet3C::Sample3(void) const
DataSet3C::Append(const Element1T &,const Element2T &,const Element3T &)
DataSet3C::ExtractSample(RealT)
DataSet2C::Body(void)
DataSet2C::Body(void) const
DataSet2C::Sample2(void)
DataSet2C::Sample2(void) const
DataSet2C::Append(const Element1T &,const Element2T &)
DataSet2C::ExtractSample(RealT)
DataSet1C::Body(void)
DataSet1C::Body(void) const
DataSet1C::Sample1(void)
DataSet1C::Sample1(void) const
DataSet1C::Append(const Element1T &)
DataSet1C::ExtractSample(RealT)
DataSet1C::Size(void) const
DataSetBaseC::Body(void)
DataSetBaseC::Body(void) const
DataSetBaseC::Shuffle(void)
RCHandleC::operator =(const RCHandleC &)
RCHandleC::DeepCopy(UIntT) const
RCHandleC::operator ==(const RCHandleC &) const
RCHandleC::operator !=(const RCHandleC &) const
RCHandleC::Hash(void) const
RCHandleC::IsValid(void) const
RCHandleC::Invalidate(void)
RCHandleC::IsHandleType(const DT &) const
RCHandleC::CheckHandleType(const DT &) const
RCHandleC::Body(void)
RCHandleC::Body(void) const
RCHandleC::References(void) const
RCHandleC::operator <<(ostream &,const RCHandleC &)
RCHandleC::operator >>(istream &,RCHandleC &)

   DataSet3C<class Sample1T,class Sample2T,class Sample3T>   
 
Data set
 
include "Ravl/PatternRec/DataSet3.hh"
Source file:Ravl/PatternRec/DataSet/DataSet3.hh
User Level:Normal
Library:RavlPatternRec
In Scope:RavlN

Parent Classes: Typedefs:
typedef typename Sample3T::ElementT Element3T;

Methods:
DataSet3C()
Default constructor.

DataSet3C(UIntT sizeEstimate)
Constructor.

DataSet3C(const Sample1T & dat1,const Sample2T & dat2,const Sample3T & dat3)
Create a dataset from a sample

DataSet3C(DataSet3BodyC<Sample1T,Sample2T,Sample3T> & bod)
Body constructor.

DataSet3BodyC<Sample1T,Sample2T,Sample3T> & Body()
Access body.

const DataSet3BodyC<Sample1T,Sample2T,Sample3T> & Body() const
Access body.

Sample3T & Sample3()
Access complete sample.

const Sample3T & Sample3() const
Access complete sample.

UIntT Append(const Element1T & data1,const Element2T & data2,const Element3T & data3)
Append a data entry.
returns its index.

DataSet3C<Sample1T,Sample2T,Sample3T> ExtractSample(RealT proportion)
Extract a sample.
The elements are removed from this set. NB. The order of this dataset is NOT preserved.

#include "Ravl/PatternRec/DataSet2.hh"
DataSet2BodyC<Sample1T,Sample2T> & Body()
Access body.

const DataSet2BodyC<Sample1T,Sample2T> & Body() const
Access body.

Sample2T & Sample2()
Access complete sample.

const Sample2T & Sample2() const
Shuffle the samples in the dataset

UIntT Append(const Element1T & data1,const Element2T & data2)
Append a data entry.
returns its index.

DataSet2C<Sample1T,Sample2T> ExtractSample(RealT proportion)
Extract a sample.
The elements are removed from this set. NB. The order of this dataset is NOT preserved.

#include "Ravl/PatternRec/DataSet1.hh"
DataSet1BodyC<Sample1T> & Body()
Access body.

const DataSet1BodyC<Sample1T> & Body() const
Access body.

Sample1T & Sample1()
Access complete sample.

const Sample1T & Sample1() const
Access complete sample.

UIntT Append(const Element1T & data)
Append a data entry.
returns its index.

DataSet1C<Sample1T> ExtractSample(RealT proportion)
Extract a sample.
The elements are removed from this set. NB. The order of this dataset is NOT preserved.

UIntT Size() const
Get the size of the dataset.

#include "Ravl/PatternRec/DataSetBase.hh"
DataSetBaseBodyC & Body()
Access body.

const DataSetBaseBodyC & Body() const
Access body.

void Shuffle()
Shuffle the order of the dataset.
This is an in place operation.

#include "Ravl/RefCounter.hh"
const RCHandleC<DataSetBaseBodyC> & operator =(const RCHandleC<DataSetBaseBodyC> & oth)
Assign handle.

RCHandleC<DataSetBaseBodyC> DeepCopy(UIntT levels = ((UIntT))) const
Do a deep copy of the object.

bool operator ==(const RCHandleC<DataSetBaseBodyC> & oth) const
Are handles to the same object ?

bool operator !=(const RCHandleC<DataSetBaseBodyC> & oth) const
Are handles to different objects ?

UIntT Hash() const
Default hash function.
This hashes on the address of the body.

bool IsValid() const
Test if this is a valid handle.

void Invalidate()
Invalidate this handle.
Unattaches the body from the handle.

bool IsHandleType(const DT &) const
Is handle of given type ?

void CheckHandleType(const DT & dummy) const
Check handle type. Throw an expception if not.

DataSetBaseBodyC & Body()
Access body of object.

const DataSetBaseBodyC & Body() const
Constant access to body of object.

UIntT References() const
Find the number of references to the body of this object.

ostream & operator <<(ostream & strm,const RCHandleC<DataSetBaseBodyC> & obj)

istream & operator >>(istream & strm,RCHandleC<DataSetBaseBodyC> & obj)


Maintainer:Kieron Messer, Documentation by CxxDoc: Tue Aug 13 09:59:30 2002