LibCarna Version 3.4.0
Loading...
Searching...
No Matches
HUGZSceneFactory.hpp
1/*
2 * Copyright (C) 2010 - 2016 Leonid Kostrykin
3 *
4 * Chair of Medical Engineering (mediTEC)
5 * RWTH Aachen University
6 * Pauwelsstr. 20
7 * 52074 Aachen
8 * Germany
9 *
10 *
11 * Copyright (C) 2021 - 2025 Leonid Kostrykin
12 *
13 */
14
15#pragma once
16
17#include <HUIO.hpp>
20#include <fstream>
21#include <QDebug>
22#include <boost/iostreams/filtering_stream.hpp>
23#include <boost/iostreams/filter/gzip.hpp>
24
25namespace LibCarna
26{
27
28namespace testing
29{
30
31
32
33// ----------------------------------------------------------------------------------
34// HUGZSceneFactory
35// ----------------------------------------------------------------------------------
36
55{
61 static LibCarna::base::IntensityVolumeUInt16* importVolume( const std::string& filename, LibCarna::base::math::Vector3f& spacing, bool stretchIntensities = false );
62};
63
64
65
66} // namespace testing
67
68} // namespace LibCarna
Defines LibCarna::base::BufferedIntensityVolume.
Represents an association.
Defines LibCarna::base::math namespace and LIBCARNA_FOR_VECTOR3UI.
Eigen::Matrix< float, 3, 1 > Vector3f
Defines vector.
Definition math.hpp:200
Creates LibCarna::base::IntensityVolumeUInt16 object from HUGZ-file.
static LibCarna::base::IntensityVolumeUInt16 * importVolume(const std::string &filename, LibCarna::base::math::Vector3f &spacing, bool stretchIntensities=false)
Reads HUGZ file and returns created LibCarna::base::IntensityVolumeUInt16 object.