20 #ifndef MIRTK_VolumeMapper_H 21 #define MIRTK_VolumeMapper_H 23 #include "mirtk/Object.h" 25 #include "mirtk/Mapping.h" 27 #include "vtkSmartPointer.h" 28 #include "vtkPointSet.h" 29 #include "vtkPolyData.h" 30 #include "vtkDataArray.h" 52 mirtkPublicAttributeMacro(vtkSmartPointer<vtkPointSet>, InputSet);
55 mirtkPublicAttributeMacro(vtkSmartPointer<vtkDataArray>, InputMap);
58 mirtkAttributeMacro(vtkSmartPointer<vtkPolyData>, Boundary);
61 mirtkAttributeMacro(vtkSmartPointer<vtkDataArray>, BoundaryMap);
67 mirtkReadOnlyAttributeMacro(SharedPtr<Mapping>, Output);
112 virtual void Solve() = 0;
126 return _InputMap ?
static_cast<int>(_InputMap->GetNumberOfComponents()) : 0;
132 #endif // MIRTK_VolumeMapper_H virtual void Solve()=0
Compute map value at free points.
VolumeMapper()
Default constructor.
virtual void Finalize()
Finalize filter execution.
virtual ~VolumeMapper()
Destructor.
virtual void Initialize()
Initialize filter after input and parameters are set.
void Run()
Parameterize interior of input data set.
VolumeMapper & operator=(const VolumeMapper &)
Assignment operator.
virtual void InitializeBoundary(vtkPointSet *, vtkDataArray *)
Initialize boundary surface with corresponding boundary map as point data.
int NumberOfComponents() const
Dimension of codomain of volumetric map.