コード例 #1
0
void ManifoldVoronoiExtractor::serialize(ObjectData& data, IdContext& context)
{
    StreamProcessor::serialize(data,context);
    data.setPointer("manager", _manager);
    data.setPointer("cache", _cache);
    data.setFloat("resolution", _resolution);
    data.setInt("xSize", _xSize);
    data.setInt("ySize", _ySize);
    data.setFloat("normalThreshold", _normalThreshold);
    data.setInt("dequeSize", _dequeSize);
}
コード例 #2
0
 void TwoDepthImageAlignerNode::Relation::serialize(ObjectData& data, IdContext& context) {
   MapNodeBinaryRelation::serialize(data,context);
   data.setPointer("aligner", _aligner);
   data.setPointer("converter", _converter);
   data.setPointer("currentSensingFrame", _currentSensingFrame);
   data.setPointer("referenceSensingFrame", _referenceSensingFrame);
   data.setString("topic", _topic);
   data.setInt("inliers", _inliers);
   data.setFloat("error", _error);
 }