19 #ifndef itkImageToRectilinearFEMObjectFilter_h
20 #define itkImageToRectilinearFEMObjectFilter_h
22 #include "vnl/vnl_vector.h"
42 template <
typename TInputImage>
58 itkStaticConstMacro(NDimensions,
unsigned int, TInputImage::ImageDimension);
83 #ifdef ITK_USE_CONCEPT_CHECKING
93 itkGetMacro(PixelsPerElement, vnl_vector<unsigned int> );
94 itkSetMacro(PixelsPerElement, vnl_vector<unsigned int> );
97 this->m_PixelsPerElement.fill( numPixels );
102 itkGetMacro(NumberOfElements, vnl_vector<unsigned int> );
105 itkGetMacro(
Material, MaterialPointerType);
106 itkSetMacro(
Material, MaterialPointerType);
110 itkGetMacro(
Element, ElementBasePointerType);
111 itkSetMacro(
Element, ElementBasePointerType);
115 using Superclass::SetInput;
116 void SetInput( InputImageType *image);
118 void SetInput(
unsigned int, InputImageType *image);
120 InputImageType * GetInput();
122 InputImageType * GetInput(
unsigned int idx);
127 using Superclass::MakeOutput;
150 virtual void PrintSelf(std::ostream& os,
Indent indent)
const ITK_OVERRIDE;
153 virtual void GenerateData() ITK_OVERRIDE;
155 void Generate2DRectilinearMesh();
157 void Generate3DRectilinearMesh();
162 vnl_vector<
unsigned int> m_NumberOfElements;
163 vnl_vector<
unsigned int> m_PixelsPerElement;
171 #ifndef ITK_MANUAL_INSTANTIATION
172 #include "itkImageToRectilinearFEMObjectFilter.hxx"
175 #endif // #ifndef itkImageToRectilinearFEMObjectFilter_h
virtual ~ImageToRectilinearFEMObjectFilter() override
Light weight base class for most itk classes.
Implements N-dimensional Finite element (FE) models including elements, materials, and loads.
InputImageType::ConstPointer ImageConstPointer
InputImageType::SizeType ImageSizeType
InputImageType::RegionType ImageRegionType
FEMObjectType::ConstPointer FEMObjectConstPointer
itk::fem::MaterialLinearElasticity MaterialType
The base class for all process objects (source, filters, mappers) in the Insight data processing pipe...
Generate a rectilinar mesh from an image. The result is stored in a FEMObject.
ProcessObject::DataObjectPointerArraySizeType DataObjectPointerArraySizeType
void SetPixelsPerElement(unsigned int numPixels)
Linear elasticity material class.
Base class for storing all the implicit material and other properties required to fully define the el...
InputImageType::IndexType ImageIndexType
TInputImage InputImageType
DataObjectPointerArray::size_type DataObjectPointerArraySizeType
ImageBaseType::PointType PointType
DataObject::Pointer DataObjectPointer
itk::fem::Element ElementBaseType
SmartPointer< Self > Pointer
SmartPointer< const Self > ConstPointer
itk::fem::FEMObject< NDimensions > FEMObjectType
FEMObjectType::Pointer FEMObjectPointer
MaterialType::Pointer MaterialPointerType
itk::fem::Element::ConstPointer ElementBasePointerType
ImageToRectilinearFEMObjectFilter Self
Abstract base element class.
InputImageType::PointType ImagePointType
InputImageType::Pointer ImagePointer
Control indentation during Print() invocation.
ImageBaseType::SizeType SizeType
ImageBaseType::IndexType IndexType