OpenStructure
Main Page
Related Pages
Modules
Namespaces
Data Structures
Files
Examples
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
stage
include
ost
info
geom_info_conversion.hh
Go to the documentation of this file.
1
//------------------------------------------------------------------------------
2
// This file is part of the OpenStructure project <www.openstructure.org>
3
//
4
// Copyright (C) 2008-2011 by the OpenStructure authors
5
//
6
// This library is free software; you can redistribute it and/or modify it under
7
// the terms of the GNU Lesser General Public License as published by the Free
8
// Software Foundation; either version 3.0 of the License, or (at your option)
9
// any later version.
10
// This library is distributed in the hope that it will be useful, but WITHOUT
11
// ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
12
// FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
13
// details.
14
//
15
// You should have received a copy of the GNU Lesser General Public License
16
// along with this library; if not, write to the Free Software Foundation, Inc.,
17
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
18
//------------------------------------------------------------------------------
19
#ifndef OST_INFO_GEOM_INFO_CONVERSION_HH
20
#define OST_INFO_GEOM_INFO_CONVERSION_HH
21
22
/*
23
A variety of info conversion routines for classes of the geom module.
24
25
Author: Marco Biasini
26
*/
27
28
#include <
ost/geom/geom.hh
>
29
30
#include <
ost/info/module_config.hh
>
31
#include <
ost/info/info_fw.hh
>
32
33
34
namespace
ost {
namespace
info {
35
36
38
39
40
void
DLLEXPORT_OST_INFO
Mat2ToInfo
(
const
geom::Mat2
& mat,
InfoGroup
& group);
41
43
geom::Mat2
DLLEXPORT_OST_INFO
Mat2FromInfo
(
const
InfoGroup
& group);
44
46
void
DLLEXPORT_OST_INFO
Mat3ToInfo
(
const
geom::Mat3
& mat,
InfoGroup
& group);
47
49
geom::Mat3
DLLEXPORT_OST_INFO
Mat3FromInfo
(
const
InfoGroup
& group);
50
52
void
DLLEXPORT_OST_INFO
Mat4ToInfo
(
const
geom::Mat4
& mat,
InfoGroup
& group);
53
55
geom::Mat4
DLLEXPORT_OST_INFO
Mat4FromInfo
(
const
InfoGroup
& group);
56
59
geom::Transform
DLLEXPORT_OST_INFO
TransformFromInfo(
const
info::InfoGroup
& group);
62
void
DLLEXPORT_OST_INFO
TransformToInfo(
const
geom::Transform
& transform,
63
info::InfoGroup
& group);
64
66
}}
67
68
#endif
Generated on Mon Nov 11 2013 09:56:12 for OpenStructure by
1.8.1.1