D:/Eigene Dateien/TU Wien/LUVis/src/CommonMethods.h File Reference


Defines

#define AFX_COMMONMETH_H_INCLUDED_

Enumerations

enum  LogLevel {
  LOG_LEVEL_LETHAL_ERROR = 1, LOG_LEVEL_FATAL_ERROR, LOG_LEVEL_MINOR_ERROR, LOG_LEVEL_WARNING,
  LOG_LEVEL_MAJOR_INFO, LOG_LEVEL_MINOR_INFO
}
 global LogLevel More...

Functions

short Log (LogLevel level, System::String^tag, System::String^format)
 Logs Text to Console.
short Log (LogLevel level, System::String^tag, System::String^format, System::Object^arg0)
 Logs Text to Console.
short Log (LogLevel level, System::String^tag, System::String^format, System::Object^arg0, System::Object^arg1)
 Logs Text to Console.
short Log (LogLevel level, System::String^tag, System::String^format, System::Object^arg0, System::Object^arg1, System::Object^arg2)
 Logs Text to Console.
short Log (LogLevel level, System::String^tag, System::String^format, System::Object^arg0, System::Object^arg1, System::Object^arg2, System::Object^arg3)
 Logs Text to Console.
short Log (LogLevel level, System::String^tag, System::String^format, System::Object^arg0, System::Object^arg1, System::Object^arg2, System::Object^arg3, System::Object^arg4)
 Logs Text to Console.
short Log (LogLevel level, System::String^tag, System::String^format, array< System::Object^, 1 >^args)
 Logs Text to Console.
short Progress (LogLevel level, System::String^tag, System::String^format, int progress)
 Logs Progress to Console.
void DebugDrawTriangle ()
 renders a simple openGL Triangle
void DebugDrawCube (float size=1.0f)
 renders a simple openGL Cube
void DebugDrawCoordCross ()
 renders a simple coordinate plane
void DebugPrintFloat (float *matrix)
 prints a float Pointer
System::String getGlError (GLenum arg0)
 returns a convertet GLenum Error String
LPCWSTR ToLPCWSTR (System::String^string)
 converts a System::String to a LPCWSTR
char * ToCHARPTR (System::String^string)
 converts a System::String to a CharPointer
bool IsPowerOfTwo (int x)

Variables

static FILE * fp = NULL

Define Documentation

#define AFX_COMMONMETH_H_INCLUDED_


Enumeration Type Documentation

enum LogLevel

global LogLevel

Enumerator:
LOG_LEVEL_LETHAL_ERROR 
LOG_LEVEL_FATAL_ERROR 
LOG_LEVEL_MINOR_ERROR 
LOG_LEVEL_WARNING 
LOG_LEVEL_MAJOR_INFO 
LOG_LEVEL_MINOR_INFO 


Function Documentation

void DebugDrawCoordCross (  ) 

renders a simple coordinate plane

void DebugDrawCube ( float  size = 1.0f  ) 

renders a simple openGL Cube

void DebugDrawTriangle (  ) 

renders a simple openGL Triangle

void DebugPrintFloat ( float *  matrix  ) 

prints a float Pointer

System::String getGlError ( GLenum  arg0  ) 

returns a convertet GLenum Error String

bool IsPowerOfTwo ( int  x  ) 

short Log ( LogLevel  level,
System::String^  tag,
System::String^  format,
array< System::Object^, 1 >^  args 
)

Logs Text to Console.

short Log ( LogLevel  level,
System::String^  tag,
System::String^  format,
System::Object^  arg0,
System::Object^  arg1,
System::Object^  arg2,
System::Object^  arg3,
System::Object^  arg4 
)

Logs Text to Console.

short Log ( LogLevel  level,
System::String^  tag,
System::String^  format,
System::Object^  arg0,
System::Object^  arg1,
System::Object^  arg2,
System::Object^  arg3 
)

Logs Text to Console.

short Log ( LogLevel  level,
System::String^  tag,
System::String^  format,
System::Object^  arg0,
System::Object^  arg1,
System::Object^  arg2 
)

Logs Text to Console.

short Log ( LogLevel  level,
System::String^  tag,
System::String^  format,
System::Object^  arg0,
System::Object^  arg1 
)

Logs Text to Console.

short Log ( LogLevel  level,
System::String^  tag,
System::String^  format,
System::Object^  arg0 
)

Logs Text to Console.

short Log ( LogLevel  level,
System::String^  tag,
System::String^  format 
)

Logs Text to Console.

short Progress ( LogLevel  level,
System::String^  tag,
System::String^  format,
int  progress 
)

Logs Progress to Console.

char* ToCHARPTR ( System::String^  string  ) 

converts a System::String to a CharPointer

LPCWSTR ToLPCWSTR ( System::String^  string  ) 

converts a System::String to a LPCWSTR


Variable Documentation

FILE* fp = NULL [static]


Generated on Wed Jan 17 16:23:53 2007 by  doxygen 1.4.7