30 #include <core/common/math/WMath.h>
32 #include "WResampleBySegLengthKeepShortFibers.h"
35 :
WObjectNDIP<
WResampling_I >(
"Segment Length Resampling (keep short fibers)",
"Each fiber segement is of the given length after resampling" )
37 m_segLength =
m_properties->addProperty(
"Length",
"New Segmentlength each fiber should have afterwards", 1.0 );
Represents a neural pathway.
void resampleBySegmentLengthKeepShortFibers(double newSegmentLength)
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.
WResampleBySegLengthKeepShortFibers()
Constructor.
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.
Interface for Resampling fibers.