zsig 1.0.0
|
Signature class. More...
#include <signaturet.hh>
Public Types | |
typedef SignatureT< R, C, T > | signature_type |
This class type. | |
Public Member Functions | |
SignatureT () | |
Default constructor. | |
SignatureT (const SignatureT &_sig) | |
~SignatureT () | |
Destructor. | |
void | clear (void) |
Clear this signature values. | |
signature_type & | operator= (const signature_type &_sig) |
Assign operator. | |
T * | operator[] (const unsigned &_i) |
Read/write operator. | |
const T * | operator[] (const unsigned &_i) const |
Read operator. | |
T ** | operator& (void) |
Address operator. | |
const T ** | operator& (void) const |
Address operator. | |
Friends | |
std::ostream & | operator<< (std::ostream &out, const signature_type &_s) |
Output stream operator. | |
std::istream & | operator>> (std::istream &in, signature_type &_s) |
Input stream operator. |
Signature class.
Signature of a vertex is a descriptor of the surface surrounding that vertex, in practice it is a scalar field described by a matrix stored in this class.
R | Signature row dimension |
C | Signature column dimension |
T | Signature value type |
Definition at line 39 of file signaturet.hh.
typedef SignatureT< R, C, T > zsig::SignatureT< R, C, T >::signature_type |
This class type.
Definition at line 43 of file signaturet.hh.
zsig::SignatureT< R, C, T >::SignatureT | ( | ) | [inline] |
Default constructor.
Definition at line 46 of file signaturet.hh.
References zsig::SignatureT< R, C, T >::clear().
zsig::SignatureT< R, C, T >::SignatureT | ( | const SignatureT< R, C, T > & | _sig | ) | [inline] |
Copy Constructor
[in] | _sig | Copy this signature |
Definition at line 56 of file signaturet.hh.
zsig::SignatureT< R, C, T >::~SignatureT | ( | ) | [inline] |
Destructor.
Definition at line 64 of file signaturet.hh.
void zsig::SignatureT< R, C, T >::clear | ( | void | ) | [inline] |
Clear this signature values.
Definition at line 71 of file signaturet.hh.
signature_type& zsig::SignatureT< R, C, T >::operator= | ( | const signature_type & | _sig | ) | [inline] |
Assign operator.
[in] | _sig | Copy signature |
Definition at line 81 of file signaturet.hh.
T* zsig::SignatureT< R, C, T >::operator[] | ( | const unsigned & | _i | ) | [inline] |
Read/write operator.
[in] | _i | Index of row |
Definition at line 93 of file signaturet.hh.
const T* zsig::SignatureT< R, C, T >::operator[] | ( | const unsigned & | _i | ) | const [inline] |
Read operator.
[in] | _i | Index of row |
Definition at line 100 of file signaturet.hh.
T** zsig::SignatureT< R, C, T >::operator& | ( | void | ) | [inline] |
Address operator.
Definition at line 137 of file signaturet.hh.
const T** zsig::SignatureT< R, C, T >::operator& | ( | void | ) | const [inline] |
Address operator.
Definition at line 143 of file signaturet.hh.
std::ostream& operator<< | ( | std::ostream & | out, |
const signature_type & | _s | ||
) | [friend] |
Output stream operator.
[in,out] | out | Output stream |
[in] | _s | Signature to output values from |
Definition at line 108 of file signaturet.hh.
std::istream& operator>> | ( | std::istream & | in, |
signature_type & | _s | ||
) | [friend] |
Input stream operator.
[in,out] | in | Input stream |
[in] | _s | Signature to input values to |
Definition at line 125 of file signaturet.hh.