Hugintrunk  0.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Types | Public Member Functions | Private Attributes | List of all members
HuginBase::LimitIntensity Class Reference

class for storing the limits of an image used by the sampler to exclude too dark or too bright pixel More...

#include <PointSampler.h>

Public Types

enum  LimitType { LIMIT_UINT8, LIMIT_UINT16, LIMIT_FLOAT }
 some pre-defined limits More...
 

Public Member Functions

 LimitIntensity ()
 default constructor, is identical to LimitIntensity(LIMIT_FLOAT) More...
 
 LimitIntensity (LimitType limit)
 constructor, populuate with values matching the image type More...
 
const float GetMinI () const
 return the lower limit More...
 
const float GetMaxI () const
 return the upper limit More...
 

Private Attributes

float m_minI
 internal stored limits More...
 
float m_maxI
 

Detailed Description

class for storing the limits of an image used by the sampler to exclude too dark or too bright pixel

Definition at line 44 of file PointSampler.h.

Member Enumeration Documentation

some pre-defined limits

Enumerator
LIMIT_UINT8 
LIMIT_UINT16 
LIMIT_FLOAT 

Definition at line 48 of file PointSampler.h.

Constructor & Destructor Documentation

HuginBase::LimitIntensity::LimitIntensity ( )

default constructor, is identical to LimitIntensity(LIMIT_FLOAT)

default constructor with float limits

Definition at line 35 of file PointSampler.cpp.

References m_maxI, and m_minI.

HuginBase::LimitIntensity::LimitIntensity ( LimitIntensity::LimitType  limit)

constructor, populuate with values matching the image type

constructor with limits for some usual image type

Definition at line 42 of file PointSampler.cpp.

References LIMIT_FLOAT, LIMIT_UINT16, LIMIT_UINT8, m_maxI, and m_minI.

Member Function Documentation

const float HuginBase::LimitIntensity::GetMaxI ( ) const
inline

return the upper limit

Definition at line 58 of file PointSampler.h.

const float HuginBase::LimitIntensity::GetMinI ( ) const
inline

return the lower limit

Definition at line 54 of file PointSampler.h.

Member Data Documentation

float HuginBase::LimitIntensity::m_maxI
private

Definition at line 63 of file PointSampler.h.

Referenced by LimitIntensity().

float HuginBase::LimitIntensity::m_minI
private

internal stored limits

Definition at line 63 of file PointSampler.h.

Referenced by LimitIntensity().


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