RadarFX API Documentation
Home
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
include
radarFxServer
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
12
void
encodeLatLon
(
double
lat,
double
lon,
char
* BLOCKA_loc);
13
15
char
*
convertToSingleChannel
(makVrv::DtVideoFrameBuffer* frame,
int
type);
16
18
template
<
class
Real>
19
std::string
rtoa
(Real x)
20
{
21
std::ostringstream o;
22
if
(!(o << x))
23
{
24
return
"ERROR converting Real to a string"
;
25
}
26
return
o.str();
27
}
28
29
31
void
computeScale
(
double
* points,
double
xPixels,
double
yPixels,
double
& xScale,
double
& yScale);
32
34
void
initGdal
();
Document ID: 1.0
Copyright © 2017 VT MAK Inc. All Rights Reserved (
www.mak.com
)