MISB 0903 Converter Library  Version 2.02
Public Member Functions | List of all members
VMTI_Packet Class Reference

VMTI_Packet helper class. More...

Public Member Functions

 VMTI_Packet ()
 Default constructor.
 
virtual ~VMTI_Packet ()
 Virtual destructor.
 
bool SetUnixTimeStamp (unsigned __int64 tStamp)
 Microseconds elapsed since midnight (00:00:00 UTC), January 1, 1970 (the UNIX Epoch). Derived from the POSIX IEEE1003.1 standard. Resolution: 1 microsecond.
 
bool SetUnixTimeStampNow ()
 Sets current time. Microseconds elapsed since midnight (00:00:00 UTC), January 1, 1970 (the UNIX Epoch). Derived from the POSIX IEEE1003.1 standard. Resolution: 1 microsecond. More...
 
bool SetVmtiSystemName (string systemName)
 Text string to allow the inclusion of the name and/or description of the VMTI system. (Up to 32 bytes long) More...
 
bool SetVmtiLDSVersion (unsigned short ver)
 Version number of the VMTI LDS document used to generate the VMTI metadata. 0 is pre-release, initial release (090x.0), or test data. 1..65535 corresponds to document revisions 1 through 65535. More...
 
bool SetTotalNumberOfTargets (unsigned int n)
 The total number of targets detected in the frame. More...
 
bool SetNumberOfReportedTargets (unsigned int n)
 The number of targets reported following a culling process. For use, for example, where bandwidth limits the number of targets that can be sent. More...
 
bool SetVideoFrameNumber (unsigned int n)
 The video frame number corresponding to the frame in which the targets were detected. More...
 
bool SetFrameWidth (unsigned int n)
 Width of the video frame in pixels. Range 1 to 16777215. Value of zero is meaningless and should not be used. More...
 
bool SetFrameHeight (unsigned int n)
 Height of the video frame in pixels. Range 1 to 16777215. Value of zero is meaningless and should not be used. More...
 
bool SetVmtiSourceSensor (string sourceSensor)
 String of VMTI source sensor. E.g., 'EO Nose', 'EO Zoom (DLTV)', 'EO Spotter'. More...
 
bool SetVmtiSensorHorizontalFOV (float fov)
 Horizontal field of view of imaging sensor input to VMTI process. More...
 
bool SetVmtiSensorVerticalFOV (float fov)
 Vertical field of view of imaging sensor input to VMTI process.
 
map< VTargetLocalDataTag, VTargetItem * > & GetVTargetLocalData ()
 GetVTargetLocalData returns an internal map of VTargetLocalDataTag / VTargetItem* pairs. More...
 
vector< VTargetPack * > & GetVTargetSeries ()
 GetVTargetSeries returns an internal container of VTargetPack*. More...
 
bool AddVTargetPack (VTargetPack *pPack)
 AddVTargetPack inserts a VTargetPack set into VMTI_Packet. More...
 
void SetTargetLocalData (VTargetLocalDataTag tag, unsigned char *pData, size_t len)
 SetTargetLocalData inserts a VTargetPack set into VMTI_Packet. More...
 
bool DecodeValue (VTargetLocalDataTag tag, VARIANT *vt)
 Converts a "value" into formatted value in units defined in EG0601 spec. More...
 
string DecodeValueH (VTargetLocalDataTag tag)
 Converts a "value" into human readable formatted string. More...
 

Detailed Description

Examples:
STD0903DemoApp.cpp.

Member Function Documentation

§ AddVTargetPack()

bool VMTI_Packet::AddVTargetPack ( VTargetPack pPack)

AddVTargetPack inserts a VTargetPack set into VMTI_Packet.

Parameters
pPacka VTargetPack*. Pointer to VTargetPack
Returns
bool.
Examples:
STD0903DemoApp.cpp.

§ DecodeValue()

bool VMTI_Packet::DecodeValue ( VTargetLocalDataTag  tag,
VARIANT *  vt 
)

DecodeValue converts a "value" into formatted value in units defined in EG0601 spec.

Parameters
tagan int. Key Tag
vta VARIANT*. Value
Returns
bool.
Examples:
STD0903DemoApp.cpp.

§ DecodeValueH()

string VMTI_Packet::DecodeValueH ( VTargetLocalDataTag  tag)

DecodeValueH (human readable) converts a "value" into formatted string.

Parameters
tagan int. Key Tag
Returns
string.

§ GetVTargetLocalData()

map<VTargetLocalDataTag, VTargetItem*>& VMTI_Packet::GetVTargetLocalData ( )
inline

GetVTargetLocalData returns an internal map of VTargetLocalDataTag / VTargetItem* pairs.

Returns
map<VTargetLocalDataTag, VTargetItem*>&.
Examples:
STD0903DemoApp.cpp.

§ GetVTargetSeries()

vector<VTargetPack*>& VMTI_Packet::GetVTargetSeries ( )
inline

GetVTargetSeries returns an internal container of VTargetPack*.

Returns
vector<VTargetPack*>&.
Examples:
STD0903DemoApp.cpp.

§ SetFrameHeight()

bool VMTI_Packet::SetFrameHeight ( unsigned int  n)

String of VMTI source sensor. E.g., 'EO Nose', 'EO Zoom (DLTV)', 'EO Spotter'.

Examples:
STD0903DemoApp.cpp.

§ SetFrameWidth()

bool VMTI_Packet::SetFrameWidth ( unsigned int  n)

Height of the video frame in pixels. Range 1 to 16777215. Value of zero is meaningless and should not be used.

Examples:
STD0903DemoApp.cpp.

§ SetNumberOfReportedTargets()

bool VMTI_Packet::SetNumberOfReportedTargets ( unsigned int  n)

The video frame number corresponding to the frame in which the targets were detected.

Examples:
STD0903DemoApp.cpp.

§ SetTargetLocalData()

void VMTI_Packet::SetTargetLocalData ( VTargetLocalDataTag  tag,
unsigned char *  pData,
size_t  len 
)

AddVTargetPack inserts a VTargetPack set into VMTI_Packet.

Parameters
taga VTargetLocalDataTag. TargetLocalData Tag
pDataa unsigned char* . Pointer to TargetLocalData
lena size_t. Data length
Returns
void.

§ SetTotalNumberOfTargets()

bool VMTI_Packet::SetTotalNumberOfTargets ( unsigned int  n)

The number of targets reported following a culling process. For use, for example, where bandwidth limits the number of targets that can be sent.

Examples:
STD0903DemoApp.cpp.

§ SetUnixTimeStampNow()

bool VMTI_Packet::SetUnixTimeStampNow ( )

Text string to allow the inclusion of the name and/or description of the VMTI system. (Up to 32 bytes long)

Examples:
STD0903DemoApp.cpp.

§ SetVideoFrameNumber()

bool VMTI_Packet::SetVideoFrameNumber ( unsigned int  n)

Width of the video frame in pixels. Range 1 to 16777215. Value of zero is meaningless and should not be used.

Examples:
STD0903DemoApp.cpp.

§ SetVmtiLDSVersion()

bool VMTI_Packet::SetVmtiLDSVersion ( unsigned short  ver)

The total number of targets detected in the frame.

Examples:
STD0903DemoApp.cpp.

§ SetVmtiSensorHorizontalFOV()

bool VMTI_Packet::SetVmtiSensorHorizontalFOV ( float  fov)

Vertical field of view of imaging sensor input to VMTI process.

Examples:
STD0903DemoApp.cpp.

§ SetVmtiSourceSensor()

bool VMTI_Packet::SetVmtiSourceSensor ( string  sourceSensor)

Horizontal field of view of imaging sensor input to VMTI process.

Examples:
STD0903DemoApp.cpp.

§ SetVmtiSystemName()

bool VMTI_Packet::SetVmtiSystemName ( string  systemName)

Version number of the VMTI LDS document used to generate the VMTI metadata. 0 is pre-release, initial release (090x.0), or test data. 1..65535 corresponds to document revisions 1 through 65535.

Examples:
STD0903DemoApp.cpp.
Untitled 1




 Copyright 2017,    IMPLEOTV SYSTEMS LTD