![]() |
aimsalgo
5.1.2
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 carto::VolumeRef< double > & | eigenValue () const |
const carto::VolumeRef< 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 (carto::rc_ptr< carto::Volume< 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] |
carto::VolumeRef< double > | _eigenValue |
carto::VolumeRef< double > | _eigenVector |
enum Moment::MomentId |
enum Moment::Operation |
Definition at line 171 of file moment.h.
References Moment< T >::_g, Moment< T >::_m1, Moment< T >::_m2, Moment< T >::_m3, Moment< T >::gravity(), Moment< T >::m1(), Moment< T >::m2(), Moment< T >::m3(), and sum().
|
inline |
Definition at line 101 of file moment.h.
References Moment< T >::_ct.
Referenced by MomentNormalStrategy< T >::doit(), and MomentIncrementalStrategy< T >::update().
|
inline |
Definition at line 98 of file moment.h.
References Moment< T >::_cx.
Referenced by MomentNormalStrategy< T >::doit(), operator<<(), and MomentIncrementalStrategy< T >::update().
|
inline |
Definition at line 99 of file moment.h.
References Moment< T >::_cy.
Referenced by MomentNormalStrategy< T >::doit(), operator<<(), and MomentIncrementalStrategy< T >::update().
|
inline |
Definition at line 100 of file moment.h.
References Moment< T >::_cz.
Referenced by MomentNormalStrategy< T >::doit(), operator<<(), and MomentIncrementalStrategy< T >::update().
|
virtual |
Reimplemented in TriangulationMoment.
|
virtual |
Reimplemented in GeometricMoment< T >.
|
virtual |
|
inline |
Definition at line 122 of file moment.h.
References Moment< T >::_eigenValue.
Referenced by operator<<().
|
inline |
Definition at line 124 of file moment.h.
References Moment< T >::_eigenVector.
Referenced by operator<<().
|
inline |
Definition at line 107 of file moment.h.
References Moment< T >::_g.
Referenced by MomentNormalStrategy< T >::doit(), Moment< T >::Moment(), operator<<(), and MomentIncrementalStrategy< T >::update().
|
inline |
Definition at line 108 of file moment.h.
References Moment< T >::_g.
|
inline |
Definition at line 112 of file moment.h.
References Moment< T >::_m0.
Referenced by MomentNormalStrategy< T >::doit(), operator<<(), and MomentIncrementalStrategy< T >::update().
|
inline |
Definition at line 113 of file moment.h.
References Moment< T >::_m0.
|
inline |
Definition at line 115 of file moment.h.
References Moment< T >::_m1.
Referenced by MomentNormalStrategy< T >::doit(), Moment< T >::Moment(), operator<<(), and MomentIncrementalStrategy< T >::update().
|
inline |
Definition at line 116 of file moment.h.
References Moment< T >::_m1.
|
inline |
Definition at line 117 of file moment.h.
References Moment< T >::_m2.
Referenced by MomentNormalStrategy< T >::doit(), Moment< T >::Moment(), operator<<(), and MomentIncrementalStrategy< T >::update().
|
inline |
Definition at line 118 of file moment.h.
References Moment< T >::_m2.
|
inline |
Definition at line 119 of file moment.h.
References Moment< T >::_m3.
Referenced by MomentNormalStrategy< T >::doit(), Moment< T >::Moment(), operator<<(), and MomentIncrementalStrategy< T >::update().
|
inline |
Definition at line 120 of file moment.h.
References Moment< T >::_m3.
Definition at line 296 of file moment.h.
References Moment< T >::_m0, Moment< T >::_m1, Moment< T >::_m2, Moment< T >::_m3, and Moment< T >::_sum.
|
inlinevirtual |
Definition at line 246 of file moment.h.
References AimsEigen< T >::doit(), and AimsEigen< T >::sort().
Referenced by GeometricMoment< T >::doit(), and GeometricMoment< T >::update().
|
inline |
Definition at line 105 of file moment.h.
References Moment< T >::_ct.
|
inline |
Definition at line 102 of file moment.h.
References Moment< T >::_cx.
|
inline |
Definition at line 103 of file moment.h.
References Moment< T >::_cy.
|
inline |
Definition at line 104 of file moment.h.
References Moment< T >::_cz.
|
inline |
Definition at line 110 of file moment.h.
References Moment< T >::_sum.
Referenced by MomentNormalStrategy< T >::doit(), operator<<(), and MomentIncrementalStrategy< T >::update().
|
inline |
Definition at line 111 of file moment.h.
References Moment< T >::_sum.
|
inlinevirtual |
|
inlinevirtual |
Reimplemented in GeometricMoment< T >.
|
protected |
Definition at line 147 of file moment.h.
Referenced by Moment< T >::ct(), and Moment< T >::setct().
|
protected |
Definition at line 144 of file moment.h.
Referenced by Moment< T >::cx(), and Moment< T >::setcx().
|
protected |
Definition at line 145 of file moment.h.
Referenced by Moment< T >::cy(), and Moment< T >::setcy().
|
protected |
Definition at line 146 of file moment.h.
Referenced by Moment< T >::cz(), and Moment< T >::setcz().
|
protected |
Definition at line 158 of file moment.h.
Referenced by Moment< T >::eigenValue().
|
protected |
Definition at line 159 of file moment.h.
Referenced by Moment< T >::eigenVector().
|
protected |
Definition at line 149 of file moment.h.
Referenced by Moment< T >::gravity(), and Moment< T >::Moment().
|
protected |
Definition at line 152 of file moment.h.
Referenced by Moment< T >::m0(), and Moment< T >::operator+=().
|
protected |
Definition at line 154 of file moment.h.
Referenced by Moment< T >::m1(), Moment< T >::Moment(), and Moment< T >::operator+=().
|
protected |
Definition at line 155 of file moment.h.
Referenced by Moment< T >::m2(), Moment< T >::Moment(), and Moment< T >::operator+=().
|
protected |
Definition at line 156 of file moment.h.
Referenced by Moment< T >::m3(), Moment< T >::Moment(), and Moment< T >::operator+=().
|
protected |
Definition at line 151 of file moment.h.
Referenced by Moment< T >::operator+=(), and Moment< T >::sum().