A.I.M.S algorithms


MomentInvariant< T > Class Template Reference

#include <aims/moment/momInvariant.h>

Public Types

enum  InvariantId {
  I00_2 = 0, I22_2 = 1, I222_3 = 2, I11_3 = 3,
  I33_3 = 4, I3111_3 = 5, I3131_3 = 6, I3331_3 = 7,
  I3333_3 = 8, I112_23 = 9, I123_23 = 10, I233_23 = 11
}
 

Public Member Functions

 MomentInvariant (Moment< T > *m=0)
 
 MomentInvariant (const MomentInvariant< T > &)
 
virtual ~MomentInvariant ()
 
Moment< T > & moment () const
 
const double * invariant () const
 
void update (double, double, double, int dir=(int) Moment< T >::mAdd)
 
void doit (AimsData< T > &, T, int dir=(int) Moment< T >::mAdd)
 
void doit (AimsSurfaceTriangle &)
 
void doit (Moment< T > *)
 

Detailed Description

template<class T>
class MomentInvariant< T >

Definition at line 44 of file momInvariant.h.

Member Enumeration Documentation

template<class T>
enum MomentInvariant::InvariantId
Enumerator
I00_2 
I22_2 
I222_3 
I11_3 
I33_3 
I3111_3 
I3131_3 
I3331_3 
I3333_3 
I112_23 
I123_23 
I233_23 

Definition at line 56 of file momInvariant.h.

Constructor & Destructor Documentation

template<class T >
MomentInvariant< T >::MomentInvariant ( Moment< T > *  m = 0)
inline

Definition at line 136 of file momInvariant.h.

template<class T >
MomentInvariant< T >::MomentInvariant ( const MomentInvariant< T > &  other)
inline
template<class T>
virtual MomentInvariant< T >::~MomentInvariant ( )
inlinevirtual

Definition at line 74 of file momInvariant.h.

Member Function Documentation

template<class T >
void MomentInvariant< T >::doit ( AimsData< T > &  d,
label,
int  dir = (int)Moment< T >::mAdd 
)
inline

Definition at line 213 of file momInvariant.h.

template<class T >
void MomentInvariant< T >::doit ( AimsSurfaceTriangle surfTri)
inline

Definition at line 225 of file momInvariant.h.

template<class T >
void MomentInvariant< T >::doit ( Moment< T > *  m)
inline

Definition at line 237 of file momInvariant.h.

template<class T>
const double* MomentInvariant< T >::invariant ( ) const
inline

Definition at line 78 of file momInvariant.h.

Referenced by MomentInvariant< T >::MomentInvariant(), and operator<<().

template<class T>
Moment< T >& MomentInvariant< T >::moment ( ) const
inline

Definition at line 76 of file momInvariant.h.

Referenced by MomentInvariant< T >::MomentInvariant().

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

Definition at line 201 of file momInvariant.h.


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