36 #ifndef ImageToMesh_HPP_ 37 #define ImageToMesh_HPP_ 38 #include "SmartPointers.hpp" 39 #define _BACKWARD_BACKWARD_WARNING_H 1 //Cut out the vtk deprecated warning 40 #include <vtkImageData.h> 41 #include <vtkPolyData.h> 42 #include <vtkSmartPointer.h> 43 #include "DiscreteContinuumMesh.hpp" 49 template<
unsigned DIM>
65 boost::shared_ptr<DiscreteContinuumMesh<DIM, DIM> >
mMesh;
87 static boost::shared_ptr<ImageToMesh<DIM> >
Create();
92 boost::shared_ptr<DiscreteContinuumMesh<DIM, DIM> >
GetMesh();
102 void SetInput(vtkSmartPointer<vtkImageData> pImage);
boost::shared_ptr< DiscreteContinuumMesh< DIM, DIM > > mMesh
void SetTissueDomain(boost::shared_ptr< Part< DIM > > pTissueDomain)
boost::shared_ptr< Part< DIM > > mpDomain
static boost::shared_ptr< ImageToMesh< DIM > > Create()
void SetInput(vtkSmartPointer< vtkImageData > pImage)
vtkSmartPointer< vtkImageData > mpImage
boost::shared_ptr< DiscreteContinuumMesh< DIM, DIM > > GetMesh()
units::quantity< unit::volume > mElementSize
void SetElementSize(units::quantity< unit::volume > elementSize)
void SetInputRaw(vtkImageData *pImage)