Hi, i want to store some of the sensor data for further use in a stack, list, or whatever. The problem I encountered is the following:
I tried to store the sensor data like this. tracker = mitk::MedSAFETrackingDevice::New(); source = mitk::TrackingDeviceSource::New(); source->SetTrackingDevice(tracker); source->Connect(); sensor_stack[0].push(source->GetOutput(0)); The problem is, that GetOutput() returns NavigationData* which is protected, so I can't use it. I could build a new class or struct which would store all the data i get from the tracker like that newclass->setTime(tracker->GetTool(0)->GetMTime()) newclass->setOrientation(tracker->GetTool(0)->GetOrientation()) and so on. But this would be a shame, because NavigationData has this data already. Is there a way to work with NavigatinData or at least a selection of the dataFields "on the fly" without building new storage classes? Thanks, Matthias ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com _______________________________________________ mitk-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mitk-users
