3-dimensional surface normal representation More...
#include <vector.h>
Public Types | |
enum | { Dimension = 3 } |
typedef float | Scalar |
typedef Eigen::Matrix< Scalar, Dimension, 1 > | Base |
typedef TVector< Scalar, Dimension > | VectorType |
typedef TPoint< Scalar, Dimension > | PointType |
Public Member Functions | |
Normal3f (Scalar value=0.0f) | |
Create a new normal with constant component vlaues. | |
Normal3f (Scalar x, Scalar y, Scalar z) | |
Create a new 3D normal. | |
template<typename Derived > | |
Normal3f (const Eigen::MatrixBase< Derived > &p) | |
Construct a normal from MatrixBase (needed to play nice with Eigen) | |
template<typename Derived > | |
Normal3f & | operator= (const Eigen::MatrixBase< Derived > &p) |
Assign a normal from MatrixBase (needed to play nice with Eigen) | |
std::string | toString () const |
Return a human-readable string summary. | |