openModeller
Version 1.5.0
Main Page
Modules
Classes
Files
File List
File Members
ScaleNormalizer.hh
Go to the documentation of this file.
1
27
#ifndef _SCALENORMALIZER_HH
28
#define _SCALENORMALIZER_HH
29
30
#include <
openmodeller/Normalizer.hh
>
31
32
class
dllexp
ScaleNormalizer
:
public
Normalizer
{
33
34
public
:
35
36
friend
class
test_ScaleNormalizer;
37
38
// Used only during deserialization
39
ScaleNormalizer
();
40
41
ScaleNormalizer
(
Scalar
min
,
Scalar
max,
bool
useLayerAsRef );
42
43
~
ScaleNormalizer
();
44
45
void
computeNormalization
(
const
ReferenceCountedPointer<const SamplerImpl>
& samplerPtr );
46
47
void
normalize
(
Sample
* samplePtr );
48
49
Normalizer
*
getCopy
();
50
51
ConfigurationPtr
getConfiguration
()
const
;
52
53
void
setConfiguration
(
const
ConstConfigurationPtr
& );
54
55
private
:
56
57
Scalar
_min
;
58
Scalar
_max
;
59
bool
_use_layer_as_ref
;
60
Sample
_offsets
;
61
Sample
_scales
;
62
63
};
64
65
#endif
ScaleNormalizer::_offsets
Sample _offsets
Definition:
ScaleNormalizer.hh:60
ScaleNormalizer::_scales
Sample _scales
Definition:
ScaleNormalizer.hh:61
Normalizer
Definition:
Normalizer.hh:37
Scalar
double Scalar
Type of map values.
Definition:
om_defs.hh:39
Configurable::getConfiguration
virtual ConfigurationPtr getConfiguration() const =0
ReferenceCountedPointer
Definition:
refcount.hh:72
ScaleNormalizer::_max
Scalar _max
Definition:
ScaleNormalizer.hh:58
Normalizer::normalize
virtual void normalize(Sample *samplePtr)=0
ScaleNormalizer::_min
Scalar _min
Definition:
ScaleNormalizer.hh:57
Configurable::setConfiguration
virtual void setConfiguration(const ConstConfigurationPtr &)=0
ScaleNormalizer
Definition:
ScaleNormalizer.hh:32
Normalizer.hh
Normalizer::computeNormalization
virtual void computeNormalization(const ReferenceCountedPointer< const SamplerImpl > &samplerPtr)=0
min
int min(int v1, int v2)
Definition:
rules_base.cpp:56
Normalizer::getCopy
virtual Normalizer * getCopy()=0
Sample
Definition:
Sample.hh:25
ScaleNormalizer::_use_layer_as_ref
bool _use_layer_as_ref
Definition:
ScaleNormalizer.hh:59
src
openmodeller
ScaleNormalizer.hh
Generated on Thu Jan 8 2015 17:05:10 for openModeller by
1.8.6