|
| Coords () |
| Empty constructor. More...
|
|
| Coords (const Base &v) |
| Copy constructor Constructs from anit Coords. More...
|
|
| Coords (const int v[dim]) |
| Constructor from C array. More...
|
|
| Coords (int v) |
| Constructor with constant value. More...
|
|
| Coords (int x, int y) |
| 2D alias. More...
|
|
| Coords (int x, int y, int z) |
| 3D alias. More...
|
|
size_t | prod () const |
| Product of coordinates. More...
|
|
| FVector () |
| Empty constructor. More...
|
|
| FVector (const int &v) |
| Constructor with constant value. More...
|
|
| FVector (const T2 t[dim]) |
| Constructor from C array. More...
|
|
| FVector (const FArray< T2, dim > &a) |
| Copy constructor. More...
|
|
| FVector (int x, int y) |
| 2D alias. More...
|
|
| FVector (int x, int y, int z) |
| 3D alias. More...
|
|
FVector & | fill (const int &v) |
| Filling. More...
|
|
FVector & | normalize () |
| Euclidean in-place normalization. More...
|
|
int | operator* (const FVector &v) const |
| Scalar product. More...
|
|
FVector | operator* (int s) const |
| Scalar multiplication. More...
|
|
FVector & | operator*= (int s) |
| Scalar in place multiplication. More...
|
|
FVector | operator+ (const FVector &v) const |
| Addition. More...
|
|
FVector | operator+ (int s) const |
| Scalar Addition. More...
|
|
FVector & | operator+= (const FVector &v) |
| In place Addition. More...
|
|
FVector & | operator+= (int s) |
| Scalar in place Addition. More...
|
|
FVector | operator- (const FVector &v) const |
| Substraction. More...
|
|
FVector | operator- (int s) const |
| Scalar Substraction. More...
|
|
FVector | operator- () const |
| Opposite. More...
|
|
FVector & | operator-= (const FVector &v) |
| In place Substraction. More...
|
|
FVector & | operator-= (int s) |
| Scalar in place substractrion. More...
|
|
FVector | operator/ (int s) const |
| Scalar division. More...
|
|
FVector & | operator/= (int s) |
| Scalar in place division. More...
|
|
FVector & | operator= (const FArray< T2, dim > &b) |
| Assignment. More...
|
|
int | operator^ (const FVector< int, 2 > &v) const |
| 2D cross product. More...
|
|
FVector< int, 3 > | operator^ (const FVector< int, 3 > &v) const |
| 3D cross product. More...
|
|
const int & | x () const |
| Read alias. More...
|
|
int & | x () |
| Write alias. More...
|
|
const int & | y () const |
| Read alias. More...
|
|
int & | y () |
| Write alias. More...
|
|
const int & | z () const |
| Read alias. More...
|
|
int & | z () |
| Write alias. More...
|
|
| FArray () |
| Empty constructor. More...
|
|
| FArray (const int &v) |
| Constructor with constant value. More...
|
|
| FArray (const T2 t[S]) |
| Constructor from C array. More...
|
|
| FArray (const FArray< T2, S > &a) |
| Copy constructor. More...
|
|
| FArray (int v0, int v1) |
| 2D alias. More...
|
|
| FArray (int v0, int v1, int v2) |
| 3D alias. More...
|
|
| FArray (int v0, int v1, int v2, int v3) |
| 4D alias. More...
|
|
iterator | begin () |
| Begin iterator. More...
|
|
const_iterator | begin () const |
| Begin const iterator. More...
|
|
FArray & | copy (const T2 t[S]) |
| C array of different type copy. More...
|
|
FArray & | copy (const FArray< T2, S > &b) |
| Copy. More...
|
|
const int * | data () const |
| Data pointer (read). More...
|
|
int * | data () |
| Data pointer (write). More...
|
|
bool | empty () const |
| Is empty. More...
|
|
iterator | end () |
| End iterator. More...
|
|
const_iterator | end () const |
| End const iterator. More...
|
|
FArray & | fill (const int &v) |
| Filling. More...
|
|
bool | operator!= (const FArray &b) const |
| Inequality test. More...
|
|
FArray & | operator= (const FArray< T2, S > &b) |
| Assignment. More...
|
|
bool | operator== (const FArray &b) const |
| Equality test. More...
|
|
const int & | operator[] (int i) const |
| Read access. More...
|
|
int & | operator[] (int i) |
| Write access. More...
|
|
int | size () const |
| Size. More...
|
|
template<int dim>
class Imagine::Coords< dim >
Coordinates used by MultiArray
- Parameters
-
- Examples:
- Common/test/test.cpp, and Images/test/test.cpp.