Public Types | Public Member Functions | Private Attributes

cmtk::SurfaceNormal Class Reference
[cmtkBase Library]

Class that computes the surface normal. More...

#include <cmtkSurfaceNormal.h>

Collaboration diagram for cmtk::SurfaceNormal:
Collaboration graph
[legend]

List of all members.

Public Types

typedef SurfaceNormal Self
 This class.
typedef FixedVector
< 3, Types::Coordinate
SpaceVectorType
 Space vector type.

Public Member Functions

 SurfaceNormal (const SpaceVectorType &s1, const SpaceVectorType &s2)
 Constructor: takes two non-collinear vectors that span the surface.
const SpaceVectorTypeGet () const
 Get the normal vector.

Private Attributes

SpaceVectorType m_Normal
 The surface normal vector.

Detailed Description

Class that computes the surface normal.

Definition at line 46 of file cmtkSurfaceNormal.h.


Member Typedef Documentation

This class.

Definition at line 51 of file cmtkSurfaceNormal.h.

Space vector type.

Definition at line 54 of file cmtkSurfaceNormal.h.


Constructor & Destructor Documentation

cmtk::SurfaceNormal::SurfaceNormal ( const SpaceVectorType s1,
const SpaceVectorType s2 
) [inline]

Constructor: takes two non-collinear vectors that span the surface.

Definition at line 57 of file cmtkSurfaceNormal.h.


Member Function Documentation

const SpaceVectorType& cmtk::SurfaceNormal::Get (  ) const [inline]

Get the normal vector.

Definition at line 63 of file cmtkSurfaceNormal.h.

Referenced by cmtk::ScalarImage::GetImageOrigin().


Member Data Documentation

The surface normal vector.

Definition at line 70 of file cmtkSurfaceNormal.h.


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