Apollo  v5.5.0
Open source self driving car software
Public Member Functions | List of all members
apollo::perception::common::VoxelGridXYPyramid< DATA_TYPE > Class Template Reference

#include <i_struct_s.h>

Collaboration diagram for apollo::perception::common::VoxelGridXYPyramid< DATA_TYPE >:
Collaboration graph

Public Member Functions

 VoxelGridXYPyramid ()
 
 VoxelGridXYPyramid (unsigned int nr_scale, unsigned int nr_voxel_x_base, unsigned int nr_voxel_y_base, unsigned int dsf_x, unsigned int dsf_y, DATA_TYPE spatial_bound_x_min, DATA_TYPE spatial_bound_x_max, DATA_TYPE spatial_bound_y_min, DATA_TYPE spatial_bound_y_max, DATA_TYPE spatial_bound_z_min, DATA_TYPE spatial_bound_z_max)
 
void CleanUp ()
 
 ~VoxelGridXYPyramid ()
 
bool Alloc (unsigned int nr_scale, unsigned int nr_voxel_x_base, unsigned int nr_voxel_y_base, unsigned int dsf_x, unsigned int dsf_y, DATA_TYPE spatial_bound_x_min, DATA_TYPE spatial_bound_x_max, DATA_TYPE spatial_bound_y_min, DATA_TYPE spatial_bound_y_max, DATA_TYPE spatial_bound_z_min, DATA_TYPE spatial_bound_z_max)
 
bool Set (const DATA_TYPE *pc, unsigned int nr_points, unsigned int nr_point_element)
 
bool SetS (const float *pc, unsigned int nr_points, unsigned int nr_point_element)
 
bool Set (const DATA_TYPE *pc, unsigned int nr_scale, unsigned int nr_points, unsigned int nr_point_element, unsigned int nr_voxel_x_base, unsigned int nr_voxel_y_base, unsigned int dsf_x, unsigned int dsf_y, DATA_TYPE spatial_bound_x_min, DATA_TYPE spatial_bound_x_max, DATA_TYPE spatial_bound_y_min, DATA_TYPE spatial_bound_y_max, DATA_TYPE spatial_bound_z_min, DATA_TYPE spatial_bound_z_max)
 
unsigned int NrScale () const
 
unsigned int NrVoxel (unsigned int i=0) const
 
unsigned int NrVoxelX (unsigned int i=0) const
 
unsigned int NrVoxelY (unsigned int i=0) const
 
unsigned int NrVoxelZ (unsigned int i=0) const
 
unsigned int NrPoints (unsigned int scale) const
 
unsigned int NrPoints () const
 
unsigned int NrPointElement () const
 
bool Initialized () const
 
unsigned int GetDsfX () const
 
unsigned int GetDsfY () const
 
unsigned int GetDsfZ () const
 
VoxelGridXY< DATA_TYPE > & operator[] (unsigned int i)
 
const VoxelGridXY< DATA_TYPE > & operator[] (unsigned int i) const
 
VoxelGridXY< DATA_TYPE > & operator[] (int i)
 
const VoxelGridXY< DATA_TYPE > & operator[] (int i) const
 
const DATA_TYPE * ConstData () const
 
DATA_TYPE * Data ()
 

Constructor & Destructor Documentation

◆ VoxelGridXYPyramid() [1/2]

template<typename DATA_TYPE >
apollo::perception::common::VoxelGridXYPyramid< DATA_TYPE >::VoxelGridXYPyramid ( )

◆ VoxelGridXYPyramid() [2/2]

template<typename DATA_TYPE >
apollo::perception::common::VoxelGridXYPyramid< DATA_TYPE >::VoxelGridXYPyramid ( unsigned int  nr_scale,
unsigned int  nr_voxel_x_base,
unsigned int  nr_voxel_y_base,
unsigned int  dsf_x,
unsigned int  dsf_y,
DATA_TYPE  spatial_bound_x_min,
DATA_TYPE  spatial_bound_x_max,
DATA_TYPE  spatial_bound_y_min,
DATA_TYPE  spatial_bound_y_max,
DATA_TYPE  spatial_bound_z_min,
DATA_TYPE  spatial_bound_z_max 
)
inline

◆ ~VoxelGridXYPyramid()

template<typename DATA_TYPE >
apollo::perception::common::VoxelGridXYPyramid< DATA_TYPE >::~VoxelGridXYPyramid ( )
inline

Member Function Documentation

◆ Alloc()

template<typename DATA_TYPE >
bool apollo::perception::common::VoxelGridXYPyramid< DATA_TYPE >::Alloc ( unsigned int  nr_scale,
unsigned int  nr_voxel_x_base,
unsigned int  nr_voxel_y_base,
unsigned int  dsf_x,
unsigned int  dsf_y,
DATA_TYPE  spatial_bound_x_min,
DATA_TYPE  spatial_bound_x_max,
DATA_TYPE  spatial_bound_y_min,
DATA_TYPE  spatial_bound_y_max,
DATA_TYPE  spatial_bound_z_min,
DATA_TYPE  spatial_bound_z_max 
)

◆ CleanUp()

template<typename DATA_TYPE >
void apollo::perception::common::VoxelGridXYPyramid< DATA_TYPE >::CleanUp ( )

◆ ConstData()

template<typename DATA_TYPE >
const DATA_TYPE* apollo::perception::common::VoxelGridXYPyramid< DATA_TYPE >::ConstData ( ) const
inline

◆ Data()

template<typename DATA_TYPE >
DATA_TYPE* apollo::perception::common::VoxelGridXYPyramid< DATA_TYPE >::Data ( )
inline

◆ GetDsfX()

template<typename DATA_TYPE >
unsigned int apollo::perception::common::VoxelGridXYPyramid< DATA_TYPE >::GetDsfX ( ) const
inline

◆ GetDsfY()

template<typename DATA_TYPE >
unsigned int apollo::perception::common::VoxelGridXYPyramid< DATA_TYPE >::GetDsfY ( ) const
inline

◆ GetDsfZ()

template<typename DATA_TYPE >
unsigned int apollo::perception::common::VoxelGridXYPyramid< DATA_TYPE >::GetDsfZ ( ) const
inline

◆ Initialized()

template<typename DATA_TYPE >
bool apollo::perception::common::VoxelGridXYPyramid< DATA_TYPE >::Initialized ( ) const

◆ NrPointElement()

template<typename DATA_TYPE >
unsigned int apollo::perception::common::VoxelGridXYPyramid< DATA_TYPE >::NrPointElement ( ) const
inline

◆ NrPoints() [1/2]

template<typename DATA_TYPE >
unsigned int apollo::perception::common::VoxelGridXYPyramid< DATA_TYPE >::NrPoints ( unsigned int  scale) const
inline

◆ NrPoints() [2/2]

template<typename DATA_TYPE >
unsigned int apollo::perception::common::VoxelGridXYPyramid< DATA_TYPE >::NrPoints ( ) const
inline

◆ NrScale()

template<typename DATA_TYPE >
unsigned int apollo::perception::common::VoxelGridXYPyramid< DATA_TYPE >::NrScale ( ) const
inline

◆ NrVoxel()

template<typename DATA_TYPE >
unsigned int apollo::perception::common::VoxelGridXYPyramid< DATA_TYPE >::NrVoxel ( unsigned int  i = 0) const
inline

◆ NrVoxelX()

template<typename DATA_TYPE >
unsigned int apollo::perception::common::VoxelGridXYPyramid< DATA_TYPE >::NrVoxelX ( unsigned int  i = 0) const
inline

◆ NrVoxelY()

template<typename DATA_TYPE >
unsigned int apollo::perception::common::VoxelGridXYPyramid< DATA_TYPE >::NrVoxelY ( unsigned int  i = 0) const
inline

◆ NrVoxelZ()

template<typename DATA_TYPE >
unsigned int apollo::perception::common::VoxelGridXYPyramid< DATA_TYPE >::NrVoxelZ ( unsigned int  i = 0) const
inline

◆ operator[]() [1/4]

template<typename DATA_TYPE >
VoxelGridXY<DATA_TYPE>& apollo::perception::common::VoxelGridXYPyramid< DATA_TYPE >::operator[] ( unsigned int  i)
inline

◆ operator[]() [2/4]

template<typename DATA_TYPE >
const VoxelGridXY<DATA_TYPE>& apollo::perception::common::VoxelGridXYPyramid< DATA_TYPE >::operator[] ( unsigned int  i) const
inline

◆ operator[]() [3/4]

template<typename DATA_TYPE >
VoxelGridXY<DATA_TYPE>& apollo::perception::common::VoxelGridXYPyramid< DATA_TYPE >::operator[] ( int  i)
inline

◆ operator[]() [4/4]

template<typename DATA_TYPE >
const VoxelGridXY<DATA_TYPE>& apollo::perception::common::VoxelGridXYPyramid< DATA_TYPE >::operator[] ( int  i) const
inline

◆ Set() [1/2]

template<typename DATA_TYPE >
bool apollo::perception::common::VoxelGridXYPyramid< DATA_TYPE >::Set ( const DATA_TYPE *  pc,
unsigned int  nr_points,
unsigned int  nr_point_element 
)

◆ Set() [2/2]

template<typename DATA_TYPE >
bool apollo::perception::common::VoxelGridXYPyramid< DATA_TYPE >::Set ( const DATA_TYPE *  pc,
unsigned int  nr_scale,
unsigned int  nr_points,
unsigned int  nr_point_element,
unsigned int  nr_voxel_x_base,
unsigned int  nr_voxel_y_base,
unsigned int  dsf_x,
unsigned int  dsf_y,
DATA_TYPE  spatial_bound_x_min,
DATA_TYPE  spatial_bound_x_max,
DATA_TYPE  spatial_bound_y_min,
DATA_TYPE  spatial_bound_y_max,
DATA_TYPE  spatial_bound_z_min,
DATA_TYPE  spatial_bound_z_max 
)

◆ SetS()

template<typename DATA_TYPE >
bool apollo::perception::common::VoxelGridXYPyramid< DATA_TYPE >::SetS ( const float *  pc,
unsigned int  nr_points,
unsigned int  nr_point_element 
)

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