OpenStructure
build-dev-doc
stage
include
ost
img
image_state
image_state_factory.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-2020 by the OpenStructure authors
5
// Copyright (C) 2003-2010 by the IPLT authors
6
//
7
// This library is free software; you can redistribute it and/or modify it under
8
// the terms of the GNU Lesser General Public License as published by the Free
9
// Software Foundation; either version 3.0 of the License, or (at your option)
10
// any later version.
11
// This library is distributed in the hope that it will be useful, but WITHOUT
12
// ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
13
// FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
14
// details.
15
//
16
// You should have received a copy of the GNU Lesser General Public License
17
// along with this library; if not, write to the Free Software Foundation, Inc.,
18
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
19
//------------------------------------------------------------------------------
20
21
/*
22
image state factory
23
24
Author: Ansgar Philippsen
25
*/
26
27
#ifndef IMG_IMAGE_STATE_FACTORY_H
28
#define IMG_IMAGE_STATE_FACTORY_H
29
30
#include <
ost/img/data_types.hh
>
31
#include <
ost/img/extent.hh
>
32
#include "
image_state_base_fw.hh
"
33
34
namespace
ost
{
namespace
img {
namespace
image_state {
35
36
// state factory
37
DLLEXPORT_OST_IMG_BASE
ImageStateBasePtr
CreateState
(
const
Extent
&e,
DataType
type,
DataDomain
dom);
38
39
}}}
// namespaces
40
41
#endif
42
ost::img::Extent
Defines lower and upper valid indices.
Definition:
extent.hh:60
data_types.hh
extent.hh
image_state_base_fw.hh
DLLEXPORT_OST_IMG_BASE
#define DLLEXPORT_OST_IMG_BASE
Definition:
module_config.hh:33
ost::img::image_state::ImageStateBasePtr
boost::shared_ptr< ImageStateBase > ImageStateBasePtr
Definition:
image_state_base_fw.hh:32
ost::img::image_state::CreateState
DLLEXPORT_OST_IMG_BASE ImageStateBasePtr CreateState(const Extent &e, DataType type, DataDomain dom)
ost::img::DataDomain
DataDomain
underlying data type
Definition:
data_types.hh:42
ost::img::DataType
DataType
Definition:
data_types.hh:37
ost
Definition:
base.dox:1
Generated by
1.9.1