Point Cloud Library (PCL)  1.9.1-dev
List of all members | Public Member Functions | Protected Member Functions | Protected Attributes
pcl::HashTableOLD Class Reference

#include <pcl/ml/permutohedral.h>

Public Member Functions

 HashTableOLD (int key_size, int n_elements)
 
 ~HashTableOLD ()
 
int size () const
 
void reset ()
 
int find (const short *k, bool create=false)
 
const short * getKey (int i) const
 

Protected Member Functions

void grow ()
 
size_t hash (const short *k)
 

Protected Attributes

size_t key_size_
 
size_t filled_
 
size_t capacity_
 
short * keys_
 
int * table_
 

Detailed Description

Definition at line 148 of file permutohedral.h.

Constructor & Destructor Documentation

pcl::HashTableOLD::HashTableOLD ( int  key_size,
int  n_elements 
)
inlineexplicit

Definition at line 195 of file permutohedral.h.

pcl::HashTableOLD::~HashTableOLD ( )
inline

Definition at line 200 of file permutohedral.h.

Member Function Documentation

int pcl::HashTableOLD::find ( const short *  k,
bool  create = false 
)
inline

Definition at line 211 of file permutohedral.h.

const short* pcl::HashTableOLD::getKey ( int  i) const
inline

Definition at line 240 of file permutohedral.h.

void pcl::HashTableOLD::grow ( )
inlineprotected

Definition at line 160 of file permutohedral.h.

size_t pcl::HashTableOLD::hash ( const short *  k)
inlineprotected

Definition at line 186 of file permutohedral.h.

void pcl::HashTableOLD::reset ( )
inline

Definition at line 207 of file permutohedral.h.

int pcl::HashTableOLD::size ( ) const
inline

Definition at line 204 of file permutohedral.h.

Member Data Documentation

size_t pcl::HashTableOLD::capacity_
protected

Definition at line 157 of file permutohedral.h.

size_t pcl::HashTableOLD::filled_
protected

Definition at line 157 of file permutohedral.h.

size_t pcl::HashTableOLD::key_size_
protected

Definition at line 157 of file permutohedral.h.

short* pcl::HashTableOLD::keys_
protected

Definition at line 158 of file permutohedral.h.

int* pcl::HashTableOLD::table_
protected

Definition at line 159 of file permutohedral.h.


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