#include "stdafx.h"
#include "Vis3D.h"
#include "SerialPort.h"
Functions | |
GLvoid | ReSizeGLScene (GLsizei width, GLsizei height) |
GLvoid | DrawText () |
int | DrawGLScene (GLvoid) |
GLvoid | KillGLWindow (GLvoid) |
BOOL | CreateGLWindow (char *title, int width, int height, int bits, bool fullscreenflag) |
LRESULT CALLBACK | WndProc (HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam) |
int WINAPI | WinMain (HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow) |
void | SetMaxHeight (float fData) |
void | SetPositiveToShader (bool bFlag) |
void | SetGlobalVarable () |
GLvoid | BuildFont (GLvoid) |
GLvoid | KillFont (GLvoid) |
GLvoid | glPrint (const char *fmt,...) |
char * | SourceRead (char *filename) |
int | InitGL (GLvoid) |
bool | open_serial_port () |
void | close_serial_port () |
void | set_serial_data () |
void | loadconfigdata () |
Variables | |
CSerialPort | _serial |
CString | strPort = "COM8" |
int | nBaudrate = 921600 |
bool | bBaudrate = true |
bool | bConnected = false |
bool | blogging = false |
int | nThresholdToggle = 0 |
float | fDataThreshold = 0.0f |
int | nCol = 30 |
int | nRow = 40 |
int | nLenPacket = 1200 |
char | requestCommand = 'S' |
bool | brequestCommandToggle = true |
bool | bStartnStopToggle = false |
bool | bShiftDown = false |
bool | bBackgroundFiltering = true |
BYTE * | pByte = NULL |
BYTE * | pByteOffset = NULL |
WORD * | pWordOffset = NULL |
FILE * | fp = NULL |
GLvoid BuildFont | ( | GLvoid | ) |
void close_serial_port | ( | ) |
BOOL CreateGLWindow | ( | char * | title, |
int | width, | ||
int | height, | ||
int | bits, | ||
bool | fullscreenflag | ||
) |
int DrawGLScene | ( | GLvoid | ) |
GLvoid DrawText | ( | ) |
GLvoid glPrint | ( | const char * | fmt, |
... | |||
) |
int InitGL | ( | GLvoid | ) |
GLvoid KillFont | ( | GLvoid | ) |
GLvoid KillGLWindow | ( | GLvoid | ) |
void loadconfigdata | ( | ) |
bool open_serial_port | ( | ) |
GLvoid ReSizeGLScene | ( | GLsizei | width, |
GLsizei | height | ||
) |
void set_serial_data | ( | ) |
void SetGlobalVarable | ( | ) |
void SetMaxHeight | ( | float | fData ) |
void SetPositiveToShader | ( | bool | bFlag ) |
char* SourceRead | ( | char * | filename ) |
int WINAPI WinMain | ( | HINSTANCE | hInstance, |
HINSTANCE | hPrevInstance, | ||
LPSTR | lpCmdLine, | ||
int | nCmdShow | ||
) |
LRESULT CALLBACK WndProc | ( | HWND | hWnd, |
UINT | uMsg, | ||
WPARAM | wParam, | ||
LPARAM | lParam | ||
) |
bool bBackgroundFiltering = true |
bool bBaudrate = true |
bool bConnected = false |
bool blogging = false |
bool brequestCommandToggle = true |
bool bShiftDown = false |
bool bStartnStopToggle = false |
float fDataThreshold = 0.0f |
FILE* fp = NULL |
int nBaudrate = 921600 |
int nCol = 30 |
int nLenPacket = 1200 |
int nRow = 40 |
int nThresholdToggle = 0 |
BYTE* pByte = NULL |
BYTE* pByteOffset = NULL |
WORD* pWordOffset = NULL |
char requestCommand = 'S' |
CString strPort = "COM8" |