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)
 
floatgetBbox () const
 
Vec3fGetBBoxMax ()
 
const Vec3fGetBBoxMax () const
 
Vec3fGetBBoxMin ()
 
const Vec3fGetBBoxMin () const
 
void GetCurrentBBox (Vec3f *min, Vec3f *max) const
 
const Vec3fgetOffset () const
 
float getScale () const
 
PointCloudoperator+= (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 >
Pointat (size_type i)
 
const Pointat (size_type i) const
 
Pointback ()
 
const Pointback () const
 
Pointbegin ()
 
const Pointbegin () const
 
size_type capacity () const
 
void clear ()
 
Pointend ()
 
const Pointend () const
 
void erase (Point *where)
 
Pointfront ()
 
const Pointfront () 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 std::reverse_iterator< const Point * > const_reverse_iterator
 
typedef Pointiterator
 
typedef Pointpointer
 
typedef size_t ptrdiff_t
 
typedef Pointreference
 
typedef std::reverse_iterator< Point * > reverse_iterator
 
typedef size_t size_type
 
typedef Point value_type
 
- Public Attributes inherited from Vector< Point >
const typedef Pointconst_iterator
 
const typedef Pointconst_pointer
 
const typedef Pointconst_reference
 
- Protected Types inherited from AlignedAllocator< Point >
typedef ptrdiff_t difference_type
 
typedef Pointpointer
 
typedef Pointreference
 
typedef size_t size_type
 
typedef Point value_type
 
- Protected Member Functions inherited from AlignedAllocator< Point >
const_pointer address (const_reference x) const
 
pointer address (reference x) const
 
 AlignedAllocator () throw ()
 
 AlignedAllocator (const AlignedAllocator< Point, DefaultAlignment > &) throw ()
 
 AlignedAllocator (const AlignedAllocator< U, DefaultAlignment > &) throw ()
 
pointer allocate (size_type s, std::allocator_traits< std::allocator< void >>::const_void_pointer hint=0)
 
void construct (pointer p, const Point &val)
 
void deallocate (pointer p, size_type)
 
void destroy (pointer p)
 
size_type max_size () const throw ()
 
bool operator!= (const AlignedAllocator< U, DefaultAlignment > &) const
 
bool operator!= (const U &) const
 
bool operator== (const AlignedAllocator< U, DefaultAlignment > &) const
 
bool operator== (const U &) const
 
- Protected Attributes inherited from AlignedAllocator< Point >
const typedef Pointconst_pointer
 
const typedef Pointconst_reference
 

Detailed Description

Definition at line 69 of file PointCloud.h.

Constructor & Destructor Documentation

◆ PointCloud() [1/2]

Definition at line 154 of file PointCloud.cpp.

+ Here is the call graph for this function:

◆ PointCloud() [2/2]

PointCloud ( Point points,
unsigned int  size 
)

Definition at line 162 of file PointCloud.cpp.

+ Here is the call graph for this function:

Member Function Documentation

◆ calcNormals()

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

Definition at line 205 of file PointCloud.cpp.

+ Here is the call graph for this function:

◆ getBbox()

float * getBbox ( ) const

Definition at line 180 of file PointCloud.cpp.

◆ GetBBoxMax() [1/2]

Vec3f& GetBBoxMax ( )
inline

Definition at line 134 of file PointCloud.h.

◆ GetBBoxMax() [2/2]

const Vec3f& GetBBoxMax ( ) const
inline

Definition at line 126 of file PointCloud.h.

◆ GetBBoxMin() [1/2]

Vec3f& GetBBoxMin ( )
inline

Definition at line 130 of file PointCloud.h.

◆ GetBBoxMin() [2/2]

const Vec3f& GetBBoxMin ( ) const
inline

Definition at line 122 of file PointCloud.h.

◆ GetCurrentBBox()

void GetCurrentBBox ( Vec3f min,
Vec3f max 
) const

Definition at line 189 of file PointCloud.cpp.

+ Here is the call graph for this function:

◆ getOffset()

const Vec3f& getOffset ( ) const
inline

Definition at line 115 of file PointCloud.h.

◆ getScale()

float getScale ( ) const
inline

Definition at line 110 of file PointCloud.h.

+ Here is the call graph for this function:

◆ operator+=()

PointCloud& operator+= ( const PointCloud other)
inline

Definition at line 75 of file PointCloud.h.

+ Here is the call graph for this function:

◆ reset()

void reset ( size_t  s = 0)

Definition at line 171 of file PointCloud.cpp.

◆ setBBox() [1/2]

void setBBox ( Vec3f  bbl,
float  size 
)
inline

Definition at line 94 of file PointCloud.h.

◆ setBBox() [2/2]

void setBBox ( Vec3f  min,
Vec3f  max 
)
inline

Definition at line 99 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 88 of file PointCloud.h.

+ Here is the call graph for this function:

◆ Translate()

void Translate ( const Vec3f trans)

Definition at line 195 of file PointCloud.cpp.

◆ widenBBox()

void widenBBox ( float  delta)
inline

Definition at line 104 of file PointCloud.h.


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