![]() |
Chaste
Build::
|
#include <ImageToMesh.hpp>
Collaboration diagram for ImageToMesh< DIM >:Public Member Functions | |
| ImageToMesh () | |
| ~ImageToMesh () | |
| boost::shared_ptr< DiscreteContinuumMesh< DIM, DIM > > | GetMesh () |
| void | SetElementSize (units::quantity< unit::volume > elementSize) |
| void | SetInput (vtkSmartPointer< vtkImageData > pImage) |
| void | SetInputRaw (vtkImageData *pImage) |
| void | SetTissueDomain (boost::shared_ptr< Part< DIM > > pTissueDomain) |
| void | Update () |
Static Public Member Functions | |
| static boost::shared_ptr< ImageToMesh< DIM > > | Create () |
Private Attributes | |
| vtkSmartPointer< vtkImageData > | mpImage |
| units::quantity< unit::volume > | mElementSize |
| boost::shared_ptr< DiscreteContinuumMesh< DIM, DIM > > | mMesh |
| boost::shared_ptr< Part< DIM > > | mpDomain |
Do finite element meshing of a region in an image
Definition at line 50 of file ImageToMesh.hpp.
| ImageToMesh< DIM >::ImageToMesh | ( | ) |
Constructor
Definition at line 54 of file ImageToMesh.cpp.
| ImageToMesh< DIM >::~ImageToMesh | ( | ) |
Destructor
Definition at line 71 of file ImageToMesh.cpp.
|
static |
Factory constructor method
Definition at line 64 of file ImageToMesh.cpp.
| boost::shared_ptr< DiscreteContinuumMesh< DIM, DIM > > ImageToMesh< DIM >::GetMesh | ( | ) |
| void ImageToMesh< DIM >::SetElementSize | ( | units::quantity< unit::volume > | elementSize | ) |
Set the element size
Definition at line 96 of file ImageToMesh.cpp.
References ImageToMesh< DIM >::mElementSize.
| void ImageToMesh< DIM >::SetInput | ( | vtkSmartPointer< vtkImageData > | pImage | ) |
Set the image to be meshed
Definition at line 102 of file ImageToMesh.cpp.
References ImageToMesh< DIM >::mpImage.
| void ImageToMesh< DIM >::SetInputRaw | ( | vtkImageData * | pImage | ) |
Set the image to be meshed using a raw pointer, needed for Python wrapping
Definition at line 108 of file ImageToMesh.cpp.
References ImageToMesh< DIM >::mpImage.
| void ImageToMesh< DIM >::SetTissueDomain | ( | boost::shared_ptr< Part< DIM > > | pTissueDomain | ) |
Add a tissue domain to the mesh
| pTissueDomain | a tissue domain for meshing |
Definition at line 90 of file ImageToMesh.cpp.
References ImageToMesh< DIM >::mpDomain.
| void ImageToMesh< DIM >::Update | ( | ) |
Do the meshing
Definition at line 115 of file ImageToMesh.cpp.
References DiscreteContinuumMeshGenerator< ELEMENT_DIM, SPACE_DIM >::GetMesh(), BoundaryExtractor::GetOutput(), ImageToMesh< DIM >::mElementSize, ImageToMesh< DIM >::mMesh, ImageToMesh< DIM >::mpDomain, ImageToMesh< DIM >::mpImage, DiscreteContinuumMeshGenerator< ELEMENT_DIM, SPACE_DIM >::SetDomain(), BoundaryExtractor::SetDoSmoothing(), DiscreteContinuumMeshGenerator< ELEMENT_DIM, SPACE_DIM >::SetHoles(), BoundaryExtractor::SetInput(), DiscreteContinuumMeshGenerator< ELEMENT_DIM, SPACE_DIM >::SetMaxElementArea(), DiscreteContinuumMeshGenerator< ELEMENT_DIM, SPACE_DIM >::SetRegionMarkers(), BoundaryExtractor::SetSmoothingLength(), BoundaryExtractor::Update(), and DiscreteContinuumMeshGenerator< ELEMENT_DIM, SPACE_DIM >::Update().
|
private |
The target element size
Definition at line 60 of file ImageToMesh.hpp.
Referenced by ImageToMesh< DIM >::SetElementSize(), and ImageToMesh< DIM >::Update().
|
private |
The mesh
Definition at line 65 of file ImageToMesh.hpp.
Referenced by ImageToMesh< DIM >::GetMesh(), and ImageToMesh< DIM >::Update().
|
private |
Tissue domain (optional)
Definition at line 70 of file ImageToMesh.hpp.
Referenced by ImageToMesh< DIM >::SetTissueDomain(), and ImageToMesh< DIM >::Update().
|
private |
The image
Definition at line 55 of file ImageToMesh.hpp.
Referenced by ImageToMesh< DIM >::SetInput(), ImageToMesh< DIM >::SetInputRaw(), and ImageToMesh< DIM >::Update().