2D Topographic map without interpolation
Posted: Thu Sep 14, 2017 8:31 am
Hi,
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" function, as well as some other functions. Which have had no effect or an undesirable one.
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?
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);