29#define CSO_PRINT(msg) { std::stringstream strstream; \
31 ML_UTILS_NAMESPACE::MLErrorOutput.printAndNotify(ML_COUT, "CSO", "", "", strstream.str(), "", __FILE__, __LINE__, NULL, NULL, ML_RESULT_OK); }
34#define CSO_ERROR(msg) { std::stringstream strstream; \
36 ML_UTILS_NAMESPACE::MLErrorOutput.printAndNotify(ML_ERROR, "CSO", "", "", strstream.str(), "", __FILE__, __LINE__, NULL, NULL, ML_RESULT_OK); }
39#define CSO_WARNING(msg) { std::stringstream strstream; \
41 ML_UTILS_NAMESPACE::MLErrorOutput.printAndNotify(ML_WARNING, "CSO", "", "", strstream.str(), "", __FILE__, __LINE__, NULL, NULL, ML_RESULT_OK); }
44#define CSO_DEBUG(msg) { std::stringstream strstream; \
46 ML_UTILS_NAMESPACE::MLErrorOutput.printAndNotify(ML_COUT, "CSO Debug", "", "", strstream.str(), "", __FILE__, __LINE__, NULL, NULL, ML_RESULT_OK); }
52#include <ThirdPartyWarningsDisable.h>
53#include <boost/unordered_map.hpp>
54#include <ThirdPartyWarningsRestore.h>
58#define MAX_VOXEL_BOUNDING_BOX_CACHE_SIZE 12
std::map< unsigned int, unsigned int > CSOIdToCSOIdMap
Defines a map type to map old CSOIds to new CSOIds when merging CSOLists.
const unsigned int INVALID_CSO_ID
Defines a CSO/CSOGroup id that is invalid.
std::vector< unsigned int > CSOIdVector
Defines a vector to hold CSO and CSOGroup ids.
const int CSO_VERSION
Global include file for MLCSO library with definitions and includes.
Target mlrange_cast(Source arg)
Generic version of checked ML casts.
Struct for retrieving a hash key for a Matrix4 which is used in the caches for voxel bounding boxes.
size_t operator()(const MatrixHashPair &hashPair) const
Struct for storing hash information for hashing by a Matrix4 and its precomputed hash key.
bool operator==(const MatrixHashPair &other) const