RadarFX API Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
TaskElementUtil.h
Go to the documentation of this file.
1 /*********************************************************************************
2 ** Copyright (c) 2019 MAK Technologies, Inc.
3 ** All rights reserved.
4 *********************************************************************************/
5 #pragma once
6 
7 #include <vrvVideoStream/DtVideoFrameBuffer.h>
8 
9 #include <string>
10 #include <sstream>
11 
13 void encodeLatLon(double lat, double lon, char* BLOCKA_loc);
14 
16 char* convertToSingleChannel(makVrv::DtVideoFrameBuffer* frame, int type);
17 
19 template <class Real>
20 std::string rtoa(Real x)
21 {
22  std::ostringstream o;
23  if (!(o << x))
24  {
25  return "ERROR converting Real to a string";
26  }
27  return o.str();
28 }
29 
30 
32 void computeScale(double* points, double xPixels, double yPixels, double& xScale, double& yScale);
33 
35 void initGdal();


Copyright © 2024 MAK Technologies, Inc. All Rights Reserved (www.mak.com)