Main Page   Groups   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Concepts

itk::fem::ImageMetricLoadImplementation< TLoadClass > Class Template Reference

#include <itkFEMImageMetricLoadImplementation.h>

List of all members.

Static Public Member Functions

template<class TElementClassConstPointer> void ImplementImageMetricLoad (TElementClassConstPointer element, Element::LoadPointer load, Element::VectorType &Fe)


Detailed Description

template<class TLoadClass>
class itk::fem::ImageMetricLoadImplementation< TLoadClass >

This is an example of how to define the implementation of a templated Load class. Since the Load class is templated, its implementation must also be templated. Due to limitations of MS compiler, we define this implementation function as a static function inside a templated class.

To make things easier to use, we template the class over the whole templated load class and not only over the template parameters required to define the templated Load class.

You must manually instantiate this class to register the load implementation function with the VisitorDispatcher. The instantiation is normally done like: typedef LoadTest<...> MyLoadTestClass; template class LoadTestImplementationBar2D<MyLoadTestClass>;

Definition at line 54 of file itkFEMImageMetricLoadImplementation.h.


Member Function Documentation

template<class TLoadClass>
template<class TElementClassConstPointer>
void itk::fem::ImageMetricLoadImplementation< TLoadClass >::ImplementImageMetricLoad TElementClassConstPointer  element,
Element::LoadPointer  load,
Element::VectorType Fe
[inline, static]
 

Definition at line 59 of file itkFEMImageMetricLoadImplementation.h.

References itk::fem::Element::LoadPointer, and itk::fem::Element::VectorType.


The documentation for this class was generated from the following file:
Generated at Thu May 25 02:57:11 2006 for ITK by doxygen 1.3.5 written by Dimitri van Heesch, © 1997-2000