MeVisLab Resolution Independence API
|
#include <ThirdPartyWarningsDisable.h>
#include <iostream>
#include <vector>
#include <string>
#include <ThirdPartyWarningsRestore.h>
Go to the source code of this file.
Macros | |
#define | MLOPENGL_EXPORT ML_LIBRARY_IMPORT_ATTRIBUTE |
Macro to put all following stuff into the namespace ML_NAMESPACE to avoid collisions with symbols of other libraries. | |
#define | SO_MEVISLAB_ERR_POST(OSTREAM_VAL) |
Post an error string stream OSTREAM_VAL to the OpenInventor error handler which is redirected to the ML error handler; note that header Inventor/errors/SoDebugError.h, and the classes std::string and std::stringstream must be available to make this macro work. | |
#define | MEVISLAB_CHECK_AND_POST_OPENGL_ERROR(FUNC_NAME) |
A helper macro to check and print OpenGL error states whose argument FUNC_NAME is the name of the function in which the error occurred; see SO_MEVISLAB_ERR_POST for requirements. | |
Namespace for mlUtils | |
System specific macro definitions | |
#define | ML_OPENGL_NAMESPACE ml |
Define the namespace name like in the ML. Default is 'ml'. | |
#define MEVISLAB_CHECK_AND_POST_OPENGL_ERROR | ( | FUNC_NAME | ) |
A helper macro to check and print OpenGL error states whose argument FUNC_NAME is the name of the function in which the error occurred; see SO_MEVISLAB_ERR_POST for requirements.
This macro will post errors with OpenInventor SoDebugError::post function.
Definition at line 79 of file mlOpenGLSystem.h.
#define ML_OPENGL_NAMESPACE ml |
Define the namespace name like in the ML. Default is 'ml'.
Definition at line 25 of file mlOpenGLSystem.h.
#define MLOPENGL_EXPORT ML_LIBRARY_IMPORT_ATTRIBUTE |
Macro to put all following stuff into the namespace ML_NAMESPACE to avoid collisions with symbols of other libraries.
Use ML_OPENGL_END_NAMESPACE
to close the namespace. Closes the namespace for all ML stuff after the usage of ML_UTILS_START_NAMESPACE
.
Definition at line 54 of file mlOpenGLSystem.h.
#define SO_MEVISLAB_ERR_POST | ( | OSTREAM_VAL | ) |
Post an error string stream OSTREAM_VAL to the OpenInventor error handler which is redirected to the ML error handler; note that header Inventor/errors/SoDebugError.h, and the classes std::string and std::stringstream must be available to make this macro work.
Definition at line 65 of file mlOpenGLSystem.h.