2D Topographic map without interpolation

About the GUI application to design signal processing pipelines
Post Reply
ikdekker
Posts: 6
Joined: Tue Sep 12, 2017 9:40 am

2D Topographic map without interpolation

Post by ikdekker »

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"

Code: Select all

CTopographicMapDatabase::interpolateValues()
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?

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);

Post Reply