ITK  4.1.0
Insight Segmentation and Registration Toolkit
Classes | Namespaces | Defines | Functions
itkVector.h File Reference

Go to the source code of this file.

Classes

class  itk::Vector< T, NVectorDimension >
 A templated class holding a n-Dimensional vector. More...

Namespaces

namespace  itk

Defines

#define ITK_TEMPLATE_Vector(_, EXPORT, TypeX, TypeY)

Functions

ITKCommon_EXPORT Vector
< double, 3 > 
itk::CrossProduct (const Vector< double, 3 > &, const Vector< double, 3 > &)
ITKCommon_EXPORT Vector< float, 3 > itk::CrossProduct (const Vector< float, 3 > &, const Vector< float, 3 > &)
ITKCommon_EXPORT Vector< int, 3 > itk::CrossProduct (const Vector< int, 3 > &, const Vector< int, 3 > &)
template<class T , unsigned int NVectorDimension>
Vector< T, NVectorDimension > itk::operator* (const T &scalar, const Vector< T, NVectorDimension > &v)
template<class T , unsigned int NVectorDimension>
std::ostream & itk::operator<< (std::ostream &os, const Vector< T, NVectorDimension > &v)
template<class T , unsigned int NVectorDimension>
std::istream & itk::operator>> (std::istream &is, Vector< T, NVectorDimension > &v)

Define Documentation

#define ITK_TEMPLATE_Vector (   _,
  EXPORT,
  TypeX,
  TypeY 
)
Value:
namespace itk                                                                       \
  {                                                                                   \
  _( 2 ( class EXPORT Vector< ITK_TEMPLATE_2 TypeX > ) )                              \
  _( 1 ( EXPORT std::ostream & operator<<(std::ostream &,                             \
                                          const Vector< ITK_TEMPLATE_2 TypeX > &) ) ) \
  _( 1 ( EXPORT std::istream & operator>>(std::istream &,                             \
                                          Vector< ITK_TEMPLATE_2 TypeX > &) ) )       \
  namespace Templates                                                                 \
  {                                                                                   \
  typedef Vector< ITK_TEMPLATE_2 TypeX > Vector##TypeY;                             \
  }                                                                                   \
  }

Definition at line 281 of file itkVector.h.