3dpcp/.svn/pristine/9a/9a2b77870ce86d532bd74b7def02202e729c5eb1.svn-base
2012-10-05 08:55:14 +02:00

31 lines
875 B
Text

/**
* @file
* @brief Scan types and mapping functions.
*
* @author Thomas Escher, Billy Okal, Dorit Borrmann
*/
#ifndef IO_TYPES_H
#define IO_TYPES_H
//! IO types for file formats, distinguishing the use of ScanIOs
enum IOType {
UOS, UOSR, UOS_MAP, UOS_FRAMES, UOS_MAP_FRAMES, UOS_RGB, UOS_RRGBT, OLD, RTS, RTS_MAP, RIEGL_TXT, RIEGL_PROJECT, RIEGL_RGB, RIEGL_BIN, IFP, ZAHN, PLY, WRL, XYZ, ZUF, ASC, IAIS, FRONT, X3D, RXP, KIT, AIS, OCT, TXYZR, XYZR, XYZ_RGB, KS, KS_RGB, STL, LEICA, PCL, PCI, UOS_CAD, VELODYNE, VELODYNE_FRAMES
};
//! Data channels in the scans
enum IODataType {
DATA_XYZ = 1<<0,
DATA_RGB = 1<<1,
DATA_REFLECTANCE = 1<<2,
DATA_TEMPERATURE = 1<<3,
DATA_AMPLITUDE = 1<<4,
DATA_TYPE = 1<<5,
DATA_DEVIATION = 1<<6
};
IOType formatname_to_io_type(const char * string);
const char * io_type_to_libname(IOType type);
#endif //IO_TYPES_H