Nori

Normal3f Struct Reference

3-dimensional surface normal representation More...

#include <vector.h>

Inheritance diagram for Normal3f:
Matrix

List of all members.

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)
QString toString () const
 Return a human-readable string summary.

Detailed Description

3-dimensional surface normal representation

Definition at line 133 of file vector.h.


Member Typedef Documentation

typedef Eigen::Matrix<Scalar, Dimension, 1> Normal3f::Base

Definition at line 140 of file vector.h.

typedef TPoint<Scalar, Dimension> Normal3f::PointType

Definition at line 142 of file vector.h.

typedef float Normal3f::Scalar

Definition at line 139 of file vector.h.

typedef TVector<Scalar, Dimension> Normal3f::VectorType

Definition at line 141 of file vector.h.


Member Enumeration Documentation

anonymous enum
Enumerator:
Dimension 

Definition at line 135 of file vector.h.


Constructor & Destructor Documentation

Normal3f::Normal3f ( Scalar  value = 0.0f) [inline]

Create a new normal with constant component vlaues.

Definition at line 146 of file vector.h.

Normal3f::Normal3f ( Scalar  x,
Scalar  y,
Scalar  z 
) [inline]

Create a new 3D normal.

Definition at line 149 of file vector.h.

template<typename Derived >
Normal3f::Normal3f ( const Eigen::MatrixBase< Derived > &  p) [inline]

Construct a normal from MatrixBase (needed to play nice with Eigen)

Definition at line 152 of file vector.h.


Member Function Documentation

template<typename Derived >
Normal3f& Normal3f::operator= ( const Eigen::MatrixBase< Derived > &  p) [inline]

Assign a normal from MatrixBase (needed to play nice with Eigen)

Definition at line 156 of file vector.h.

QString Normal3f::toString ( ) const [inline]

Return a human-readable string summary.

Definition at line 162 of file vector.h.


The documentation for this struct was generated from the following file:
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Defines