Public Types | Public Member Functions | Protected Member Functions | Protected Attributes
Cylinder3D Class Reference

#include <Cylinder3D.h>

Inheritance diagram for Cylinder3D:
Inheritance graph
[legend]

List of all members.

Public Types

typedef boost::shared_ptr
< Cylinder3D
Cylinder3DPtr
typedef Eigen::Matrix3f Mat3
typedef Eigen::Vector3f Vec3

Public Member Functions

bool checkDistance (const Vec3 &point, const float &maxDistance) const
bool checkNormal (const Vec3 &normal, const Vec3 &point, const float &mAngleEps) const
 Cylinder3D ()
 Cylinder3D (Vec3 pointOnAxis, Vec3 axisDirection, float radius)
 Cylinder3D (Vec3 pointOnAxis, Vec3 axisDirection, float radius, const Vec3 &rotationAxis, const float rotationAngle)
float distanceToAxis (const Vec3 &point) const
float distanceToCylinderSurface (const Vec3 &point) const
const Vec3getAxisDirection () const
const Vec3getPointOnAxis () const
const float & getRadius () const
const Mat3getReTransformRot () const
const float & getRotationAngle () const
const Vec3getRotationAxis () const
const Mat3getTransformRot () const
void projectPoint (Vec3 &outPoint, const Vec3 &point) const
void setTransformation (const float rotationAngle, const Vec3 &rotationAxis)
void transformToCylinder (Vec3 &outPoint, const Vec3 &point) const
void transformToXYZCoords (Vec3 &outPoint, const Vec3 &point) const

Protected Member Functions

void computeTransformation ()
 Calculate transformations from and to cylinder coordinate system.

Protected Attributes

Vec3 mAxisDirection
Vec3 mPointOnAxis
float mRadius
Mat3 mReTransformRot
float mRotAngle
Vec3 mRotAxis
Mat3 mTransformRot
Vec3 mTransformTrans

Detailed Description

Definition at line 43 of file Cylinder3D.h.


Member Typedef Documentation

typedef boost::shared_ptr<Cylinder3D> Cylinder3D::Cylinder3DPtr

Definition at line 47 of file Cylinder3D.h.

typedef Eigen::Matrix3f Cylinder3D::Mat3

Reimplemented in CylinderPatch.

Definition at line 46 of file Cylinder3D.h.

typedef Eigen::Vector3f Cylinder3D::Vec3

Reimplemented in CylinderPatch.

Definition at line 45 of file Cylinder3D.h.


Constructor & Destructor Documentation

Cylinder3D::Cylinder3D ( ) [inline]

Definition at line 49 of file Cylinder3D.h.

Cylinder3D::Cylinder3D ( Vec3  pointOnAxis,
Vec3  axisDirection,
float  radius 
) [inline]

Definition at line 50 of file Cylinder3D.h.

Cylinder3D::Cylinder3D ( Vec3  pointOnAxis,
Vec3  axisDirection,
float  radius,
const Vec3 rotationAxis,
const float  rotationAngle 
) [inline]

Definition at line 52 of file Cylinder3D.h.


Member Function Documentation

bool Cylinder3D::checkDistance ( const Vec3 point,
const float &  maxDistance 
) const [inline]

Definition at line 65 of file Cylinder3D.h.

bool Cylinder3D::checkNormal ( const Vec3 normal,
const Vec3 point,
const float &  mAngleEps 
) const [inline]

Definition at line 68 of file Cylinder3D.h.

void Cylinder3D::computeTransformation ( ) [inline, protected]

Calculate transformations from and to cylinder coordinate system.

Definition at line 108 of file Cylinder3D.h.

float Cylinder3D::distanceToAxis ( const Vec3 point) const [inline]

Definition at line 89 of file Cylinder3D.h.

float Cylinder3D::distanceToCylinderSurface ( const Vec3 point) const [inline]

Definition at line 95 of file Cylinder3D.h.

const Vec3& Cylinder3D::getAxisDirection ( ) const [inline]

Definition at line 57 of file Cylinder3D.h.

const Vec3& Cylinder3D::getPointOnAxis ( ) const [inline]

Definition at line 56 of file Cylinder3D.h.

const float& Cylinder3D::getRadius ( ) const [inline]

Definition at line 58 of file Cylinder3D.h.

const Mat3& Cylinder3D::getReTransformRot ( ) const [inline]

Definition at line 62 of file Cylinder3D.h.

const float& Cylinder3D::getRotationAngle ( ) const [inline]

Definition at line 60 of file Cylinder3D.h.

const Vec3& Cylinder3D::getRotationAxis ( ) const [inline]

Definition at line 59 of file Cylinder3D.h.

const Mat3& Cylinder3D::getTransformRot ( ) const [inline]

Definition at line 61 of file Cylinder3D.h.

void Cylinder3D::projectPoint ( Vec3 outPoint,
const Vec3 point 
) const [inline]

Definition at line 79 of file Cylinder3D.h.

void Cylinder3D::setTransformation ( const float  rotationAngle,
const Vec3 rotationAxis 
) [inline]

Reimplemented in CylinderPatch.

Definition at line 98 of file Cylinder3D.h.

void Cylinder3D::transformToCylinder ( Vec3 outPoint,
const Vec3 point 
) const [inline]

Definition at line 87 of file Cylinder3D.h.

void Cylinder3D::transformToXYZCoords ( Vec3 outPoint,
const Vec3 point 
) const [inline]

Definition at line 88 of file Cylinder3D.h.


Member Data Documentation

Definition at line 117 of file Cylinder3D.h.

Definition at line 116 of file Cylinder3D.h.

float Cylinder3D::mRadius [protected]

Definition at line 118 of file Cylinder3D.h.

Definition at line 122 of file Cylinder3D.h.

float Cylinder3D::mRotAngle [protected]

Definition at line 121 of file Cylinder3D.h.

Definition at line 120 of file Cylinder3D.h.

Definition at line 122 of file Cylinder3D.h.

Definition at line 123 of file Cylinder3D.h.


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


structure_coloring_fkie
Author(s): Bastian Gaspers
autogenerated on Sun Jan 5 2014 11:38:09