MeVisLab Toolbox Reference
|
#include "mlInitSystemVTKSupport.h"
#include "mlModuleIncludes.h"
#include <mlUnicode.h>
#include <mlFileSystem.h>
Go to the source code of this file.
Namespaces | |
namespace | ml |
Main documentation file for ML users and developers. | |
Functions | |
MLVTK_SUPPORT_EXPORT std::string | ml::mlVTKMakeStdString (const char *str) |
Convert for a char pointer to a std::string safely. | |
MLVTK_SUPPORT_EXPORT std::string | ml::mlVTKMakeStdString (const std::string &str) |
Convert for a std::string to a std::string safely. | |
MLVTK_SUPPORT_EXPORT std::string | ml::mlVTKGetLatin1FromUTF8 (const std::string &utf8StdString) |
Convert string from UTF8 to Latin1; return empty string on failure or if "" is passed as utf8StdString. | |
MLVTK_SUPPORT_EXPORT std::string & | ml::mlVTKGetLatin1FromUTF8Static (const std::string &utf8StdString) |
Like mlVTKGetLatin1FromUTF8(const std::string &utf8StdString); the only difference is that the return value is stored in a static variable to maintain the return value. | |
MLVTK_SUPPORT_EXPORT std::string | ml::mlVTKGetUTF8FromLatin1 (const std::string &latin1StdString) |
Convert string from Latin1 to UTF8; return empty string on failure or if "" is passed as latin1StdString. | |
MLVTK_SUPPORT_EXPORT std::string & | ml::mlVTKGetUTF8FromLatin1Static (const std::string &latin1StdString) |
Like mlVTKGetUTF8FromLatin1(const std::string &latin1StdString); the only difference is that the return value is stored in a static variable to maintain the return value. | |
template<typename TemplArrElemType > | |
void | ml::VTKArrayFromFixedSizeSTLVector (const typename std::vector< TemplArrElemType > &stlVec, TemplArrElemType *arr, size_t TemplArrSize) |
Copies TemplArrSize elements from stlVec to arr and - if not enough elements are available - fills up the rest with 0. | |
template<typename TemplArrElemType , unsigned int TemplArrSize> | |
const std::vector< TemplArrElemType > | ml::STLVectorFromFixedSizeVTKArray (const TemplArrElemType *theArray) |
Create an STL vector with type TemplArrElemType which contains TemplArrSize elements which are read from theArray, hence the array must have at least TemplArrSize elements. | |