OpenCV  2.4.13.6
Open Source Computer Vision
cv::Octree Class Reference

#include <contrib.hpp>

Classes

struct  Node
 

Public Member Functions

 Octree ()
 
 Octree (const vector< Point3f > &points, int maxLevels=10, int minPoints=20)
 
virtual ~Octree ()
 
virtual void buildTree (const vector< Point3f > &points, int maxLevels=10, int minPoints=20)
 
virtual void getPointsWithinSphere (const Point3f &center, float radius, vector< Point3f > &points) const
 
const vector< Node > & getNodes () const
 

Constructor & Destructor Documentation

§ Octree() [1/2]

cv::Octree::Octree ( )

§ Octree() [2/2]

cv::Octree::Octree ( const vector< Point3f > &  points,
int  maxLevels = 10,
int  minPoints = 20 
)

§ ~Octree()

virtual cv::Octree::~Octree ( )
virtual

Member Function Documentation

§ buildTree()

virtual void cv::Octree::buildTree ( const vector< Point3f > &  points,
int  maxLevels = 10,
int  minPoints = 20 
)
virtual

§ getNodes()

const vector<Node>& cv::Octree::getNodes ( ) const
inline

§ getPointsWithinSphere()

virtual void cv::Octree::getPointsWithinSphere ( const Point3f center,
float  radius,
vector< Point3f > &  points 
) const
virtual

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