ITK  4.13.0
Insight Segmentation and Registration Toolkit
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
itk::fem::LoadGravConst Class Reference

#include <itkFEMLoadGrav.h>

+ Inheritance diagram for itk::fem::LoadGravConst:
+ Collaboration diagram for itk::fem::LoadGravConst:

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 68 of file itkFEMLoadGrav.h.

Public Types

typedef SmartPointer< const SelfConstPointer
 
typedef SmartPointer< SelfPointer
 
typedef LoadGravConst Self
 
typedef LoadGrav Superclass
 
- Public Types inherited from itk::fem::LoadGrav
typedef SmartPointer< const SelfConstPointer
 
typedef SmartPointer< SelfPointer
 
typedef LoadGrav Self
 
typedef LoadElement Superclass
 
- Public Types inherited from itk::fem::LoadElement
typedef SmartPointer< const SelfConstPointer
 
typedef std::vector< const
Element * > 
ElementPointersVectorType
 
typedef Element::Float Float
 
typedef SmartPointer< SelfPointer
 
typedef LoadElement Self
 
typedef Load Superclass
 
- Public Types inherited from itk::fem::Load
typedef FEMPArray< SelfArrayType
 
typedef SmartPointer< const SelfConstPointer
 
typedef SmartPointer< SelfPointer
 
typedef Load Self
 
typedef FEMLightObject Superclass
 
- Public Types inherited from itk::fem::FEMLightObject
typedef Self Baseclass
 
typedef SmartPointer< const SelfConstPointer
 
typedef SmartPointer< SelfPointer
 
typedef FEMLightObject Self
 
typedef itk::LightObject Superclass
 
- Public Types inherited from itk::LightObject
typedef SmartPointer< const SelfConstPointer
 
typedef SmartPointer< SelfPointer
 
typedef LightObject Self
 

Public Member Functions

virtual void ApplyLoad (Element::ConstPointer element, Element::VectorType &Fe) override
 
virtual ::itk::LightObject::Pointer CreateAnother (void) const override
 
virtual vnl_vector< FloatGetGravitationalForceAtPoint (vnl_vector< Float >) override
 
virtual const char * GetNameOfClass () const
 
void SetForce (const vnl_vector< itk::fem::Element::Float > force)
 
vnl_vector
< itk::fem::Element::Float > & 
GetForce ()
 
const vnl_vector
< itk::fem::Element::Float > & 
GetForce () const
 
- Public Member Functions inherited from itk::fem::LoadElement
void AddNextElement (Element::ConstPointer e)
 
void AddNextElement (Element::Pointer e)
 
Element::ConstPointer GetElement (int i)
 
ElementPointersVectorTypeGetElementArray ()
 
const ElementPointersVectorTypeGetElementArray () const
 
unsigned int GetNumberOfElements ()
 
 LoadElement ()
 
- Public Member Functions inherited from itk::fem::Load
const ElementGetElement () const
 
virtual Solution::ConstPointer GetSolution ()
 
void SetElement (const Element *el)
 
virtual void SetSolution (Solution::ConstPointer)
 
- Public Member Functions inherited from itk::fem::FEMLightObject
int GetGlobalNumber () const
 
void SetGlobalNumber (int)
 
- Public Member Functions inherited from itk::LightObject
virtual void Delete ()
 
virtual int GetReferenceCount () const
 
 itkCloneMacro (Self)
 
void Print (std::ostream &os, Indent indent=0) const
 
virtual void Register () const
 
virtual void SetReferenceCount (int)
 
virtual void UnRegister () const noexcept
 

Static Public Member Functions

static Pointer New ()
 
- Static Public Member Functions inherited from itk::fem::LoadElement
static Pointer New ()
 
- Static Public Member Functions inherited from itk::LightObject
static void BreakOnError ()
 
static Pointer New ()
 

Protected Member Functions

virtual void PrintSelf (std::ostream &os, Indent indent) const override
 
- Protected Member Functions inherited from itk::fem::LoadElement
void AddNextElementInternal (const Element *e)
 
- Protected Member Functions inherited from itk::fem::FEMLightObject
 FEMLightObject ()
 
 FEMLightObject (const FEMLightObject &o)
 
virtual ~FEMLightObject () override
 
- Protected Member Functions inherited from itk::LightObject
virtual LightObject::Pointer InternalClone () const
 
 LightObject ()
 
virtual void PrintHeader (std::ostream &os, Indent indent) const
 
virtual void PrintTrailer (std::ostream &os, Indent indent) const
 
virtual ~LightObject ()
 

Protected Attributes

vnl_vector< Floatm_GravityForce
 
- Protected Attributes inherited from itk::fem::Load
Element::ConstPointer m_Element
 
- Protected Attributes inherited from itk::fem::FEMLightObject
int m_GlobalNumber
 
- Protected Attributes inherited from itk::LightObject
AtomicInt< int > m_ReferenceCount
 

Member Typedef Documentation

Definition at line 76 of file itkFEMLoadGrav.h.

Definition at line 75 of file itkFEMLoadGrav.h.

Standard class typedefs.

Definition at line 73 of file itkFEMLoadGrav.h.

Definition at line 74 of file itkFEMLoadGrav.h.

Member Function Documentation

virtual void itk::fem::LoadGravConst::ApplyLoad ( Element::ConstPointer  element,
Element::VectorType Fe 
)
overridevirtual

Apply the load to the specified element

Reimplemented from itk::fem::LoadElement.

virtual::itk::LightObject::Pointer itk::fem::LoadGravConst::CreateAnother ( void  ) const
overridevirtual

CreateAnother method will clone the existing instance of this type, including its internal member variables.

Reimplemented from itk::fem::LoadElement.

vnl_vector<itk::fem::Element::Float>& itk::fem::LoadGravConst::GetForce ( )

Get the gravity force that exists at every point

const vnl_vector<itk::fem::Element::Float>& itk::fem::LoadGravConst::GetForce ( ) const

Get the gravity force that exists at every point

virtual vnl_vector<Float> itk::fem::LoadGravConst::GetGravitationalForceAtPoint ( vnl_vector< Float )
overridevirtual

Implements itk::fem::LoadGrav.

virtual const char* itk::fem::LoadGravConst::GetNameOfClass ( ) const
virtual

Run-time type information (and related methods).

Reimplemented from itk::fem::LoadGrav.

static Pointer itk::fem::LoadGravConst::New ( )
static

Method for creation through the object factory.

virtual void itk::fem::LoadGravConst::PrintSelf ( std::ostream &  os,
Indent  indent 
) const
overrideprotectedvirtual

Methods invoked by Print() to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.

Reimplemented from itk::fem::LoadGrav.

void itk::fem::LoadGravConst::SetForce ( const vnl_vector< itk::fem::Element::Float force)

Set the gravity force that exists at every point

Member Data Documentation

vnl_vector<Float> itk::fem::LoadGravConst::m_GravityForce
protected

Definition at line 108 of file itkFEMLoadGrav.h.


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