openModeller  Version 1.4.0
ScaleNormalizer Class Reference

#include <ScaleNormalizer.hh>

Inheritance diagram for ScaleNormalizer:
Collaboration diagram for ScaleNormalizer:

List of all members.

Public Member Functions

 ScaleNormalizer ()
 ScaleNormalizer (Scalar min, Scalar max, bool useLayerAsRef)
 ~ScaleNormalizer ()
void computeNormalization (const ReferenceCountedPointer< const SamplerImpl > &samplerPtr)
void normalize (Sample *samplePtr)
NormalizergetCopy ()
ConfigurationPtr getConfiguration () const
void setConfiguration (const ConstConfigurationPtr &)

Private Attributes

Scalar _min
Scalar _max
bool _use_layer_as_ref
Sample _offsets
Sample _scales

Friends

class test_ScaleNormalizer

Detailed Description

Declaration of ScaleNormalizer class

Author:
Renato De Giovanni
Id:
ScaleNormalizer.hh 3468 2007-08-02 18:11:26Z rdg

LICENSE INFORMATION

Copyright(c) 2007 by CRIA - Centro de Referencia em Informacao Ambiental

http://www.cria.org.br

This program 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 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details:

http://www.gnu.org/copyleft/gpl.html

Definition at line 32 of file ScaleNormalizer.hh.


Constructor & Destructor Documentation

Definition at line 46 of file ScaleNormalizer.cpp.

Referenced by getCopy().

ScaleNormalizer::ScaleNormalizer ( Scalar  min,
Scalar  max,
bool  useLayerAsRef 
)

Definition at line 35 of file ScaleNormalizer.cpp.

Definition at line 57 of file ScaleNormalizer.cpp.


Member Function Documentation

Implements Configurable.

Definition at line 136 of file ScaleNormalizer.cpp.

References _max, _min, _offsets, _scales, and _use_layer_as_ref.

Implements Normalizer.

Definition at line 61 of file ScaleNormalizer.cpp.

References ScaleNormalizer().

Here is the call graph for this function:

void ScaleNormalizer::normalize ( Sample samplePtr) [virtual]

Implements Normalizer.

Definition at line 125 of file ScaleNormalizer.cpp.

References _offsets, _scales, and Sample::size().

Here is the call graph for this function:

void ScaleNormalizer::setConfiguration ( const ConstConfigurationPtr config) [virtual]

Implements Configurable.

Definition at line 157 of file ScaleNormalizer.cpp.

References _max, _min, _offsets, _scales, and _use_layer_as_ref.


Friends And Related Function Documentation

friend class test_ScaleNormalizer [friend]

Definition at line 36 of file ScaleNormalizer.hh.


Member Data Documentation


The documentation for this class was generated from the following files: