aimsalgo  5.1.2
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 (carto::rc_ptr< carto::Volume< 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 52 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 137 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 ( AimsSurfaceTriangle surfTri)
inline

Definition at line 227 of file momInvariant.h.

◆ doit() [2/3]

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

Definition at line 214 of file momInvariant.h.

◆ doit() [3/3]

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

Definition at line 239 of file momInvariant.h.

◆ invariant()

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<<().

◆ 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 202 of file momInvariant.h.


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