Public Types |
Public Member Functions |
Static Public Member Functions |
Public Attributes |
Static Public Attributes |
List of all members
artec::sdk::base::Point4< T > Class Template Reference
#include <artec/sdk/base/Point.h>
Public Types | |
| typedef T | value_type |
Public Member Functions | |
| Point4 () | |
| Constructor. Empty for fast points array allocation. More... | |
| Point4 (T tx, T ty, T tz, T tw) | |
| Point4 (const Point4 &ot) | |
| Copying constructor. More... | |
| Point4 & | operator= (const Point4 &ot) |
| Assignment operator. More... | |
| Point4 (const Point2< T > &ot) | |
| Point2 conversion. More... | |
| Point4 & | operator= (const Point2< T > &ot) |
| Point4 (const Point3< T > &ot) | |
| Point3 conversion. More... | |
| Point4 & | operator= (const Point3< T > &ot) |
| template<typename T2 > | |
| Point4 (const Point4< T2 > &ot) | |
| Type conversion. More... | |
| Point4 | operator- () const |
| Unary minus. More... | |
| operator T * () | |
| Conversion to plain form operator. More... | |
| operator const T * () const | |
| double | length () const |
| Length of point. More... | |
| double | lengthSquared () const |
| Square of length of point. More... | |
| void | normalize () |
| normalizing to unit vector in euclidean norm More... | |
| Point4 | normalized () const |
| bool | isZero () const |
| Zero checking. More... | |
| void | reset () |
| Reset values to default. More... | |
| template<typename T2 > | |
| Point4< T > & | operator+= (const T2 &val) |
| template<typename T2 > | |
| Point4< T > & | operator-= (const T2 &val) |
| template<typename T2 > | |
| Point4< T > & | operator*= (const T2 &val) |
| template<typename T2 > | |
| Point4< T > & | operator/= (const T2 &val) |
| template<typename T2 > | |
| Point4< T > | operator+ (const T2 &val) const |
| template<typename T2 > | |
| Point4< T > | operator- (const T2 &val) const |
| template<typename T2 > | |
| Point4< T > | operator* (const T2 &val) const |
| template<typename T2 > | |
| Point4< T > | operator/ (const T2 &val) const |
| Point4 & | operator+= (const Point4 &ot) |
| Point4 & | operator-= (const Point4 &ot) |
| Point4 & | operator*= (const Point4 &ot) |
| Point4 & | operator/= (const Point4 &ot) |
| Point4 | operator+ (const Point4 &p2) const |
| Point4 | operator- (const Point4 &p2) const |
| Point4 | operator* (const Point4 &p2) const |
| Point4 | operator/ (const Point4 &p2) const |
| bool | operator== (const Point4 &p2) const |
| bool | operator!= (const Point4 &p2) const |
| bool | operator> (const Point4 &p2) const |
| bool | operator>= (const Point4 &p2) const |
| bool | operator< (const Point4 &p2) const |
| bool | operator<= (const Point4 &p2) const |
Static Public Member Functions | |
| static T | dot (const Point4< T > &p1, const Point4< T > &p2) |
| Inner product operator. More... | |
Public Attributes | |
| union { | |
| struct { | |
| T x | |
| T y | |
| T z | |
| T w | |
| } | |
| T data [4] | |
| }; | |
| point data More... | |
Static Public Attributes | |
| static const int | size_ = 4 |
Detailed Description
template<typename T>
class artec::sdk::base::Point4< T >
4-dimensional point class. Coordinates are of type T.
Member Typedef Documentation
template<typename T>
| typedef T artec::sdk::base::Point4< T >::value_type |
Constructor & Destructor Documentation
template<typename T>
|
inlineexplicit |
template<typename T>
|
inlineexplicit |
template<typename T>
|
inline |
template<typename T>
|
inline |
template<typename T>
|
inline |
template<typename T>
template<typename T2 >
|
inlineexplicit |
Member Function Documentation
template<typename T>
|
inlinestatic |
template<typename T>
|
inline |
template<typename T>
|
inline |
template<typename T>
|
inline |
template<typename T>
|
inline |
template<typename T>
|
inline |
template<typename T>
|
inline |
template<typename T>
|
inline |
template<typename T>
|
inline |
template<typename T>
template<typename T2 >
|
inline |
template<typename T>
|
inline |
template<typename T>
template<typename T2 >
|
inline |
template<typename T>
|
inline |
template<typename T>
template<typename T2 >
|
inline |
template<typename T>
|
inline |
template<typename T>
template<typename T2 >
|
inline |
template<typename T>
|
inline |
template<typename T>
template<typename T2 >
|
inline |
template<typename T>
|
inline |
template<typename T>
|
inline |
template<typename T>
template<typename T2 >
|
inline |
template<typename T>
|
inline |
template<typename T>
template<typename T2 >
|
inline |
template<typename T>
|
inline |
template<typename T>
template<typename T2 >
|
inline |
template<typename T>
|
inline |
template<typename T>
|
inline |
template<typename T>
|
inline |
template<typename T>
|
inline |
template<typename T>
|
inline |
template<typename T>
|
inline |
template<typename T>
|
inline |
template<typename T>
|
inline |
template<typename T>
|
inline |
template<typename T>
|
inline |
Member Data Documentation
| union { ... } |
point data
template<typename T>
| T artec::sdk::base::Point4< T >::data[4] |
template<typename T>
|
static |
template<typename T>
| T artec::sdk::base::Point4< T >::w |
template<typename T>
| T artec::sdk::base::Point4< T >::x |
template<typename T>
| T artec::sdk::base::Point4< T >::y |
template<typename T>
| T artec::sdk::base::Point4< T >::z |
The documentation for this class was generated from the following file:
- artec/sdk/base/Point.h
