CLAM::DescriptorTmpl< abs > Class Template Reference

Abstract class for all descriptors. More...

#include <Descriptor.hxx>

List of all members.

Public Member Functions

 DescriptorTmpl (int n)
 DescriptorTmpl (const DescriptorTmpl< abs > &prototype, bool shareData=false, bool deep=true)
virtual ~DescriptorTmpl ()
virtual void Compute ()
virtual void ConcreteCompute ()=0
void SetPrototype (const DescriptorTmpl< abs > &proto)

Protected Member Functions

void InitStats (DataArray *pData)

Protected Attributes

StatsTmpl< abs > * mpStats

Detailed Description

template<bool abs>
class CLAM::DescriptorTmpl< abs >

Abstract class for all descriptors.

Parameters:
Whether to calculate the descriptors over absolute values or not (signed).
Todo:
This class could abstract more common behaviour from subclasses by becoming template

Definition at line 40 of file Descriptor.hxx.


Constructor & Destructor Documentation

template<bool abs>
CLAM::DescriptorTmpl< abs >::DescriptorTmpl ( int  n  )  [inline]

Definition at line 43 of file Descriptor.hxx.

References CLAM::DescriptorTmpl< abs >::mpStats.

template<bool abs>
CLAM::DescriptorTmpl< abs >::DescriptorTmpl ( const DescriptorTmpl< abs > &  prototype,
bool  shareData = false,
bool  deep = true 
) [inline]

Definition at line 44 of file Descriptor.hxx.

References CLAM::DescriptorTmpl< abs >::mpStats.

template<bool abs>
virtual CLAM::DescriptorTmpl< abs >::~DescriptorTmpl (  )  [inline, virtual]

Definition at line 49 of file Descriptor.hxx.

References CLAM::DescriptorTmpl< abs >::mpStats.


Member Function Documentation

template<bool abs>
virtual void CLAM::DescriptorTmpl< abs >::Compute (  )  [inline, virtual]
template<bool abs>
virtual void CLAM::DescriptorTmpl< abs >::ConcreteCompute (  )  [pure virtual]
template<bool abs>
void CLAM::DescriptorTmpl< abs >::InitStats ( DataArray pData  )  [inline, protected]
template<bool abs>
void CLAM::DescriptorTmpl< abs >::SetPrototype ( const DescriptorTmpl< abs > &  proto  )  [inline]

Definition at line 63 of file Descriptor.hxx.

References CLAM::DescriptorTmpl< abs >::mpStats.


Member Data Documentation

template<bool abs>
StatsTmpl<abs>* CLAM::DescriptorTmpl< abs >::mpStats [protected]

The documentation for this class was generated from the following file:
Generated by  doxygen 1.6.3