aimsalgo  5.0.5
Neuroimaging image processing
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

◆ InvariantId

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

◆ MomentInvariant() [1/2]

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

Definition at line 136 of file momInvariant.h.

◆ MomentInvariant() [2/2]

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

◆ ~MomentInvariant()

template<class T>
virtual MomentInvariant< T >::~MomentInvariant ( )
inlinevirtual

Definition at line 74 of file momInvariant.h.

Member Function Documentation

◆ doit() [1/3]

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.

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

◆ doit() [2/3]

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

Definition at line 225 of file momInvariant.h.

◆ doit() [3/3]

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

Definition at line 237 of file momInvariant.h.

◆ invariant()

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

◆ moment()

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

Definition at line 76 of file momInvariant.h.

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

◆ update()

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.

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


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