25 #ifndef WINTEGRATIONPARAMETERIZATION_H
26 #define WINTEGRATIONPARAMETERIZATION_H
31 #include "WRasterParameterization.h"
32 #include "core/common/math/linearAlgebra/WVectorFixed.h"
71 virtual std::shared_ptr< WDataSetScalar >
getDataSet();
Stores the direction if a line in a separate dataset for each voxel.
virtual void parameterizeVoxel(const WVector3i &voxel, size_t voxelIdx, const int axis, const double value, const WPosition &start, const WPosition &end)
This method allows this parameterization to update.
double m_curLength
The current length of a line.
std::vector< double > m_lengthValues
Stores the current length of the fiber at each voxel.
WIntegrationParameterization(std::shared_ptr< WGridRegular3D > grid)
Default constructor.
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 ~WIntegrationParameterization()
Destructor.
virtual std::shared_ptr< WDataSetScalar > getDataSet()
Gets the dataset representing the parameterization.
virtual void newLine(const WLine &line)
Gets called for each new line getting rasterized.
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.