예제 #1
0
 void Aligner::deserialize(boss::ObjectData &data, boss::IdContext &context) {
   boss::Identifiable::deserialize(data, context);
   setOuterIterations(data.getInt("outerIterations"));
   setInnerIterations(data.getInt("innerIterations"));
   Vector6f v;
   v.fromBOSS(data, "referenceSensorOffset");
   _referenceSensorOffset = v2t(v);
   v.fromBOSS(data, "currentSensorOffset");
   _currentSensorOffset = v2t(v);
   data.getReference("projector").bind(_projector);
   data.getReference("linearizer").bind(_linearizer);
   data.getReference("correspondenceFinder").bind(_correspondenceFinder);
 }
예제 #2
0
 void OptimizerProcessor::deserialize(boss::ObjectData& data, boss::IdContext& context){
   StreamProcessor::deserialize(data,context);
   data.getReference("manager").bind(_manager);
   data.getReference("optimizer").bind(_optimizer);
 }
예제 #3
0
	void MapMerger::deserialize(boss::ObjectData& data, boss::IdContext& context){
		StreamProcessor::deserialize(data,context);
		data.getReference("manager").bind(_manager);
		 _listSize = data.getInt("listSize");
	}