cctw
0.2.1
Main Page
Namespaces
Classes
Files
File List
File Members
cctw-code
cctwlib
cctwinputdatah5.h
Go to the documentation of this file.
1
#ifndef CCTWINPUTDATAH5_H
2
#define CCTWINPUTDATAH5_H
3
4
#include "
cctwobject.h
"
5
#include "hdf5.h"
6
#include "
cctwvector3d.h
"
7
8
class
CctwInputDataH5
:
public
CctwObject
9
{
10
Q_OBJECT
11
public
:
12
explicit
CctwInputDataH5
(QString filePath, QString datasetName, QString
name
,
CctwObject
*parent);
13
14
signals:
15
16
public
slots:
17
virtual
double
readData
(
int
dx,
int
dy,
int
dz);
18
QVector<double>
readChunk
(
int
ix,
int
iy,
int
iz,
19
int
nx,
int
ny,
int
nz);
20
21
public
:
22
CctwIntVector3D
dimensions
()
const
;
23
CctwIntVector3D
chunkSize
()
const
;
24
25
private
:
26
bool
openInputFile
();
27
// CctwIntVector3D datasetDimensionsH5(QString filePath, QString datasetName);
28
// CctwIntVector3D datasetChunkSizeH5(QString filePath, QString datasetName);
29
30
void
setDimensions
(
CctwIntVector3D
dims);
31
void
setChunkSize
(
CctwIntVector3D
cksz);
32
33
private
:
34
CctwIntVector3D
m_Dimensions
;
35
CctwIntVector3D
m_ChunkSize
;
36
QString
m_InputFilePath
;
37
QString
m_DatasetName
;
38
hid_t
m_FileId
;
39
hid_t
m_DatasetId
;
40
hid_t
m_DataspaceId
;
41
};
42
43
#endif // CCTWINPUTDATAH5_H
CctwObject
Definition:
cctwobject.h:9
CctwInputDataH5::m_DataspaceId
hid_t m_DataspaceId
Definition:
cctwinputdatah5.h:40
CctwInputDataH5::m_FileId
hid_t m_FileId
Definition:
cctwinputdatah5.h:38
CctwObject::name
QString name
Definition:
cctwobject.h:32
CctwInputDataH5::readChunk
QVector< double > readChunk(int ix, int iy, int iz, int nx, int ny, int nz)
Definition:
cctwinputdatah5.cpp:129
cctwvector3d.h
CctwInputDataH5::m_InputFilePath
QString m_InputFilePath
Definition:
cctwinputdatah5.h:36
CctwInputDataH5
Definition:
cctwinputdatah5.h:8
CctwInputDataH5::readData
virtual double readData(int dx, int dy, int dz)
Definition:
cctwinputdatah5.cpp:89
CctwInputDataH5::chunkSize
CctwIntVector3D chunkSize() const
Definition:
cctwinputdatah5.cpp:183
CctwInputDataH5::dimensions
CctwIntVector3D dimensions() const
Definition:
cctwinputdatah5.cpp:178
CctwInputDataH5::setChunkSize
void setChunkSize(CctwIntVector3D cksz)
Definition:
cctwinputdatah5.cpp:173
cctwobject.h
CctwInputDataH5::m_DatasetName
QString m_DatasetName
Definition:
cctwinputdatah5.h:37
CctwVector3D< int >
CctwInputDataH5::CctwInputDataH5
CctwInputDataH5(QString filePath, QString datasetName, QString name, CctwObject *parent)
Definition:
cctwinputdatah5.cpp:4
CctwInputDataH5::m_DatasetId
hid_t m_DatasetId
Definition:
cctwinputdatah5.h:39
CctwInputDataH5::m_ChunkSize
CctwIntVector3D m_ChunkSize
Definition:
cctwinputdatah5.h:35
CctwInputDataH5::setDimensions
void setDimensions(CctwIntVector3D dims)
Definition:
cctwinputdatah5.cpp:168
CctwInputDataH5::openInputFile
bool openInputFile()
Definition:
cctwinputdatah5.cpp:15
CctwInputDataH5::m_Dimensions
CctwIntVector3D m_Dimensions
Definition:
cctwinputdatah5.h:34
Generated on Thu Mar 17 2016 15:17:35 for cctw by
1.8.10