コード例 #1
0
void ManifoldVoronoiExtractor::deserialize(ObjectData& data, IdContext& context)
{
    StreamProcessor::deserialize(data,context);
    data.getReference("manager").bind(_manager);
    data.getReference("cache").bind(_cache);
    _resolution = data.getFloat("resolution");
    _xSize = data.getInt("xSize");
    _ySize = data.getInt("ySize");
    _normalThreshold = data.getFloat("normalThreshold");
    _dequeSize = data.getInt("dequeSize");
}
コード例 #2
0
 void TwoDepthImageAlignerNode::Relation::deserialize(ObjectData& data, IdContext& context) {
   MapNodeBinaryRelation::deserialize(data,context);
   data.getReference("aligner").bind(_aligner);
   data.getReference("converter").bind(_converter);
   data.getReference("currentSensingFrame").bind(_currentSensingFrame);
   data.getReference("referenceSensingFrame").bind(_referenceSensingFrame);
   _topic = data.getString("topic");
   _inliers = data.getInt("inliers");
   _error = data.getFloat("error");
 }
コード例 #3
0
void ManifoldVoronoiData::deserialize(ObjectData& data, IdContext& context)
{
    ImageData::deserialize(data, context);
    resolution = data.getFloat("resolution");
    data.getReference("node").bind(node);
}