Blue Brain BioExplorer
Utils.h File Reference
#include <platform/core/common/MathTypes.h>
#include <platform/core/common/Types.h>
#include <algorithm>
Include dependency graph for Utils.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 core
 

Functions

strings core::parseFolder (const std::string &folder, const strings &filters)
 
std::string core::extractExtension (const std::string &filename)
 
template<size_t M, typename T >
glm::vec< M, T > core::toGlmVec (const std::array< T, M > &input)
 
template<size_t M, typename T >
std::array< T, M > core::toArray (const glm::vec< M, T > &input)
 
Vector4f core::getBezierPoint (const Vector4fs &controlPoints, const float t)
 Get the Bezier Point from a curve defined by the provided control points. More...
 
Vector3fs core::getRainbowColormap (const uint32_t colormapSize)
 Get the Rainbow Colormap. More...
 
template<typename To , typename From >
To core::lexical_cast (const From &from)
 Function template taking two template parameters (To and From) representing the source and target types. More...