Inshaping: Inshape::Plane Class Reference

Inshaping

Inshaping  0.1

#include <Plane.h>

Public Types

enum  Position { BELOW, ABOVE }
 

Public Member Functions

 Plane ()
 
 Plane (double a, double b, double c, double d)
 
 Plane (Eigen::Vector3d normal, Eigen::Vector3d point)
 
 Plane (std::vector< Eigen::Vector3d > &ptArr)
 
bool belowPlane (Eigen::Vector3d point, double offset)
 
void segmentCloud (pcl::PointCloud< pcl::PointXYZ > &cloud, pcl::PointCloud< pcl::PointXYZ > &output, Position position, double offset)
 
void segmentMesh (MyMesh &mesh, MyMesh &output, Position position, double offset=0)
 
bool pointNormForm (Eigen::Vector3d normal, Eigen::Vector3d point)
 
bool FromThreePt (std::vector< Eigen::Vector3d > &ptArr)
 

Public Attributes

Eigen::Vector3d Normal
 
double D
 

Friends

std::ostream & operator<< (std::ostream &os, const Plane &plane)
 

Member Enumeration Documentation

◆ Position

Enumerator
BELOW 
ABOVE 

Constructor & Destructor Documentation

◆ Plane() [1/4]

Inshape::Plane::Plane ( )
inline

◆ Plane() [2/4]

Inshape::Plane::Plane ( double  a,
double  b,
double  c,
double  d 
)
inline

◆ Plane() [3/4]

Inshape::Plane::Plane ( Eigen::Vector3d  normal,
Eigen::Vector3d  point 
)
inline

◆ Plane() [4/4]

Inshape::Plane::Plane ( std::vector< Eigen::Vector3d > &  ptArr)
inline

Member Function Documentation

◆ belowPlane()

bool Inshape::Plane::belowPlane ( Eigen::Vector3d  point,
double  offset 
)

◆ FromThreePt()

bool Inshape::Plane::FromThreePt ( std::vector< Eigen::Vector3d > &  ptArr)

◆ pointNormForm()

bool Inshape::Plane::pointNormForm ( Eigen::Vector3d  normal,
Eigen::Vector3d  point 
)

◆ segmentCloud()

void Inshape::Plane::segmentCloud ( pcl::PointCloud< pcl::PointXYZ > &  cloud,
pcl::PointCloud< pcl::PointXYZ > &  output,
Position  position,
double  offset 
)

◆ segmentMesh()

void Inshape::Plane::segmentMesh ( MyMesh mesh,
MyMesh output,
Position  position,
double  offset = 0 
)

Friends And Related Function Documentation

◆ operator<<

std::ostream& operator<< ( std::ostream &  os,
const Plane plane 
)
friend

Member Data Documentation

◆ D

double Inshape::Plane::D

◆ Normal

Eigen::Vector3d Inshape::Plane::Normal

The documentation for this class was generated from the following file:
Generated by   doxygen 1.8.14