30 #include <core/common/math/WMath.h>
32 #include "WResampleBySegLength.h"
36 "Each fiber segement is of the given length after resampling" )
38 m_segLength =
m_properties->addProperty(
"Length",
"New Segmentlength each fiber should have afterwards", 1.0 );
Represents a neural pathway.
void resampleBySegmentLength(double newSegementLength)
Resample this line so there are only segements of the given length.
This is a base class for everything which has a Name,Description,Icon and Properties (=NDIP).
WProperties::SPtr m_properties
the properties of the object.
virtual WFiber resample(WFiber fib) const
The given fiber is resampled by segment length and a copy is returned.
WPropDouble m_segLength
Number of new sample points all tracts are resampled to.
WResampleBySegLength()
Constructor.
Interface for Resampling fibers.