FAST/Data/DataTypes.hpp file

Namespaces

namespace fast
FAST namespace - All FAST code lives in this namespace.

Enums

enum DataType { TYPE_FLOAT, TYPE_UINT8, TYPE_INT8, TYPE_UINT16, TYPE_INT16, TYPE_UNORM_INT16, TYPE_SNORM_INT16, TYPE_UINT32, TYPE_INT32 }
enum PlaneType { PLANE_X, PLANE_Y, PLANE_Z }

Typedefs

using uchar = unsigned char
using ushort = unsigned short
using uint = unsigned int
using VectorXui = Eigen::Matrix<uint, Eigen::Dynamic, 1>
using Vector4ui = Eigen::Matrix<uint, 4, 1>
using Vector3ui = Eigen::Matrix<uint, 3, 1>
using Vector2ui = Eigen::Matrix<uint, 2, 1>

Functions

auto getCTypeAsString(DataType type) -> std::string
auto getOpenCLImageFormat(OpenCLDevice::pointer device, cl_mem_object_type imageType, DataType type, unsigned int channels) -> cl::ImageFormat
auto getSizeOfDataType(DataType type, unsigned int nrOfComponents) -> size_t
auto getDefaultIntensityLevel(DataType type) -> float
auto getDefaultIntensityWindow(DataType type) -> float
void deleteArray(void* data, DataType type)

Defines

#define NOMINMAX
#define _USE_MATH_DEFINES
#define fastCaseTypeMacro(fastType, cType, call)
#define fastSwitchTypeMacro(call)