![]() |
aimsalgo
5.0.5
Neuroimaging image processing
|
#include <aims/moment/moment.h>
Public Types | |
enum | Operation { mSub = -1, mAdd = 1 } |
enum | MomentId { m000 = 0, m100 = 0, m010 = 1, m001 = 2, m200 = 0, m020 = 1, m002 = 2, m110 = 3, m101 = 4, m011 = 5, m300 = 0, m030 = 1, m003 = 2, m210 = 3, m201 = 4, m120 = 5, m021 = 6, m102 = 7, m012 = 8, m111 = 9 } |
Public Member Functions | |
Moment () | |
doesn't necessarily clear all moments to 0. Call clear() to be sure More... | |
Moment (const Moment< T > &) | |
virtual | ~Moment () |
virtual void | clear () |
double | cx () const |
double | cy () const |
double | cz () const |
double | ct () const |
void | setcx (double x) |
void | setcy (double x) |
void | setcz (double x) |
void | setct (double x) |
double * | gravity () |
const double * | gravity () const |
double & | sum () |
const double & | sum () const |
double & | m0 () |
const double & | m0 () const |
double * | m1 () |
const double * | m1 () const |
double * | m2 () |
const double * | m2 () const |
double * | m3 () |
const double * | m3 () const |
const AimsData< double > & | eigenValue () const |
const AimsData< double > & | eigenVector () const |
virtual void | update (Point3df &, int) |
virtual void | update (AimsVector< double, 3 > &, int) |
virtual void | update (double, double, double, int) |
virtual void | doit (AimsData< T > &, T, int) |
virtual void | doit (AimsSurfaceTriangle &) |
virtual void | doit (const aims::BucketMap< Void > &) |
virtual void | orientation () |
Moment< T > & | operator+= (const Moment< T > &) |
Moment< T > | operator+ (const Moment< T > &) |
Protected Attributes | |
double | _cx |
double | _cy |
double | _cz |
double | _ct |
double | _g [3] |
double | _sum |
double | _m0 |
double | _m1 [3] |
double | _m2 [6] |
double | _m3 [10] |
AimsData< double > | _eigenValue |
AimsData< double > | _eigenVector |
enum Moment::MomentId |
enum Moment::Operation |
|
inlinevirtual |
Definition at line 188 of file moment.h.
Referenced by Moment< int16_t >::~Moment().
|
inline |
Definition at line 101 of file moment.h.
Referenced by MomentNormalStrategy< T >::doit(), and MomentIncrementalStrategy< T >::update().
|
inline |
Definition at line 98 of file moment.h.
Referenced by MomentNormalStrategy< T >::doit(), MomentNormalStrategy< T >::MomentNormalStrategy(), and MomentIncrementalStrategy< T >::update().
|
inline |
Definition at line 99 of file moment.h.
Referenced by MomentNormalStrategy< T >::doit(), MomentNormalStrategy< T >::MomentNormalStrategy(), and MomentIncrementalStrategy< T >::update().
|
inline |
Definition at line 100 of file moment.h.
Referenced by MomentNormalStrategy< T >::doit(), MomentNormalStrategy< T >::MomentNormalStrategy(), and MomentIncrementalStrategy< T >::update().
Reimplemented in GeometricMoment< T >.
Definition at line 408 of file moment.h.
Referenced by Moment< int16_t >::eigenVector().
|
virtual |
Reimplemented in TriangulationMoment.
|
virtual |
|
inline |
Definition at line 107 of file moment.h.
Referenced by MomentNormalStrategy< T >::doit(), Moment< int16_t >::Moment(), and MomentIncrementalStrategy< T >::update().
|
inline |
|
inline |
Definition at line 112 of file moment.h.
Referenced by MomentNormalStrategy< T >::doit(), MomentNormalStrategy< T >::MomentNormalStrategy(), and MomentIncrementalStrategy< T >::update().
|
inline |
|
inline |
Definition at line 115 of file moment.h.
Referenced by MomentNormalStrategy< T >::doit(), Moment< int16_t >::Moment(), MomentNormalStrategy< T >::MomentNormalStrategy(), and MomentIncrementalStrategy< T >::update().
|
inline |
|
inline |
Definition at line 117 of file moment.h.
Referenced by MomentNormalStrategy< T >::doit(), Moment< int16_t >::Moment(), MomentNormalStrategy< T >::MomentNormalStrategy(), and MomentIncrementalStrategy< T >::update().
|
inline |
|
inline |
Definition at line 119 of file moment.h.
Referenced by MomentNormalStrategy< T >::doit(), Moment< int16_t >::Moment(), MomentNormalStrategy< T >::MomentNormalStrategy(), and MomentIncrementalStrategy< T >::update().
|
inline |
Definition at line 397 of file moment.h.
Referenced by Moment< int16_t >::eigenVector().
Definition at line 293 of file moment.h.
Referenced by Moment< int16_t >::eigenVector().
|
inlinevirtual |
Definition at line 244 of file moment.h.
Referenced by GeometricMoment< T >::doit(), Moment< int16_t >::eigenVector(), Moment< int16_t >::operator+=(), GeometricMoment< T >::update(), and Moment< int16_t >::update().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 110 of file moment.h.
Referenced by MomentNormalStrategy< T >::doit(), and MomentIncrementalStrategy< T >::update().
|
inline |
Definition at line 222 of file moment.h.
Referenced by Moment< int16_t >::eigenVector(), and Moment< int16_t >::update().
|
inlinevirtual |
|
inlinevirtual |
Reimplemented in GeometricMoment< T >.
|
protected |
Definition at line 145 of file moment.h.
Referenced by Moment< int16_t >::ct(), GeometricMoment< T >::doit(), and Moment< int16_t >::setct().
|
protected |
Definition at line 142 of file moment.h.
Referenced by Moment< int16_t >::cx(), GeometricMoment< T >::doit(), and Moment< int16_t >::setcx().
|
protected |
Definition at line 143 of file moment.h.
Referenced by Moment< int16_t >::cy(), GeometricMoment< T >::doit(), and Moment< int16_t >::setcy().
|
protected |
Definition at line 144 of file moment.h.
Referenced by Moment< int16_t >::cz(), GeometricMoment< T >::doit(), and Moment< int16_t >::setcz().
Definition at line 156 of file moment.h.
Referenced by Moment< int16_t >::eigenValue(), and Moment< int16_t >::orientation().
Definition at line 157 of file moment.h.
Referenced by Moment< int16_t >::eigenVector(), and Moment< int16_t >::orientation().
|
protected |
Definition at line 147 of file moment.h.
Referenced by Moment< int16_t >::clear(), Moment< int16_t >::gravity(), Moment< int16_t >::Moment(), and Moment< int16_t >::operator+=().
|
protected |
Definition at line 150 of file moment.h.
Referenced by Moment< int16_t >::clear(), GeometricMoment< T >::doit(), Moment< int16_t >::m0(), and Moment< int16_t >::operator+=().
|
protected |
Definition at line 152 of file moment.h.
Referenced by Moment< int16_t >::clear(), GeometricMoment< T >::doit(), Moment< int16_t >::m1(), Moment< int16_t >::Moment(), and Moment< int16_t >::operator+=().
|
protected |
Definition at line 153 of file moment.h.
Referenced by Moment< int16_t >::clear(), GeometricMoment< T >::doit(), Moment< int16_t >::m2(), Moment< int16_t >::Moment(), Moment< int16_t >::operator+=(), and Moment< int16_t >::orientation().
|
protected |
Definition at line 154 of file moment.h.
Referenced by Moment< int16_t >::clear(), GeometricMoment< T >::doit(), Moment< int16_t >::m3(), Moment< int16_t >::Moment(), and Moment< int16_t >::operator+=().
|
protected |
Definition at line 149 of file moment.h.
Referenced by Moment< int16_t >::clear(), GeometricMoment< T >::doit(), Moment< int16_t >::operator+=(), and Moment< int16_t >::sum().