31#include <itkPolyLineParametricPath.h>
32#include <itkFiniteDifferenceFunction.h>
46template<
class POLYLINEPATHTYPE>
67 (
pl ?
static_cast<size_t>(
pl->getNum()) :
68 (
vl ?
static_cast<size_t>(
vl->getNum()) : 0))));
72 int maxDim = POLYLINEPATHTYPE::VertexType::IndexDimension;
81 typename POLYLINEPATHTYPE::Pointer
outputPolyline = POLYLINEPATHTYPE::New();
84 typename POLYLINEPATHTYPE::VertexType
point;
87 for (
size_t c=0; c <
numVals; ++c){
124 typename POLYLINEPATHTYPE::Pointer
outputPolyline = POLYLINEPATHTYPE::New();
127 typename POLYLINEPATHTYPE::VertexType
point;
142template<
class FINITE_DIFFERENCE_FUNCTION_TYPE>
146 typename FINITE_DIFFERENCE_FUNCTION_TYPE::Pointer
defaultFunction =
nullptr;
Class representing general ML objects that support import/export via strings (setPersistentState() an...
Class to provide a number of get/set functions for often used templated objects, for example function...
FiniteDifferenceFunctionImg2OfVoxInt8Type::Pointer GetFiniteDifferenceFunction(FiniteDifferenceFunctionImg2OfVoxInt8Type *)
Base object class PointList managing a list of points.
Base object representing a list of vectors given as Vector4's.
Base object class XMarkerListContainer (derived from ListContainerTemplate) for XMarkerList objects.
Base object class XMarkerList (derived from BaseListTemplate) specialized for XMarker items.
Base object class XMarker (derived form baseItem) with 6D pos, 3D vec and type int.
#define ML_BASE_IS_A(base, type)
This file defines macros, which are inserted in classes to declare and implement additional class mem...
#define ML_BAD_DIMENSION
The image or data structure has wrong extent or dimensions.
#define ML_PRINT_WARNING(FUNC_NAME, REASON, HANDLING)
Like ML_PRINT_WARNING_DUMP(FUNC_NAME, REASON, HANDLING, RT_OBJ) without a runtime object to be dumped...
Target mlrange_cast(Source arg)
Generic version of checked ML casts.
POLYLINEPATHTYPE::Pointer ITKPolylineFromBasePointer(Base *baseVal, bool emptyDefaultToOneZeroVal=true)
Reads a base field and looks for point like data structures (XMarkerLists, XMarkerListContainers,...
FINITE_DIFFERENCE_FUNCTION_TYPE::Pointer ITKDifferenceFunctionFromBasePointer(Base *baseVal)
Checks a base input connector for a base object containing a MultiBaseType.