PointCloud Class Reference

#include <VisionX/components/pointcloud_processor/EfficientRANSACPrimitiveExtractor/EfficientRANSAC/PointCloud.h>

+ Inheritance diagram for PointCloud:

Public Member Functions

void calcNormals (float radius, unsigned int kNN=20, unsigned int maxTries=100)
 
float * getBbox () const
 
Vec3f & GetBBoxMax ()
 
const Vec3f & GetBBoxMax () const
 
Vec3f & GetBBoxMin ()
 
const Vec3f & GetBBoxMin () const
 
void GetCurrentBBox (Vec3f *min, Vec3f *max) const
 
const Vec3f & getOffset () const
 
float getScale () const
 
PointCloud & operator+= (const PointCloud &other)
 
 PointCloud ()
 
 PointCloud (Point *points, unsigned int size)
 
void reset (size_t s=0)
 
void setBBox (Vec3f bbl, float size)
 
void setBBox (Vec3f min, Vec3f max)
 
void swapPoints (unsigned int i, unsigned int j)
 
void Translate (const Vec3f &trans)
 
void widenBBox (float delta)
 
- Public Member Functions inherited from Vector< Point >
Point & at (size_type i)
 
const Point & at (size_type i) const
 
Point & back ()
 
const Point & back () const
 
Point * begin ()
 
const Point * begin () const
 
size_type capacity () const
 
void clear ()
 
Point * end ()
 
const Point * end () const
 
void erase (Point *where)
 
Point & front ()
 
const Point & front () const
 
void insert (Point *where, const Point &v)
 
 operator const Point * () const
 
 operator Point * ()
 
Vector< Point, MiscLib::AlignedAllocator< Point > > & operator= (const Vector< Point, MiscLib::AlignedAllocator< Point > > &v)
 
Vector< Point, MiscLib::AlignedAllocator< Point > > & operator= (const Vector< Point, OtherAllocatorT > &v)
 
void pop_back ()
 
void push_back (const Point &v)
 
reverse_iterator rbegin ()
 
const_reverse_iterator rbegin () const
 
reverse_iterator rend ()
 
const_reverse_iterator rend () const
 
void reserve (size_type s)
 
void resize (size_type s)
 
void resize (size_type s, const value_type &v)
 
size_type size () const
 
 Vector ()
 
 Vector (const Vector< Point, MiscLib::AlignedAllocator< Point > > &v)
 
 Vector (const Vector< Point, OtherAllocatorT > &v)
 
 Vector (size_type s)
 
 Vector (size_type s, const Point &v)
 
 ~Vector ()
 

Additional Inherited Members

- Public Types inherited from Vector< Point >
typedef const Point * const_iterator
 
typedef const Point * const_pointer
 
typedef const Point & const_reference
 
typedef std::reverse_iterator< const Point * > const_reverse_iterator
 
typedef Point * iterator
 
typedef Point * pointer
 
typedef size_t ptrdiff_t
 
typedef Point & reference
 
typedef std::reverse_iterator< Point * > reverse_iterator
 
typedef size_t size_type
 
typedef Point value_type
 
- Protected Types inherited from AlignedAllocator< T, Align >
typedef const T * const_pointer
 
typedef const T & const_reference
 
typedef ptrdiff_t difference_type
 
typedef T * pointer
 
typedef T & reference
 
typedef size_t size_type
 
typedef T value_type
 
- Protected Member Functions inherited from AlignedAllocator< T, Align >
const_pointer address (const_reference x) const
 
pointer address (reference x) const
 
 AlignedAllocator () throw ()
 
 AlignedAllocator (const AlignedAllocator< T, Align > &) throw ()
 
template<class U>
 AlignedAllocator (const AlignedAllocator< U, Align > &) throw ()
 
pointer allocate (size_type s, std::allocator_traits< std::allocator< void > >::const_void_pointer hint=0)
 
void construct (pointer p, const T &val)
 
void deallocate (pointer p, size_type)
 
void destroy (pointer p)
 
size_type max_size () const throw ()
 
template<class U>
bool operator!= (const AlignedAllocator< U, Align > &) const
 
template<class U>
bool operator!= (const U &) const
 
template<class U>
bool operator== (const AlignedAllocator< U, Align > &) const
 
template<class U>
bool operator== (const U &) const
 

Detailed Description

Definition at line 85 of file PointCloud.h.

Constructor & Destructor Documentation

◆ PointCloud() [1/2]

Definition at line 139 of file PointCloud.cpp.

+ Here is the caller graph for this function:

◆ PointCloud() [2/2]

PointCloud ( Point * points,
unsigned int size )

Definition at line 147 of file PointCloud.cpp.

Member Function Documentation

◆ calcNormals()

void calcNormals ( float radius,
unsigned int kNN = 20,
unsigned int maxTries = 100 )

Definition at line 195 of file PointCloud.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getBbox()

float * getBbox ( ) const

Definition at line 167 of file PointCloud.cpp.

◆ GetBBoxMax() [1/2]

Vec3f & GetBBoxMax ( )
inline

Definition at line 173 of file PointCloud.h.

◆ GetBBoxMax() [2/2]

const Vec3f & GetBBoxMax ( ) const
inline

Definition at line 161 of file PointCloud.h.

◆ GetBBoxMin() [1/2]

Vec3f & GetBBoxMin ( )
inline

Definition at line 167 of file PointCloud.h.

◆ GetBBoxMin() [2/2]

const Vec3f & GetBBoxMin ( ) const
inline

Definition at line 155 of file PointCloud.h.

◆ GetCurrentBBox()

void GetCurrentBBox ( Vec3f * min,
Vec3f * max ) const

Definition at line 177 of file PointCloud.cpp.

+ Here is the call graph for this function:

◆ getOffset()

const Vec3f & getOffset ( ) const
inline

Definition at line 145 of file PointCloud.h.

◆ getScale()

float getScale ( ) const
inline

Definition at line 138 of file PointCloud.h.

+ Here is the caller graph for this function:

◆ operator+=()

PointCloud & operator+= ( const PointCloud & other)
inline

Definition at line 92 of file PointCloud.h.

+ Here is the call graph for this function:

◆ reset()

void reset ( size_t s = 0)

Definition at line 157 of file PointCloud.cpp.

+ Here is the call graph for this function:

◆ setBBox() [1/2]

void setBBox ( Vec3f bbl,
float size )
inline

Definition at line 116 of file PointCloud.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setBBox() [2/2]

void setBBox ( Vec3f min,
Vec3f max )
inline

Definition at line 123 of file PointCloud.h.

+ Here is the call graph for this function:

◆ swapPoints()

void swapPoints ( unsigned int i,
unsigned int j )
inline

Definition at line 107 of file PointCloud.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ Translate()

void Translate ( const Vec3f & trans)

Definition at line 184 of file PointCloud.cpp.

+ Here is the call graph for this function:

◆ widenBBox()

void widenBBox ( float delta)
inline

Definition at line 130 of file PointCloud.h.


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