Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

Point3D.H File Reference


Detailed Description

A basic 3D point class

Definition in file Point3D.H.

#include "Image/Dims.H"
#include "Util/Promotions.H"
#include "Util/log.H"
#include <cmath>
#include <string>
#include <vector>

Include dependency graph for Point3D.H:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Point3D< T >
 This is a basic class to encode 3D integer coordinates. More...

Functions

template<class T, class U>
bool operator== (const Point3D< T > &p1, const Point3D< U > &p2)
 == operator
template<class T, class U>
bool operator!= (const Point3D< T > &p1, const Point3D< U > &p2)
 != operator
template<class T, class U>
bool operator> (const Point3D< T > &p1, const Point3D< U > &p2)
 > operator
template<class T, class U>
bool operator< (const Point3D< T > &p1, const Point3D< U > &p2)
 < operator
template<class T>
std::string convertToString (const Point3D< T > &val)
 Point3D<T> overload: format is "<i>,<j>".
template<class T>
void convertFromString (const std::string &str, Point3D< T > &val)
 Point3D<T> overload: format is "<i>,<j>".


Function Documentation

template<class T>
void convertFromString const std::string str,
Point3D< T > &  val
 

Point3D<T> overload: format is "<i>,<j>".

Definition at line 60 of file Point3D.C.

References split(), Point3D< T >::x, Point3D< T >::y, and Point3D< T >::z.

template<class T>
std::string convertToString const Point3D< T > &  val  ) 
 

Point3D<T> overload: format is "<i>,<j>".

Definition at line 54 of file Point3D.C.

References convertToString(), Point3D< T >::x, Point3D< T >::y, and Point3D< T >::z.

template<class T, class U>
bool operator!= const Point3D< T > &  p1,
const Point3D< U > &  p2
[inline]
 

!= operator

Definition at line 280 of file Point3D.H.

References Point3D< T >::x, Point3D< T >::y, and Point3D< T >::z.

template<class T, class U>
bool operator< const Point3D< T > &  p1,
const Point3D< U > &  p2
[inline]
 

< operator

Definition at line 290 of file Point3D.H.

template<class T, class U>
bool operator== const Point3D< T > &  p1,
const Point3D< U > &  p2
[inline]
 

== operator

Definition at line 275 of file Point3D.H.

References Point3D< T >::x, Point3D< T >::y, and Point3D< T >::z.

template<class T, class U>
bool operator> const Point3D< T > &  p1,
const Point3D< U > &  p2
[inline]
 

> operator

Definition at line 285 of file Point3D.H.

References Point3D< T >::x, Point3D< T >::y, and Point3D< T >::z.


Generated on Mon Nov 23 15:47:44 2009 for iLab Neuromorphic Vision Toolkit by  doxygen 1.4.4