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

itk::fem::LoadGravConst Class Reference

#include <itkFEMLoadGrav.h>

Inheritance diagram for itk::fem::LoadGravConst:

Inheritance graph
[legend]
Collaboration diagram for itk::fem::LoadGravConst:

Collaboration graph
[legend]
List of all members.

Detailed Description

Constant gravity load class.

This is a special case of LoadGrav. The load vector is the same on every point in space.

Definition at line 58 of file itkFEMLoadGrav.h.

Public Types

typedef FEMPArray< SelfArrayType
typedef Self Baseclass
typedef const SelfConstPointer
typedef std::vector< Element::ConstPointerElementPointersVectorType
typedef Element::Float Float
typedef SelfPointer
typedef LoadGravConst Self
typedef LoadGrav Superclass

Public Member Functions

virtual int ClassID () const
virtual Baseclass::Pointer Clone () const
virtual vnl_vector< FloatFg (vnl_vector< Float >)
virtual void Read (std::istream &f, void *info)
virtual void Write (std::ostream &f) const
virtual Solution::ConstPointer GetSolution ()
virtual void SetSolution (Solution::ConstPointer)

Static Public Member Functions

static FEMLightObject::Pointer CreateFromStream (std::istream &f, void *info)
static Self::Pointer New ()
static void SkipWhiteSpace (std::istream &f)

Public Attributes

vnl_vector< FloatFg_value
int GN

Static Public Attributes

static const int CLID
static const std::string whitespaces


Member Typedef Documentation

typedef FEMPArray<Self> itk::fem::Load::ArrayType [inherited]

Array class that holds special pointers to the load objects

Definition at line 45 of file itkFEMLoadBase.h.

typedef Self itk::fem::FEMLightObject::Baseclass [inherited]

Store the base class typedef for easy access from derived classes. FEM_CLASS macro also expects this for the FEMOF...

Definition at line 67 of file itkFEMLightObject.h.

typedef const Self* itk::fem::LoadGravConst::ConstPointer

Const pointer or SmartPointer to an object.

Reimplemented from itk::fem::LoadGrav.

Definition at line 60 of file itkFEMLoadGrav.h.

typedef std::vector<Element::ConstPointer> itk::fem::LoadElement::ElementPointersVectorType [inherited]

Type of array of pointers to element objects

Definition at line 57 of file itkFEMLoadElementBase.h.

typedef Element::Float itk::fem::LoadElement::Float [inherited]

Float type used in Element and derived classes

Reimplemented in itk::fem::FiniteDifferenceFunctionLoad< TMoving, TFixed >, and itk::fem::ImageMetricLoad< TMoving, TFixed >.

Definition at line 52 of file itkFEMLoadElementBase.h.

typedef Self* itk::fem::LoadGravConst::Pointer

Pointer or SmartPointer to an object.

Reimplemented from itk::fem::LoadGrav.

Definition at line 60 of file itkFEMLoadGrav.h.

typedef LoadGravConst itk::fem::LoadGravConst::Self

Standard Self typedef.

Reimplemented from itk::fem::LoadGrav.

Definition at line 60 of file itkFEMLoadGrav.h.

typedef LoadGrav itk::fem::LoadGravConst::Superclass

Standard Superclass typedef.

Reimplemented from itk::fem::LoadGrav.

Definition at line 60 of file itkFEMLoadGrav.h.


Member Function Documentation

virtual int itk::fem::LoadGravConst::ClassID (  )  const [inline, virtual]

Virtual function to access the class ID

Reimplemented from itk::fem::LoadElement.

Definition at line 60 of file itkFEMLoadGrav.h.

virtual Baseclass::Pointer itk::fem::LoadGravConst::Clone (  )  const [virtual]

Create a new object from the existing one

Reimplemented from itk::fem::LoadElement.

static FEMLightObject::Pointer itk::fem::FEMLightObject::CreateFromStream ( std::istream &  f,
void *  info 
) [static, inherited]

Read object of any derived type from stream.

This static function creates an object of a class, which is derived from FEMLightObject. The class of object is first determined from the stream, then the object of that class is constructed using the FEMObjectFactory. Finally the data for this object is read from the stream, by calling the Read() member function.

virtual vnl_vector<Float> itk::fem::LoadGravConst::Fg ( vnl_vector< Float  )  [inline, virtual]

Implements itk::fem::LoadGrav.

Definition at line 63 of file itkFEMLoadGrav.h.

virtual Solution::ConstPointer itk::fem::Load::GetSolution (  )  [inline, virtual, inherited]

Reimplemented in itk::fem::FiniteDifferenceFunctionLoad< TMoving, TFixed >, itk::fem::ImageMetricLoad< TMoving, TFixed >, and itk::fem::LoadLandmark.

Definition at line 60 of file itkFEMLoadBase.h.

static Self::Pointer itk::fem::LoadGravConst::New ( void   )  [inline, static]

Object creation in an itk compatible way

Reimplemented from itk::fem::LoadElement.

Definition at line 60 of file itkFEMLoadGrav.h.

virtual void itk::fem::LoadGravConst::Read ( std::istream &  f,
void *  info 
) [virtual]

Read an object from input stream.

Reimplemented from itk::fem::LoadElement.

virtual void itk::fem::Load::SetSolution ( Solution::ConstPointer   )  [inline, virtual, inherited]

Sets the pointer to solution vector. This function is automatically called by the Solver class on every load object.

Some types of external Loads may need access to previous values of solution vector. If a derived class needs that, it should implement this function, and store the passed pointer accordingly. If the result vector is not required, the functionn should be left unimplemented, so that only the dummy implementation in base class is called.

Parameters:
ptr Pointer to the object of Solution class.

Definition at line 59 of file itkFEMLoadBase.h.

static void itk::fem::FEMLightObject::SkipWhiteSpace ( std::istream &  f  )  [static, inherited]

Helper function that skips all the whitespace and comments in an input stream.

virtual void itk::fem::LoadGravConst::Write ( std::ostream &  f  )  const [virtual]

Write an object to the output stream

Reimplemented from itk::fem::LoadElement.


Member Data Documentation

const int itk::fem::LoadGravConst::CLID [static]

Class ID for FEM object factory

Reimplemented from itk::fem::LoadElement.

Definition at line 60 of file itkFEMLoadGrav.h.

vnl_vector<Float> itk::fem::LoadGravConst::Fg_value

Definition at line 62 of file itkFEMLoadGrav.h.

int itk::fem::FEMLightObject::GN [inherited]

Global number of an object (ID of an object) In general the ID's are required to be unique only within a specific type of derived classes (Elements, Nodes, ...) If the GN is not required, it can be ignored. (normally you need the GN when writing or reading objects to/from stream.

Definition at line 168 of file itkFEMLightObject.h.

Referenced by itk::fem::FEMLightObject::FEMLightObject().

const std::string itk::fem::FEMLightObject::whitespaces [static, inherited]

Const string of all whitespace characters. This string is used by SkipWhiteSpace function.

Definition at line 138 of file itkFEMLightObject.h.


The documentation for this class was generated from the following file:
Generated at Thu Nov 6 14:10:50 2008 for ITK by doxygen 1.5.1 written by Dimitri van Heesch, © 1997-2000