667 |
khor |
1 |
/**
|
|
|
2 |
* @file load_raw.h
|
|
|
3 |
* @brief contains function template for loading raw voxel data.
|
|
|
4 |
*/
|
|
|
5 |
|
|
|
6 |
/* ----------------------------------------------------------------------- *
|
|
|
7 |
* This file is part of GEL, http://www.imm.dtu.dk/GEL
|
|
|
8 |
* Copyright (C) the authors and DTU Informatics
|
|
|
9 |
* For license and list of authors, see ../../doc/intro.pdf
|
|
|
10 |
* ----------------------------------------------------------------------- */
|
|
|
11 |
|
|
|
12 |
#ifndef __GEOMETRY_VOXELGRID_LOAD_RAW_H__
|
|
|
13 |
#define __GEOMETRY_VOXELGRID_LOAD_RAW_H__
|
|
|
14 |
|
|
|
15 |
#include <string>
|
|
|
16 |
#include "../CGLA/Mat4x4f.h"
|
|
|
17 |
#include "RGrid.h"
|
|
|
18 |
|
|
|
19 |
namespace Geometry
|
|
|
20 |
{
|
|
|
21 |
/// Function template for loading raw voxel data. Template arg is the grid type.
|
|
|
22 |
template<class T>
|
|
|
23 |
bool load_raw(const std::string& file, RGrid<T>& grid);
|
|
|
24 |
|
|
|
25 |
}
|
|
|
26 |
|
|
|
27 |
#endif
|