-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathtruss3dreader.h
52 lines (43 loc) · 1.33 KB
/
truss3dreader.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
/****************************************************************************
** Copyright (C) 2017 Ivan Assing da Silva
** Contact: [email protected]
**
** This file is part of the FEA_MNE772 project.
**
** This file is free software; you can redistribute it and/or modify
** it under the terms of the GNU General Public License as published by
** the Free Software Foundation; either version 3 of the License, or
** (at your option) any later version.
**
** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
**
****************************************************************************/
#ifndef TRUSS3DREADER_H
#define TRUSS3DREADER_H
#include <QIcon>
#include <QXmlStreamReader>
#include "truss3d.h"
#include "truss3dfilemanager.h"
///
/// \brief The Truss3DReader class
///
class Truss3DReader
{
public:
Truss3DReader(Truss3D *parent);
Truss3D *mesh;
Truss3D* read(Truss3DFileManager *file);
QString errorString() const;
private:
void readXML();
void readBoundaryConditions(void);
void readLoading(void);
void readDisplacements(void);
void readMaterials(void);
void readNodes(void);
void readElements(void);
QXmlStreamReader xml;
};
//! [0]
#endif