Chaste
Build::
|
#include <DistanceMap.hpp>
Public Member Functions | |
DistanceMap () | |
~DistanceMap () | |
void | SetUseSegmentRadii (bool useRadii) |
void | Solve () |
Public Member Functions inherited from AbstractRegularGridDiscreteContinuumSolver< DIM > | |
AbstractRegularGridDiscreteContinuumSolver () | |
virtual | ~AbstractRegularGridDiscreteContinuumSolver () |
boost::shared_ptr< RegularGrid< DIM > > | GetGrid () |
virtual std::vector< units::quantity< unit::concentration > > | GetConcentrations (const std::vector< DimensionalChastePoint< DIM > > &rSamplePoints) |
virtual std::vector< units::quantity< unit::concentration > > | GetConcentrations (boost::shared_ptr< RegularGrid< DIM > > pGrid) |
virtual std::vector< units::quantity< unit::concentration > > | GetConcentrations (boost::shared_ptr< DiscreteContinuumMesh< DIM > > pMesh) |
virtual std::vector< double > | GetSolution (const std::vector< DimensionalChastePoint< DIM > > &rSamplePoints) |
virtual std::vector< double > | GetSolution (boost::shared_ptr< RegularGrid< DIM > > pGrid) |
virtual std::vector< double > | GetSolution (boost::shared_ptr< DiscreteContinuumMesh< DIM > > pMesh) |
virtual vtkSmartPointer< vtkImageData > | GetVtkSolution () |
void | SetGrid (boost::shared_ptr< RegularGrid< DIM > > pRegularGrid) |
virtual void | Setup () |
virtual void | UpdateCellData () |
virtual void | UpdateSolution (std::vector< double > &rData) |
virtual void | UpdateSolution (std::vector< units::quantity< unit::concentration > > &rData) |
virtual void | Update () |
virtual void | Write () |
Public Member Functions inherited from AbstractDiscreteContinuumSolver< DIM > | |
AbstractDiscreteContinuumSolver () | |
virtual | ~AbstractDiscreteContinuumSolver () |
void | AddBoundaryCondition (boost::shared_ptr< DiscreteContinuumBoundaryCondition< DIM > > pBoundaryCondition) |
bool | CellPopulationIsSet () |
virtual std::vector< units::quantity< unit::concentration > > | GetConcentrations () |
const std::string & | GetLabel () |
boost::shared_ptr< AbstractDiscreteContinuumNonLinearEllipticPde< DIM, DIM > > | GetNonLinearPde () |
boost::shared_ptr< AbstractDiscreteContinuumLinearEllipticPde< DIM, DIM > > | GetPde () |
units::quantity< unit::concentration > | GetReferenceConcentration () |
virtual std::vector< double > | GetSolution () |
bool | HasRegularGrid () |
bool | HasUnstructuredGrid () |
void | SetCellPopulation (AbstractCellPopulation< DIM > &rCellPopulation, units::quantity< unit::length > cellPopulationReferenceLength, units::quantity< unit::concentration > cellPopulationReferenceConcentration) |
void | SetFileHandler (boost::shared_ptr< OutputFileHandler > pOutputFileHandler) |
void | SetFileName (const std::string &rFilename) |
void | SetLabel (const std::string &rLabel) |
void | SetPde (boost::shared_ptr< AbstractDiscreteContinuumLinearEllipticPde< DIM, DIM > > pPde) |
void | SetNonLinearPde (boost::shared_ptr< AbstractDiscreteContinuumNonLinearEllipticPde< DIM, DIM > > pPde) |
void | SetReferenceConcentration (units::quantity< unit::concentration > referenceConcentration) |
void | SetVesselNetwork (boost::shared_ptr< VesselNetwork< DIM > > pNetwork) |
void | SetWriteSolution (bool write=true) |
virtual void | UpdateSolution (const std::vector< double > &rData) |
virtual void | UpdateSolution (const std::vector< units::quantity< unit::concentration > > &rData) |
Static Public Member Functions | |
static boost::shared_ptr< DistanceMap< DIM > > | Create () |
Private Attributes | |
bool | mUseSegmentRadii |
Additional Inherited Members | |
Protected Attributes inherited from AbstractRegularGridDiscreteContinuumSolver< DIM > | |
vtkSmartPointer< vtkImageData > | mpVtkSolution |
boost::shared_ptr< RegularGrid< DIM > > | mpRegularGrid |
Protected Attributes inherited from AbstractDiscreteContinuumSolver< DIM > | |
boost::shared_ptr< VesselNetwork< DIM > > | mpNetwork |
AbstractCellPopulation< DIM > * | mpCellPopulation |
units::quantity< unit::length > | mCellPopulationReferenceLength |
units::quantity< unit::concentration > | mCellPopulationReferenceConcentration |
boost::shared_ptr< OutputFileHandler > | mpOutputFileHandler |
std::string | mFilename |
std::string | mLabel |
bool | IsSetupForSolve |
bool | mWriteSolution |
boost::shared_ptr< AbstractDiscreteContinuumLinearEllipticPde< DIM, DIM > > | mpPde |
boost::shared_ptr< AbstractDiscreteContinuumNonLinearEllipticPde< DIM, DIM > > | mpNonLinearPde |
std::vector< boost::shared_ptr< DiscreteContinuumBoundaryCondition< DIM > > > | mBoundaryConditions |
units::quantity< unit::concentration > | mReferenceConcentration |
std::vector< double > | mSolution |
std::vector< units::quantity< unit::concentration > > | mConcentrations |
bool | mHasRegularGrid |
bool | mHasUnstructuredGrid |
Calculate a Euclidean distance map from vessel centrelines or surfaces to points on a regular grid
Definition at line 47 of file DistanceMap.hpp.
DistanceMap< DIM >::DistanceMap | ( | ) |
Constructor
Definition at line 42 of file DistanceMap.cpp.
DistanceMap< DIM >::~DistanceMap | ( | ) |
Destructor
Definition at line 58 of file DistanceMap.cpp.
|
static |
Factory constructor method
Definition at line 51 of file DistanceMap.cpp.
Referenced by NetworkToImage< DIM >::Update().
void DistanceMap< DIM >::SetUseSegmentRadii | ( | bool | useRadii | ) |
Set whether to use segment radii. Otherwise use centrelines.
useRadii | use segment radii |
Definition at line 64 of file DistanceMap.cpp.
References DistanceMap< DIM >::mUseSegmentRadii.
|
virtual |
Calculate the map
Implements AbstractRegularGridDiscreteContinuumSolver< DIM >.
Definition at line 70 of file DistanceMap.cpp.
References AbstractDiscreteContinuumSolver< DIM >::mpNetwork, AbstractRegularGridDiscreteContinuumSolver< DIM >::mpRegularGrid, AbstractRegularGridDiscreteContinuumSolver< DIM >::mpVtkSolution, DistanceMap< DIM >::mUseSegmentRadii, AbstractDiscreteContinuumSolver< DIM >::mWriteSolution, AbstractRegularGridDiscreteContinuumSolver< DIM >::Setup(), AbstractRegularGridDiscreteContinuumSolver< DIM >::UpdateSolution(), and AbstractRegularGridDiscreteContinuumSolver< DIM >::Write().
|
private |
Use segment radius information in the calculation. Otherwise use centrelines.
Definition at line 52 of file DistanceMap.hpp.
Referenced by DistanceMap< DIM >::SetUseSegmentRadii(), and DistanceMap< DIM >::Solve().