Nori  23
Normal3f Struct Reference

3-dimensional surface normal representation More...

#include <vector.h>

Inheritance diagram for Normal3f:
Collaboration diagram for Normal3f:

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 >
Normal3foperator= (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.
 

Detailed Description

3-dimensional surface normal representation

Definition at line 133 of file vector.h.


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