SourceXtractorPlusPlus
0.10
Please provide a description of the project.
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
SEFramework
SEFramework
Image
ImageBase.h
Go to the documentation of this file.
1
17
/*
18
* ImageBase.h
19
*
20
* Created on: Aug 31, 2017
21
* Author: mschefer
22
*/
23
24
#ifndef _SEFRAMEWORK_IMAGE_IMAGEBASE_H_
25
#define _SEFRAMEWORK_IMAGE_IMAGEBASE_H_
26
27
28
#include "
SEFramework/Image/Image.h
"
29
#include "
SEFramework/Image/WriteableImage.h
"
30
#include "
SEFramework/Image/ImageChunk.h
"
31
32
namespace
SourceXtractor {
33
34
template
<
typename
T>
35
class
ImageBase
:
public
virtual
Image
<T>,
public
std::enable_shared_from_this
<ImageBase<T>> {
36
37
public
:
38
virtual
~ImageBase
() {}
39
40
virtual
std::shared_ptr<ImageChunk<T>
>
getChunk
(
int
x
,
int
y
,
int
width
,
int
height
)
const override
{
41
return
UniversalImageChunk<T>::create
(this->
shared_from_this
(), x, y, width, height);
42
}
43
44
};
45
46
}
47
48
49
50
#endif
/* _SEFRAMEWORK_IMAGE_IMAGEBASE_H_ */
std::shared_ptr
SourceXtractor::ImageBase
Definition:
ImageBase.h:35
std::enable_shared_from_this< ImageBase< T > >::shared_from_this
T shared_from_this(T...args)
x
std::shared_ptr< DependentParameter< std::shared_ptr< EngineParameter > > > x
Definition:
MoffatModelFittingTask.cpp:93
y
std::shared_ptr< DependentParameter< std::shared_ptr< EngineParameter > > > y
Definition:
MoffatModelFittingTask.cpp:93
WriteableImage.h
Image.h
SourceXtractor::UniversalImageChunk::create
static std::shared_ptr< UniversalImageChunk< T > > create(Args &&...args)
Definition:
ImageChunk.h:118
std::enable_shared_from_this
ImageChunk.h
ModelFitting::height
height
Definition:
CompactModelBase.icpp:16
SourceXtractor::Image
Interface representing an image.
Definition:
Image.h:43
ModelFitting::width
width
Definition:
CompactModelBase.icpp:16
SourceXtractor::ImageBase::getChunk
virtual std::shared_ptr< ImageChunk< T > > getChunk(int x, int y, int width, int height) const override
Definition:
ImageBase.h:40
SourceXtractor::ImageBase::~ImageBase
virtual ~ImageBase()
Definition:
ImageBase.h:38
Generated by
1.8.5