Carna  Version 3.0.1
HUGZSceneFactory.h
1 #pragma once
2 
3 #include <HUIO.h>
4 #include <Carna/base/math.h>
6 #include <fstream>
7 #include <QDebug>
8 #include <boost/iostreams/filtering_stream.hpp>
9 #include <boost/iostreams/filter/gzip.hpp>
10 
11 namespace Carna
12 {
13 
14 namespace testing
15 {
16 
17 
18 
19 // ----------------------------------------------------------------------------------
20 // HUGZSceneFactory
21 // ----------------------------------------------------------------------------------
22 
41 {
47  static Carna::base::HUVolumeUInt16* importVolume( const std::string& filename, Carna::base::math::Vector3f& spacing );
48 };
49 
50 
51 
52 } // namespace testing
53 
54 } // namespace Carna
Implements HUVolume generically for a particular VoxelType.
Defines Carna::base::math namespace and CARNA_FOR_VECTOR3UI.
Eigen::Matrix< float, 3, 1 > Vector3f
Defines vector.
Definition: math.h:196
Defines Carna::base::BufferedHUVolume.
Creates Carna::base::HUVolumeUInt16 object from HUGZ-file.
static Carna::base::HUVolumeUInt16 * importVolume(const std::string &filename, Carna::base::math::Vector3f &spacing)
Reads HUGZ file and returns created Carna::base::HUVolumeUInt16 object.