ColorStructure Class Reference

#include <ColorStructure.h>

Inherits DescriptorBase.

List of all members.

Public Member Functions

 ColorStructure ()
 constructor
int SetSize (int Size)
 set current size of the descriptor vector
int GetSize ()
 get current size of the descriptor vector
int SetTargetSize (int TargetSize)
 set target size of the descriptor
int GetTargetSize ()
 get target size of the descriptor
int Initialise (int tSize)
 initialise the descriptor with the given parameters
void PrintElements ()
 prints the descriptor vector
size_t GetByteSize ()
 return size in bytes of descriptor in memory
std::string toString ()
 convert descriptor data to string
int match (ColorStructure *colStruc)
 match descriptors and return distance

Public Attributes

std::vector< unsigned long > m_Data
 descriptor vector

Private Attributes

unsigned long m_Size
 current size of the descriptor vector
unsigned long m_TargetSize
 target size of the descriptor vector

Friends

std::ostream & operator<< (std::ostream &os, ColorStructure &s)


Constructor & Destructor Documentation

ColorStructure::ColorStructure (  ) 

constructor


Member Function Documentation

int ColorStructure::SetSize ( int  Size  ) 

set current size of the descriptor vector

int ColorStructure::GetSize (  )  [inline]

get current size of the descriptor vector

int ColorStructure::SetTargetSize ( int  TargetSize  ) 

set target size of the descriptor

int ColorStructure::GetTargetSize (  )  [inline]

get target size of the descriptor

int ColorStructure::Initialise ( int  tSize  ) 

initialise the descriptor with the given parameters

void ColorStructure::PrintElements ( void   )  [virtual]

prints the descriptor vector

Reimplemented from DescriptorBase.

size_t ColorStructure::GetByteSize (  ) 

return size in bytes of descriptor in memory

Reimplemented from DescriptorBase.

std::string ColorStructure::toString (  ) 

convert descriptor data to string

Reimplemented from DescriptorBase.

int ColorStructure::match ( ColorStructure colStruc  ) 

match descriptors and return distance


Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  os,
ColorStructure s 
) [friend]


Member Data Documentation

std::vector<unsigned long> ColorStructure::m_Data

descriptor vector

unsigned long ColorStructure::m_Size [private]

current size of the descriptor vector

unsigned long ColorStructure::m_TargetSize [private]

target size of the descriptor vector


The documentation for this class was generated from the following file:

Generated on Tue Oct 14 16:35:17 2008 for vd by  doxygen 1.5.5