Open3D (C++ API)
Public Member Functions
open3d::geometry::BallPivoting Class Reference

Public Member Functions

 BallPivoting (const PointCloud &pcd)
 
virtual ~BallPivoting ()
 
bool ComputeBallCenter (int vidx1, int vidx2, int vidx3, double radius, Eigen::Vector3d &center)
 
BallPivotingEdgePtr GetLinkingEdge (const BallPivotingVertexPtr &v0, const BallPivotingVertexPtr &v1)
 
void CreateTriangle (const BallPivotingVertexPtr &v0, const BallPivotingVertexPtr &v1, const BallPivotingVertexPtr &v2, const Eigen::Vector3d &center)
 
Eigen::Vector3d ComputeFaceNormal (const Eigen::Vector3d &v0, const Eigen::Vector3d &v1, const Eigen::Vector3d &v2)
 
bool IsCompatible (const BallPivotingVertexPtr &v0, const BallPivotingVertexPtr &v1, const BallPivotingVertexPtr &v2)
 
BallPivotingVertexPtr FindCandidateVertex (const BallPivotingEdgePtr &edge, double radius, Eigen::Vector3d &candidate_center)
 
void ExpandTriangulation (double radius)
 
bool TryTriangleSeed (const BallPivotingVertexPtr &v0, const BallPivotingVertexPtr &v1, const BallPivotingVertexPtr &v2, const std::vector< int > &nb_indices, double radius, Eigen::Vector3d &center)
 
bool TrySeed (BallPivotingVertexPtr &v, double radius)
 
void FindSeedTriangle (double radius)
 
std::shared_ptr< TriangleMeshRun (const std::vector< double > &radii)
 

Constructor & Destructor Documentation

◆ BallPivoting()

open3d::geometry::BallPivoting::BallPivoting ( const PointCloud pcd)
inline

◆ ~BallPivoting()

virtual open3d::geometry::BallPivoting::~BallPivoting ( )
inlinevirtual

Member Function Documentation

◆ ComputeBallCenter()

bool open3d::geometry::BallPivoting::ComputeBallCenter ( int  vidx1,
int  vidx2,
int  vidx3,
double  radius,
Eigen::Vector3d &  center 
)
inline

◆ ComputeFaceNormal()

Eigen::Vector3d open3d::geometry::BallPivoting::ComputeFaceNormal ( const Eigen::Vector3d &  v0,
const Eigen::Vector3d &  v1,
const Eigen::Vector3d &  v2 
)
inline

◆ CreateTriangle()

void open3d::geometry::BallPivoting::CreateTriangle ( const BallPivotingVertexPtr v0,
const BallPivotingVertexPtr v1,
const BallPivotingVertexPtr v2,
const Eigen::Vector3d &  center 
)
inline

◆ ExpandTriangulation()

void open3d::geometry::BallPivoting::ExpandTriangulation ( double  radius)
inline

◆ FindCandidateVertex()

BallPivotingVertexPtr open3d::geometry::BallPivoting::FindCandidateVertex ( const BallPivotingEdgePtr edge,
double  radius,
Eigen::Vector3d &  candidate_center 
)
inline

◆ FindSeedTriangle()

void open3d::geometry::BallPivoting::FindSeedTriangle ( double  radius)
inline

◆ GetLinkingEdge()

BallPivotingEdgePtr open3d::geometry::BallPivoting::GetLinkingEdge ( const BallPivotingVertexPtr v0,
const BallPivotingVertexPtr v1 
)
inline

◆ IsCompatible()

bool open3d::geometry::BallPivoting::IsCompatible ( const BallPivotingVertexPtr v0,
const BallPivotingVertexPtr v1,
const BallPivotingVertexPtr v2 
)
inline

◆ Run()

std::shared_ptr<TriangleMesh> open3d::geometry::BallPivoting::Run ( const std::vector< double > &  radii)
inline

◆ TrySeed()

bool open3d::geometry::BallPivoting::TrySeed ( BallPivotingVertexPtr v,
double  radius 
)
inline

◆ TryTriangleSeed()

bool open3d::geometry::BallPivoting::TryTriangleSeed ( const BallPivotingVertexPtr v0,
const BallPivotingVertexPtr v1,
const BallPivotingVertexPtr v2,
const std::vector< int > &  nb_indices,
double  radius,
Eigen::Vector3d &  center 
)
inline

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