Apollo  6.0
Open source self driving car software
Public Types | Public Member Functions | Static Public Member Functions | Protected Attributes | List of all members
apollo::perception::common::PtCluster< T, d > Class Template Reference

#include <i_struct_s.h>

Collaboration diagram for apollo::perception::common::PtCluster< T, d >:
Collaboration graph

Public Types

typedef T * iterator
 
typedef const T * const_iterator
 
typedef T & reference
 
typedef const T & const_reference
 

Public Member Functions

unsigned int ClustersizeInByte () const
 
unsigned int NrPoints () const
 
bool Initialized () const
 
const T * ConstData () const
 
T * Data ()
 
void CleanUp ()
 
 PtCluster ()
 
 PtCluster (unsigned int n)
 
 PtCluster (const T *data, unsigned int n)
 
 PtCluster (const PtCluster< T, d > &c)
 
PtClusteroperator= (const PtCluster< T, d > &c)
 
virtual ~PtCluster ()
 
T * operator[] (unsigned int i)
 
const T * operator[] (unsigned int i) const
 
reference operator() (unsigned int i, unsigned int j)
 
const_reference operator() (unsigned int i, unsigned int j) const
 
iterator Begin ()
 
iterator End ()
 
const_iterator Begin () const
 
const_iterator End () const
 

Static Public Member Functions

static unsigned int NrPointElement ()
 
static unsigned int PointsizeInByte ()
 

Protected Attributes

T * data_
 
unsigned int nr_points_
 

Member Typedef Documentation

◆ const_iterator

template<typename T, unsigned int d>
typedef const T* apollo::perception::common::PtCluster< T, d >::const_iterator

◆ const_reference

template<typename T, unsigned int d>
typedef const T& apollo::perception::common::PtCluster< T, d >::const_reference

◆ iterator

template<typename T, unsigned int d>
typedef T* apollo::perception::common::PtCluster< T, d >::iterator

◆ reference

template<typename T, unsigned int d>
typedef T& apollo::perception::common::PtCluster< T, d >::reference

Constructor & Destructor Documentation

◆ PtCluster() [1/4]

template<typename T , unsigned int d>
apollo::perception::common::PtCluster< T, d >::PtCluster ( )

◆ PtCluster() [2/4]

template<typename T , unsigned int d>
apollo::perception::common::PtCluster< T, d >::PtCluster ( unsigned int  n)
explicit

◆ PtCluster() [3/4]

template<typename T , unsigned int d>
apollo::perception::common::PtCluster< T, d >::PtCluster ( const T *  data,
unsigned int  n 
)

◆ PtCluster() [4/4]

template<typename T, unsigned int d>
apollo::perception::common::PtCluster< T, d >::PtCluster ( const PtCluster< T, d > &  c)
inline

◆ ~PtCluster()

template<typename T, unsigned int d>
virtual apollo::perception::common::PtCluster< T, d >::~PtCluster ( )
inlinevirtual

Member Function Documentation

◆ Begin() [1/2]

template<typename T, unsigned int d>
iterator apollo::perception::common::PtCluster< T, d >::Begin ( )
inline

◆ Begin() [2/2]

template<typename T, unsigned int d>
const_iterator apollo::perception::common::PtCluster< T, d >::Begin ( ) const
inline

◆ CleanUp()

template<typename T , unsigned int d>
void apollo::perception::common::PtCluster< T, d >::CleanUp ( )

◆ ClustersizeInByte()

template<typename T, unsigned int d>
unsigned int apollo::perception::common::PtCluster< T, d >::ClustersizeInByte ( ) const
inline

◆ ConstData()

template<typename T, unsigned int d>
const T* apollo::perception::common::PtCluster< T, d >::ConstData ( ) const
inline

◆ Data()

template<typename T, unsigned int d>
T* apollo::perception::common::PtCluster< T, d >::Data ( )
inline

◆ End() [1/2]

template<typename T, unsigned int d>
iterator apollo::perception::common::PtCluster< T, d >::End ( )
inline

◆ End() [2/2]

template<typename T, unsigned int d>
const_iterator apollo::perception::common::PtCluster< T, d >::End ( ) const
inline

◆ Initialized()

template<typename T, unsigned int d>
bool apollo::perception::common::PtCluster< T, d >::Initialized ( ) const
inline

◆ NrPointElement()

template<typename T, unsigned int d>
static unsigned int apollo::perception::common::PtCluster< T, d >::NrPointElement ( )
inlinestatic

◆ NrPoints()

template<typename T, unsigned int d>
unsigned int apollo::perception::common::PtCluster< T, d >::NrPoints ( ) const
inline

◆ operator()() [1/2]

template<typename T, unsigned int d>
reference apollo::perception::common::PtCluster< T, d >::operator() ( unsigned int  i,
unsigned int  j 
)
inline

◆ operator()() [2/2]

template<typename T, unsigned int d>
const_reference apollo::perception::common::PtCluster< T, d >::operator() ( unsigned int  i,
unsigned int  j 
) const
inline

◆ operator=()

template<typename T, unsigned int d>
PtCluster& apollo::perception::common::PtCluster< T, d >::operator= ( const PtCluster< T, d > &  c)
inline

◆ operator[]() [1/2]

template<typename T, unsigned int d>
T* apollo::perception::common::PtCluster< T, d >::operator[] ( unsigned int  i)
inline

◆ operator[]() [2/2]

template<typename T, unsigned int d>
const T* apollo::perception::common::PtCluster< T, d >::operator[] ( unsigned int  i) const
inline

◆ PointsizeInByte()

template<typename T, unsigned int d>
static unsigned int apollo::perception::common::PtCluster< T, d >::PointsizeInByte ( )
inlinestatic

Member Data Documentation

◆ data_

template<typename T, unsigned int d>
T* apollo::perception::common::PtCluster< T, d >::data_
protected

◆ nr_points_

template<typename T, unsigned int d>
unsigned int apollo::perception::common::PtCluster< T, d >::nr_points_
protected

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