25 #ifndef WRASTERPARAMETERIZATION_H
26 #define WRASTERPARAMETERIZATION_H
30 #include "core/common/math/WLine.h"
31 #include "core/common/math/linearAlgebra/WPosition.h"
32 #include "core/common/math/linearAlgebra/WVectorFixed.h"
33 #include "core/dataHandler/WDataSetScalar.h"
34 #include "core/dataHandler/WGridRegular3D.h"
75 virtual std::shared_ptr< WDataSetScalar >
getDataSet() = 0;
101 std::shared_ptr< WGridRegular3D >
m_grid;
A line is an ordered sequence of WPositions.
A fixed size matrix class.
This only is a 3d double vector.
This class is the base for all specific parameterization algorithms.
virtual ~WRasterParameterization()
Destructor.
std::shared_ptr< WGridRegular3D > m_grid
The grid, which needs to be used for the created dataset and to which the parameterizeVoxel method is...
virtual void parameterizeVoxel(const WVector3i &voxel, size_t voxelIdx, const int axis, const double value, const WPosition &start, const WPosition &end)=0
This method allows this parameterization to update.
WRasterParameterization(std::shared_ptr< WGridRegular3D > grid)
Default constructor.
virtual void finished()
This method gets called whenever all lines got rasterized.
virtual std::shared_ptr< WDataSetScalar > getDataSet()=0
Gets the dataset representing the parameterization.
virtual void newSegment(const WPosition &start, const WPosition &end)
Gets called for each new line segment getting rasterized, as one segment can have multiple voxels.
virtual void newLine(const WLine &line)
Gets called for each new line getting rasterized.