Subversion Repositories gelsvn

Rev

Rev 595 | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

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