26 if (resultReg.IsNull())
28 mitkThrow() <<
"Cannot generate registration result node. Passed registration wrapper points to NULL.";
32 m_spRegNode->SetData(resultReg);
33 m_spRegNode->SetName(nodeName);
46 if (mappedData.IsNull())
48 mitkThrow() <<
"Cannot generate mapping result node. Passed mapped data points to NULL.";
53 mappedDataNode->SetData(mappedData);
54 mappedDataNode->SetName(nodeName);
76 mappedDataNode->SetColor(0.0, 0.0, 1.0);
80 return mappedDataNode;
const char *const Prop_MappingInterpolator
MITKMATCHPOINTREGISTRATION_EXPORT mitk::DataNode::Pointer generateMappedResultNode(const std::string &nodeName, mitk::BaseData::Pointer mappedData, const std::string ®UID, const std::string &inputDataUID, const bool refinedGeometry, const std::string &interpolator="Unkown")
const char *const Prop_MappingRefinedGeometry
const char *const Prop_MappingInputData
const char *const Prop_RegUID
Image class for storing images.
const char *const Prop_RegAlgTargetData
const char *const Prop_RegAlgUsed
const char *const Prop_RegAlgMovingData
MITKMATCHPOINTREGISTRATION_EXPORT mitk::DataNode::Pointer generateRegistrationResultNode(const std::string &nodeName, mitk::MAPRegistrationWrapper::Pointer resultReg, const std::string &algorithmUID, const std::string &movingDataUID, const std::string &targetDataUID)