|
soma-io
4.7.0
|
#include <cartobase/exception/assert.h>#include <soma-io/utilities/asciidatasourcetraits.h>#include <cartobase/type/types.h>#include <cartobase/type/datatypetraits.h>#include <fstream>#include <math.h>#include <cartobase/object/object.h>#include <vector>

Go to the source code of this file.
Classes | |
| class | AimsVector< T, D > |
| The template class to implement basic vectors. More... | |
| class | AimsVector< T, D > |
| The template class to implement basic vectors. More... | |
| class | carto::DataTypeCode< AimsVector< T, D > > |
| class | carto::DataTypeTraits< AimsVector< T, D > > |
| class | internal::fill_aimsvector2< T, D > |
| class | internal::fill_aimsvector3< T, D > |
| class | internal::fill_aimsvector4< T, D > |
| class | internal::fill_aimsvector2< T, 1 > |
| class | internal::fill_aimsvector3< T, 1 > |
| class | internal::fill_aimsvector4< T, 1 > |
| class | internal::fill_aimsvector3< T, 2 > |
| class | internal::fill_aimsvector4< T, 2 > |
| class | internal::fill_aimsvector4< T, 3 > |
Namespaces | |
| carto | |
| internal | |
Typedefs | |
Useful type definitions | |
| typedef AimsVector< int16_t, 2 > | Point2d |
| typedef AimsVector< int16_t, 3 > | Point3d |
| typedef AimsVector< int16_t, 4 > | Point4d |
| typedef AimsVector< uint32_t, 2 > | Point2du |
| typedef AimsVector< uint32_t, 3 > | Point3du |
| typedef AimsVector< uint32_t, 4 > | Point4du |
| typedef AimsVector< int16_t, 2 > | Point2ds |
| typedef AimsVector< int16_t, 3 > | Point3ds |
| typedef AimsVector< int16_t, 4 > | Point4ds |
| typedef AimsVector< int32_t, 2 > | Point2di |
| typedef AimsVector< int32_t, 3 > | Point3di |
| typedef AimsVector< int32_t, 4 > | Point4di |
| typedef AimsVector< int64_t, 2 > | Point2dl |
| typedef AimsVector< int64_t, 3 > | Point3dl |
| typedef AimsVector< int64_t, 4 > | Point4dl |
| typedef AimsVector< uint16_t, 2 > | Point2dus |
| typedef AimsVector< uint16_t, 3 > | Point3dus |
| typedef AimsVector< uint16_t, 4 > | Point4dus |
| typedef AimsVector< uint32_t, 2 > | Point2dui |
| typedef AimsVector< uint32_t, 3 > | Point3dui |
| typedef AimsVector< uint32_t, 4 > | Point4dui |
| typedef AimsVector< uint64_t, 2 > | Point2dul |
| typedef AimsVector< uint64_t, 3 > | Point3dul |
| typedef AimsVector< uint64_t, 4 > | Point4dul |
| typedef AimsVector< float, 2 > | Point2df |
| typedef AimsVector< float, 3 > | Point3df |
| typedef AimsVector< float, 4 > | Point4df |
| typedef AimsVector< double, 2 > | Point2dd |
| typedef AimsVector< double, 3 > | Point3dd |
| typedef AimsVector< double, 4 > | Point4dd |
Functions | |
| template<class T , int D> | |
| bool | operator== (const AimsVector< T, D > &v1, const AimsVector< T, D > &v2) |
| template<class T , int D> | |
| bool | operator== (const AimsVector< T, D > &v1, const T &val) |
| template<class T , int D> | |
| bool | operator!= (const AimsVector< T, D > &v1, const AimsVector< T, D > &v2) |
| should be defined implicitely, but fails with some compilers (Intel) More... | |
| template<class T , int D> | |
| bool | operator!= (const AimsVector< T, D > &v1, const T &val) |
| should be defined implicitely, but fails with some compilers (Intel) More... | |
| template<class T , int D> | |
| AimsVector< T, D > | operator+ (const AimsVector< T, D > &v1, const AimsVector< T, D > &v2) |
| template<class T , int D> | |
| AimsVector< T, D > | operator- (const AimsVector< T, D > &v1, const AimsVector< T, D > &v2) |
| template<class T , int D> | |
| AimsVector< T, D > | operator* (const AimsVector< T, D > &v1, double value) |
| template<class T , int D> | |
| AimsVector< T, D > | operator* (double value, const AimsVector< T, D > &v1) |
| template<class T , int D> | |
| AimsVector< T, D > | operator/ (const AimsVector< T, D > &v1, double value) |
| template<class T , int D> | |
| AimsVector< T, D > | operator+ (const AimsVector< T, D > &v1) |
| template<class T , int D> | |
| AimsVector< T, D > | operator- (const AimsVector< T, D > &v1) |
| template<class T , int D> | |
| AimsVector< T, 3 > | crossed (const AimsVector< T, D > &v1, const AimsVector< T, D > &v2) |
| template<class T , int D> | |
| float | norm (const AimsVector< T, D > &v1) |
| template<class T , int D> | |
| float | norm2 (const AimsVector< T, D > &v1) |
| template<class T , int D> | |
| double | dnorm (const AimsVector< T, D > &v1) |
| template<class T , int D> | |
| double | dnorm2 (const AimsVector< T, D > &v1) |
| template<class T , int D> | |
| std::ostream & | operator<< (std::ostream &out, const AimsVector< T, D > &thing) |
| template<class T , int D> | |
| std::istream & | operator>> (std::istream &in, AimsVector< T, D > &thing) |
| template<int D> | |
| std::ostream & | operator<< (std::ostream &out, const AimsVector< char, D > &thing) |
| template<int D> | |
| std::ostream & | operator<< (std::ostream &out, const AimsVector< byte, D > &thing) |
| template<int D> | |
| std::istream & | operator>> (std::istream &is, AimsVector< char, D > &thing) |
| template<int D> | |
| std::istream & | operator>> (std::istream &is, AimsVector< byte, D > &thing) |
| template<typename T > | |
| AimsVector< T, 3 > | vectProduct (const AimsVector< T, 3 > &v1, const AimsVector< T, 3 > &v2) |
| typedef AimsVector<int16_t,2> Point2d |
| typedef AimsVector<double,2> Point2dd |
| typedef AimsVector<float,2> Point2df |
| typedef AimsVector<int32_t,2> Point2di |
| typedef AimsVector<int64_t,2> Point2dl |
| typedef AimsVector<int16_t,2> Point2ds |
| typedef AimsVector<uint32_t,2> Point2du |
| typedef AimsVector<uint32_t,2> Point2dui |
| typedef AimsVector<uint64_t,2> Point2dul |
| typedef AimsVector<uint16_t,2> Point2dus |
| typedef AimsVector<int16_t,3> Point3d |
| typedef AimsVector<double,3> Point3dd |
| typedef AimsVector<float,3> Point3df |
| typedef AimsVector<int32_t,3> Point3di |
| typedef AimsVector<int64_t,3> Point3dl |
| typedef AimsVector<int16_t,3> Point3ds |
| typedef AimsVector<uint32_t,3> Point3du |
| typedef AimsVector<uint32_t,3> Point3dui |
| typedef AimsVector<uint64_t,3> Point3dul |
| typedef AimsVector<uint16_t,3> Point3dus |
| typedef AimsVector<int16_t,4> Point4d |
| typedef AimsVector<double,4> Point4dd |
| typedef AimsVector<float,4> Point4df |
| typedef AimsVector<int32_t,4> Point4di |
| typedef AimsVector<int64_t,4> Point4dl |
| typedef AimsVector<int16_t,4> Point4ds |
| typedef AimsVector<uint32_t,4> Point4du |
| typedef AimsVector<uint32_t,4> Point4dui |
| typedef AimsVector<uint64_t,4> Point4dul |
| typedef AimsVector<uint16_t,4> Point4dus |
|
inline |
Definition at line 919 of file vector.h.
Referenced by operator!=().
|
inline |
Definition at line 947 of file vector.h.
References AimsVector< T, D >::dnorm().
Referenced by operator!=().
|
inline |
Definition at line 955 of file vector.h.
References AimsVector< T, D >::dnorm2().
Referenced by operator!=().
|
inline |
Definition at line 932 of file vector.h.
References AimsVector< T, D >::norm().
Referenced by operator!=().
|
inline |
Definition at line 940 of file vector.h.
References AimsVector< T, D >::norm2().
Referenced by operator!=().
| bool operator!= | ( | const AimsVector< T, D > & | v1, |
| const AimsVector< T, D > & | v2 | ||
| ) |
| bool operator!= | ( | const AimsVector< T, D > & | v1, |
| const T & | val | ||
| ) |
should be defined implicitely, but fails with some compilers (Intel)
Definition at line 74 of file vector.h.
References AimsVector< T, D >::AimsVector(), crossed(), dnorm(), AimsVector< T, D >::dnorm(), dnorm2(), AimsVector< T, D >::dnorm2(), AimsVector< T, D >::dot(), AimsVector< T, D >::isNull(), AimsVector< T, D >::item(), norm(), AimsVector< T, D >::norm(), norm2(), AimsVector< T, D >::norm2(), AimsVector< T, D >::normalize(), operator*(), AimsVector< T, D >::operator*=(), operator+(), AimsVector< T, D >::operator+=(), operator-(), AimsVector< T, D >::operator-=(), operator/(), AimsVector< T, D >::operator/=(), operator<<(), AimsVector< T, D >::operator=(), operator>>(), AimsVector< T, D >::operator[](), AimsVector< T, D >::size(), and AimsVector< T, D >::~AimsVector().
|
inline |
Definition at line 864 of file vector.h.
Referenced by operator!=().
|
inline |
|
inline |
Definition at line 840 of file vector.h.
Referenced by operator!=().
|
inline |
|
inline |
Definition at line 852 of file vector.h.
Referenced by operator!=().
|
inline |
|
inline |
Definition at line 888 of file vector.h.
Referenced by operator!=().
|
inline |
Definition at line 963 of file vector.h.
References AimsVector< T, D >::item().
Referenced by operator!=().
|
inline |
Definition at line 975 of file vector.h.
References AimsVector< T, D >::item().
|
inline |
Definition at line 987 of file vector.h.
References AimsVector< T, D >::item().
|
inline |
Definition at line 816 of file vector.h.
References AimsVector< T, D >::item().
|
inline |
|
inline |
Definition at line 999 of file vector.h.
References AimsVector< T, D >::item().
Referenced by operator!=().
|
inline |
Definition at line 1038 of file vector.h.
References AimsVector< T, D >::item().
|
inline |
Definition at line 1079 of file vector.h.
References AimsVector< T, D >::item().
|
inline |