Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
jsk_recognition_utils::Plane Class Reference

#include <plane.h>

Inheritance diagram for jsk_recognition_utils::Plane:
Inheritance graph
[legend]

Public Types

typedef boost::shared_ptr< PlanePtr
 

Public Member Functions

virtual double angle (const Plane &another)
 
virtual double angle (const Eigen::Vector3f &vector)
 
virtual Eigen::Affine3f coordinates ()
 
virtual double distance (const Plane &another)
 
virtual double distanceToPoint (const Eigen::Vector4f p)
 
virtual double distanceToPoint (const Eigen::Vector3f p)
 
virtual Plane::Ptr faceToOrigin ()
 
virtual Plane flip ()
 
virtual double getD ()
 
virtual Eigen::Vector3f getNormal ()
 
virtual Eigen::Vector3f getPointOnPlane ()
 
virtual bool isSameDirection (const Plane &another)
 
virtual bool isSameDirection (const Eigen::Vector3f &another_normal)
 
 Plane (const std::vector< float > &coefficients)
 
 Plane (const boost::array< float, 4 > &coefficients)
 
 Plane (Eigen::Vector3f normal, double d)
 
 Plane (Eigen::Vector3f normal, Eigen::Vector3f p)
 
virtual void project (const Eigen::Vector3f &p, Eigen::Vector3f &output)
 
virtual void project (const Eigen::Vector3d &p, Eigen::Vector3d &output)
 
virtual void project (const Eigen::Vector3d &p, Eigen::Vector3f &output)
 
virtual void project (const Eigen::Vector3f &p, Eigen::Vector3d &output)
 
virtual void project (const Eigen::Affine3d &pose, Eigen::Affine3d &output)
 
virtual void project (const Eigen::Affine3f &pose, Eigen::Affine3f &output)
 
virtual double signedDistanceToPoint (const Eigen::Vector4f p)
 
virtual double signedDistanceToPoint (const Eigen::Vector3f p)
 
virtual void toCoefficients (std::vector< float > &output)
 
virtual std::vector< floattoCoefficients ()
 
virtual Plane transform (const Eigen::Affine3d &transform)
 
virtual Plane transform (const Eigen::Affine3f &transform)
 
virtual ~Plane ()
 

Protected Member Functions

virtual void initializeCoordinates ()
 

Protected Attributes

double d_
 
Eigen::Vector3f normal_
 
Eigen::Affine3f plane_coordinates_
 

Detailed Description

Definition at line 47 of file plane.h.

Member Typedef Documentation

Definition at line 50 of file plane.h.

Constructor & Destructor Documentation

jsk_recognition_utils::Plane::Plane ( const std::vector< float > &  coefficients)

Definition at line 44 of file plane.cpp.

jsk_recognition_utils::Plane::Plane ( const boost::array< float, 4 > &  coefficients)

Definition at line 52 of file plane.cpp.

jsk_recognition_utils::Plane::Plane ( Eigen::Vector3f  normal,
double  d 
)

Definition at line 60 of file plane.cpp.

jsk_recognition_utils::Plane::Plane ( Eigen::Vector3f  normal,
Eigen::Vector3f  p 
)

Definition at line 66 of file plane.cpp.

jsk_recognition_utils::Plane::~Plane ( )
virtual

Definition at line 73 of file plane.cpp.

Member Function Documentation

double jsk_recognition_utils::Plane::angle ( const Plane another)
virtual

Definition at line 154 of file plane.cpp.

double jsk_recognition_utils::Plane::angle ( const Eigen::Vector3f &  vector)
virtual

Definition at line 137 of file plane.cpp.

Eigen::Affine3f jsk_recognition_utils::Plane::coordinates ( )
virtual

Definition at line 282 of file plane.cpp.

double jsk_recognition_utils::Plane::distance ( const Plane another)
virtual

Definition at line 132 of file plane.cpp.

double jsk_recognition_utils::Plane::distanceToPoint ( const Eigen::Vector4f  p)
virtual

Definition at line 122 of file plane.cpp.

double jsk_recognition_utils::Plane::distanceToPoint ( const Eigen::Vector3f  p)
virtual

Definition at line 127 of file plane.cpp.

Plane::Ptr jsk_recognition_utils::Plane::faceToOrigin ( )
virtual

Definition at line 89 of file plane.cpp.

Plane jsk_recognition_utils::Plane::flip ( )
virtual

Definition at line 84 of file plane.cpp.

double jsk_recognition_utils::Plane::getD ( )
virtual

Definition at line 259 of file plane.cpp.

Eigen::Vector3f jsk_recognition_utils::Plane::getNormal ( )
virtual

Definition at line 254 of file plane.cpp.

Eigen::Vector3f jsk_recognition_utils::Plane::getPointOnPlane ( )
virtual

Definition at line 78 of file plane.cpp.

void jsk_recognition_utils::Plane::initializeCoordinates ( )
protectedvirtual

Definition at line 264 of file plane.cpp.

bool jsk_recognition_utils::Plane::isSameDirection ( const Plane another)
virtual

Definition at line 102 of file plane.cpp.

bool jsk_recognition_utils::Plane::isSameDirection ( const Eigen::Vector3f &  another_normal)
virtual

Definition at line 107 of file plane.cpp.

void jsk_recognition_utils::Plane::project ( const Eigen::Vector3f &  p,
Eigen::Vector3f &  output 
)
virtual

Reimplemented in jsk_recognition_utils::ConvexPolygon.

Definition at line 171 of file plane.cpp.

void jsk_recognition_utils::Plane::project ( const Eigen::Vector3d &  p,
Eigen::Vector3d &  output 
)
virtual

Reimplemented in jsk_recognition_utils::ConvexPolygon.

Definition at line 180 of file plane.cpp.

void jsk_recognition_utils::Plane::project ( const Eigen::Vector3d &  p,
Eigen::Vector3f &  output 
)
virtual

Reimplemented in jsk_recognition_utils::ConvexPolygon.

Definition at line 187 of file plane.cpp.

void jsk_recognition_utils::Plane::project ( const Eigen::Vector3f &  p,
Eigen::Vector3d &  output 
)
virtual

Reimplemented in jsk_recognition_utils::ConvexPolygon.

Definition at line 192 of file plane.cpp.

void jsk_recognition_utils::Plane::project ( const Eigen::Affine3d &  pose,
Eigen::Affine3d &  output 
)
virtual

Definition at line 199 of file plane.cpp.

void jsk_recognition_utils::Plane::project ( const Eigen::Affine3f &  pose,
Eigen::Affine3f &  output 
)
virtual

Definition at line 207 of file plane.cpp.

double jsk_recognition_utils::Plane::signedDistanceToPoint ( const Eigen::Vector4f  p)
virtual

Definition at line 117 of file plane.cpp.

double jsk_recognition_utils::Plane::signedDistanceToPoint ( const Eigen::Vector3f  p)
virtual

Definition at line 112 of file plane.cpp.

void jsk_recognition_utils::Plane::toCoefficients ( std::vector< float > &  output)
virtual

Definition at line 246 of file plane.cpp.

std::vector< float > jsk_recognition_utils::Plane::toCoefficients ( )
virtual

Definition at line 239 of file plane.cpp.

Plane jsk_recognition_utils::Plane::transform ( const Eigen::Affine3d &  transform)
virtual

Definition at line 225 of file plane.cpp.

Plane jsk_recognition_utils::Plane::transform ( const Eigen::Affine3f &  transform)
virtual

Definition at line 218 of file plane.cpp.

Member Data Documentation

double jsk_recognition_utils::Plane::d_
protected

Definition at line 84 of file plane.h.

Eigen::Vector3f jsk_recognition_utils::Plane::normal_
protected

Definition at line 83 of file plane.h.

Eigen::Affine3f jsk_recognition_utils::Plane::plane_coordinates_
protected

Definition at line 85 of file plane.h.


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


jsk_recognition_utils
Author(s):
autogenerated on Mon May 3 2021 03:03:03