Template Function layer_dm::TryCreate

Function Documentation

template<typename TExpView, typename TExpNode, typename TPipeline, typename ...Rest>
vtkSmartPointer<vtkMRMLLayerDMPipelineI> layer_dm::TryCreate(vtkMRMLAbstractViewNode *viewNode, vtkMRMLNode *node)

Helper template function to try and create the given pipeline if the input view node and node match the expected types. Supports variadic calls with triplets <TView, TNode, TPipeline, TView2, TNode2, TPipeline2 …>

See also

TryCreateForView