SLIMMER
Public Member Functions | Static Public Attributes | Protected Attributes
SIMCBulkHead2HeadEnergyFunction< T1, T2, DistType > Class Template Reference
Inheritance diagram for SIMCBulkHead2HeadEnergyFunction< T1, T2, DistType >:
SIMCHeadEnergyFunction< short, T1, T2, DistType > SIMCBaseEnergyFunction< T, T1, T2, DistType > DistType SimpleBaseEnergyFunction

List of all members.

Public Member Functions

 SIMCBulkHead2HeadEnergyFunction (StackSet< Stack< short, LinTransStack< T2 > > > &sss)
 SIMCBulkHead2HeadEnergyFunction (StackSet< Stack< short, LinTransStack< T2 > > > &sss, unsigned int ref, unsigned int flo)
void setRef (unsigned int ref)
 set which stack is reference
void setFlo (unsigned int flo)
 set which stack is floating
unsigned int getRef () const
 get reference stack index
unsigned int getFlo () const
 get floating stack index
void SetMask (const SimpleTField< T2 > *mask=NULL)
SimpleVTVec< T1 > GetParam () const
 set mask by the pointer
void SetParam (const SimpleVTVec< T1 > &param)
 set param
T1 IntxEnergy (int t1, int t2, T1 &E, T1 &W) const
 intersection energy between all the slices in two stacks. It returns the energy, and by reference arguments, the weight multiplied energy and weight.
T1 Energy () const
 Returns energy between two stacks.
template<>
const char _versionID []
template<>
const char _versionID []

Static Public Attributes

static const char _versionID []

Protected Attributes

unsigned int _ref
unsigned int _flo

template<typename T1 = float, typename T2 = float, typename DistType = L2<T2>>
class SIMCBulkHead2HeadEnergyFunction< T1, T2, DistType >


Member Function Documentation

template<typename T1 = float, typename T2 = float, typename DistType = L2<T2>>
SimpleVTVec<T1> SIMCBulkHead2HeadEnergyFunction< T1, T2, DistType >::GetParam ( ) const [inline]

set mask by the pointer

get param

Reimplemented from SIMCHeadEnergyFunction< short, T1, T2, DistType >.

 All Classes Functions Variables Typedefs