Libargus API
Libargus Camera API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Public Member Functions
Argus::Point3D< T > Class Template Reference

Point3D template class. More...

#include <Types.h>

Inheritance diagram for Argus::Point3D< T >:
Argus::Tuple< COORDINATE_3D_COUNT, T >

List of all members.

Public Member Functions

 Point3D ()
 Point3D (const Tuple< COORDINATE_3D_COUNT, T > &other)
 Point3D (T init)
 Point3D (T _x, T _y, T _z)
T & x ()
const T & x () const
T & y ()
const T & y () const
T & z ()
const T & z () const
- Public Member Functions inherited from Argus::Tuple< COORDINATE_3D_COUNT, T >
 Tuple ()
 Tuple (T init)
 Initialize every element of the tuple to a single value.
bool operator== (const Tuple< N, T > &rhs) const
 Returns true when every element in the two tuples are identical.
bool operator!= (const Tuple< N, T > &rhs) const
 Returns true if there are any differences between the two tuples.
Tuple< N, T > & operator+= (const Tuple< N, T > &rhs)
 Adds every element of another tuple to the elements of this tuple.
Tuple< N, T > & operator-= (const Tuple< N, T > &rhs)
 Subtracts every element of another tuple from the elements of this tuple.
Tuple< N, T > & operator*= (const T &rhs)
 Multiplies every element in the tuple by a single value.
Tuple< N, T > & operator/= (const T &rhs)
 Divides every element in the tuple by a single value.
const Tuple< N, T > operator+ (const Tuple< N, T > &rhs) const
 Returns the result of adding another tuple to this tuple.
const Tuple< N, T > operator- (const Tuple< N, T > &rhs) const
 Returns the result of subtracting another tuple from this tuple.
const Tuple< N, T > operator* (const T &rhs) const
 Returns the result of multiplying this tuple by a single value.
const Tuple< N, T > operator/ (const T &rhs) const
 Returns the result of dividing this tuple by a single value.
T & operator[] (unsigned int i)
const T & operator[] (unsigned int i) const

Additional Inherited Members

- Static Public Member Functions inherited from Argus::Tuple< COORDINATE_3D_COUNT, T >
static unsigned int tupleSize ()
 Returns the number of elements in the tuple.
- Protected Attributes inherited from Argus::Tuple< COORDINATE_3D_COUNT, T >
m_data [N]

Detailed Description

template<typename T>
class Argus::Point3D< T >

Point3D template class.

This is a Tuple specialization containing 3 elements corresponding to the x, y and z coordinates of a 3D point. Values can be accessed using the named methods or subscript indexing using the Argus::Coordinate enum.

Definition at line 697 of file Types.h.


Constructor & Destructor Documentation

template<typename T >
Argus::Point3D< T >::Point3D ( )
inline

Definition at line 700 of file Types.h.

template<typename T >
Argus::Point3D< T >::Point3D ( const Tuple< COORDINATE_3D_COUNT, T > &  other)
inline

Definition at line 701 of file Types.h.

template<typename T >
Argus::Point3D< T >::Point3D ( init)
inline

Definition at line 703 of file Types.h.

template<typename T >
Argus::Point3D< T >::Point3D ( _x,
_y,
_z 
)
inline

Definition at line 708 of file Types.h.


Member Function Documentation

template<typename T >
T& Argus::Point3D< T >::x ( )
inline

Definition at line 715 of file Types.h.

template<typename T >
const T& Argus::Point3D< T >::x ( ) const
inline

Definition at line 716 of file Types.h.

template<typename T >
T& Argus::Point3D< T >::y ( )
inline

Definition at line 717 of file Types.h.

template<typename T >
const T& Argus::Point3D< T >::y ( ) const
inline

Definition at line 718 of file Types.h.

template<typename T >
T& Argus::Point3D< T >::z ( )
inline

Definition at line 719 of file Types.h.

template<typename T >
const T& Argus::Point3D< T >::z ( ) const
inline

Definition at line 720 of file Types.h.


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