A.I.M.S algorithms


GeometricMoment< T > Class Template Reference

#include <aims/moment/geomMoment.h>

Inheritance diagram for GeometricMoment< T >:
Collaboration diagram for GeometricMoment< T >:

Public Member Functions

 GeometricMoment (MomentType mType=Incremental)
 
void setMomentType (MomentType)
 
void update (double, double, double, int dir=(int) Moment< T >::mAdd)
 
virtual void doit (AimsData< T > &, T, int d=(int) Moment< T >::mAdd)
 
virtual void doit (const aims::BucketMap< Void > &, int d=(int) Moment< T >::mAdd)
 
- Public Member Functions inherited from MomentBase
 MomentBase ()
 
virtual ~MomentBase ()
 
- Public Member Functions inherited from Moment< T >
 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 doit (AimsSurfaceTriangle &)
 
virtual void doit (const aims::BucketMap< Void > &)
 
virtual void orientation ()
 
Moment< T > & operator+= (const Moment< T > &)
 
Moment< T > operator+ (const Moment< T > &)
 

Additional Inherited Members

- Public Types inherited from MomentBase
enum  MomentType { Normal, Incremental, Volumic, Surfacic }
 
- Public Types inherited from Moment< T >
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
}
 
- Protected Attributes inherited from Moment< T >
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
 

Detailed Description

template<class T>
class GeometricMoment< T >

Definition at line 47 of file geomMoment.h.

Constructor & Destructor Documentation

template<class T >
GeometricMoment< T >::GeometricMoment ( MomentType  mType = Incremental)
inline

Definition at line 72 of file geomMoment.h.

Member Function Documentation

template<class T >
void GeometricMoment< T >::doit ( AimsData< T > &  d,
label,
int  d = (int)Moment< T >::mAdd 
)
inlinevirtual
template<typename T >
void GeometricMoment< T >::doit ( const aims::BucketMap< Void > &  b,
int  d = (int)Moment< T >::mAdd 
)
inlinevirtual
template<class T >
void GeometricMoment< T >::setMomentType ( MomentType  type)
inline

Definition at line 80 of file geomMoment.h.

References MomentFactory< T >::create().

template<class T >
void GeometricMoment< T >::update ( double  x,
double  y,
double  z,
int  dir = (int)Moment< T >::mAdd 
)
inlinevirtual

Reimplemented from Moment< T >.

Definition at line 90 of file geomMoment.h.

References Moment< T >::orientation().


The documentation for this class was generated from the following file: