I want to render the 2d topo map, but I do not want to apply any of the interpolation algorithms. I have tried altering the "simple-visualisation plugins"
Code: Select all
CTopographicMapDatabase::interpolateValues()
My best bet was to replace l_oSampleValuesMatrix in the last line below with m_pSamplePointCoords. But that does not seem to be working. Any advice?
Code: Select all
OpenViBE::Kernel::TParameterHandler < OpenViBE::IMatrix* > l_oSampleValuesMatrix;
l_oSampleValuesMatrix.initialize(m_rSphericalSplineInterpolation.getOutputParameter(OVP_Algorithm_SphericalSplineInterpolation_OutputParameterId_SamplePointsValues));
dynamic_cast<CTopographicMapDrawable*>(m_pDrawable)->setSampleValuesMatrix(l_oSampleValuesMatrix);