BIAS::Debug Class Reference
[Utilities]

#include <Base/Debug/Debug.hh>

Inherited by BIAS::BaseFactory< BaseClassType, TagType > [private], BIAS::BSplineCurve, BIAS::CamPoseCalib, BIAS::ColorHarris, BIAS::ColorSegmentation, BIAS::Condensation, BIAS::Conic2D, BIAS::ConstantRegionDetector< StorageType, CalculationType >, BIAS::ContourBSplineData, BIAS::ContourDetectorBase< StorageType >, BIAS::ControlInterface, BIAS::CornerDetectorBase< StorageType >, BIAS::CScommBase, BIAS::DC_GPS, BIAS::DC_inertial, BIAS::DC_ptu, BIAS::DeMosaicing< StorageType >, BIAS::DistortionRendering, BIAS::DPPanTiltControl, BIAS::EpipolarLine, BIAS::ExampleDebug, BIAS::ExtendedKalman, BIAS::FFT, BIAS::FilterBase< InputStorageType, OutputStorageType >, BIAS::FilterMask, BIAS::FMatrix, BIAS::FMatrixEstimation, BIAS::GaussHelmert, BIAS::GLProjectionOutputAttachment, BIAS::GLProjectionParametersBase, BIAS::GuiBase, BIAS::Histogram1D< T >, BIAS::ImageAlignment, BIAS::ImageAttributes, BIAS::ImageBase, BIAS::ImageBlender, BIAS::ImageCanvas, BIAS::ImageConvert [private], BIAS::Interpolator, BIAS::IselLinearControl, BIAS::Kalman, BIAS::LeastSquaresBase, BIAS::MatchDataBase, BIAS::MDcam, BIAS::Median1D< DataType >, BIAS::MSAC< SolutionType > [virtual], BIAS::OffscreenRendering, BIAS::Param, BIAS::PMatrixEstimation, BIAS::PMatrixLinear, BIAS::Polynom, BIAS::PolynomialSolve, BIAS::PreemptiveRANSAC< SolutionType > [virtual], BIAS::PyramidImage< StorageType >, BIAS::Random, BIAS::RANSAC< SolutionType > [virtual], BIAS::RegionMatcher, BIAS::ROI, BIAS::SceneBase, BIAS::SimilarityTransform, BIAS::SphericalUndistortion, BIAS::SVD, BIAS::ThreeDOut, BIAS::TimeStampGen, BIAS::Tracker< StorageType, CalculationType >, BIAS::TrackerBaseInterface< StorageType >, BIAS::Triangulation, BIAS::UDPServer, BIAS::UncertaintyTransformBase, BIAS::UUID, BIAS::VideoServer, BIAS::VideoShMFeeder, BIAS::VideoSource, BIAS::XMLIO, BIAS::FilterBase< CalculationType, CalculationType >, BIAS::FilterBase< float, float >, BIAS::FilterBase< InputST, OutputST >, BIAS::FilterBase< InputStorageType, InputStorageType >, BIAS::FilterBase< OutputST, OutputST >, BIAS::FilterBase< OutputStorageType, OutputStorageType >, BIAS::FilterBase< StorageType, CalculationType >, BIAS::FilterBase< StorageType, StorageType >, BIAS::FilterBase< unsigned char, unsigned char >, myclass, myTestClass [private], BIAS::PyramidImage< float >, BIAS::PyramidImage< InputStorageType >, BIAS::PyramidImage< unsigned char >, BIAS::RANSAC< BIAS::HomgPlane3D > [virtual], BIAS::RANSAC< double > [virtual], and BIAS::TrackerBaseInterface< CalculationType >.

List of all members.

Public Member Functions

void AddDebugLevel (const std::string &name)
void AddDebugLevel (const long int lv)
 Debug (const Debug &deb)
 Debug ()
bool DebugLevelIsSet (const std::string &name) const
bool DebugLevelIsSet (const long int lv) const
int GetDebugLevel () const
void GetDebugStream (std::ostream &os) const
std::ostream & GetDebugStream () const
long int Name2DebugLevel (const std::string &name) const
 looks up a debuglevel in the internal map, returns 0 if not found
long int NewDebugLevel (const std::string &name)
 creates a new debuglevel
Debugoperator= (const Debug &deb)
void PrintDebugLevel (std::ostream &os=std::cout) const
void RemoveDebugLevel (const std::string &name)
void RemoveDebugLevel (const long int lv)
void SetDebugLevel (const std::string &name)
void SetDebugLevel (const long int lv)
void SetDebugStream (const std::ostream &os)
void ShowDebugLevel (std::ostream &os=std::cout) const
 prints all internally known debuglevels
 ~Debug ()

Static Public Member Functions

static long int GetGlobalDebugLevel ()
static void SetGlobalDebugLevel (long int lev)

Protected Member Functions

long ConsumeNextFreeDebuglevel_ ()
 returns the next available debuglevel

Protected Attributes

long int _liDebugLevel
long int _liNextDebugLevel
 new concept, debuglevel are managed here in the debug class
std::map< std::string, long int > _String2Debuglevel

Static Protected Attributes

static std::ostream _zDebugStream
static long int GlobalDebugLevel = 0


Detailed Description

Definition at line 299 of file Debug.hh.


Constructor & Destructor Documentation

BIAS::Debug::Debug (  )  [inline]

Definition at line 302 of file Debug.hh.

BIAS::Debug::Debug ( const Debug deb  )  [inline]

Definition at line 310 of file Debug.hh.

BIAS::Debug::~Debug (  )  [inline]

Definition at line 317 of file Debug.hh.


Member Function Documentation

void BIAS::Debug::AddDebugLevel ( const std::string &  name  )  [inline]

Definition at line 363 of file Debug.hh.

void BIAS::Debug::AddDebugLevel ( const long int  lv  )  [inline]

long BIAS::Debug::ConsumeNextFreeDebuglevel_ (  )  [inline, protected]

returns the next available debuglevel

Author:
woelk 09/2006

Definition at line 522 of file Debug.hh.

References ABORT.

bool BIAS::Debug::DebugLevelIsSet ( const std::string &  name  )  const [inline]

Definition at line 351 of file Debug.hh.

bool BIAS::Debug::DebugLevelIsSet ( const long int  lv  )  const [inline]

Definition at line 342 of file Debug.hh.

Referenced by BIAS::GenSynthMatches::_AddUniformDistributedOutliers(), BIAS::Rescale< InputStorageType, OutputStorageType >::_ApplyMeanFilter(), BIAS::CornerDetectorGradient< StorageType, CalculationType >::_CalcCornerness(), BIAS::GaussThreshold< InputStorageType, OutputStorageType >::_CalculateKernels(), BIAS::Gauss< InputStorageType, OutputStorageType >::_CalculateKernels(), BIAS::LinearRegionDetector< StorageType, CalculationType >::_ComputeCornerness(), BIAS::CornerDetectorKLT< StorageType, CalculationType >::_ComputeCornerness(), BIAS::GenSynthMatches::_CreateCamMovement(), BIAS::GenSynthMatches::_CreateStatic2DPoints(), BIAS::Rescale< InputStorageType, OutputStorageType >::_FillInterpolated(), BIAS::Rescale< InputStorageType, OutputStorageType >::_FillInterpolatedColor(), BIAS::Rescale< InputStorageType, OutputStorageType >::_FillInterpolatedGrey(), BIAS::ImageBlender::BlendImages(), BIAS::StructureTensor< InputStorageType, OutputStorageType >::CalcStructureTensor(), BIAS::StructureTensor< InputStorageType, OutputStorageType >::CalcStructureTensor3x3(), BIAS::StructureTensor< InputStorageType, OutputStorageType >::CalcStructureTensor5x5(), BIAS::StructureTensor< InputStorageType, OutputStorageType >::CalcStructureTensor7x7(), BIAS::StructureTensor< InputStorageType, OutputStorageType >::CalcStructureTensorValid(), BIAS::UnscentedTransform::ComputeSigmaPoints_(), BIAS::Triangulation::CorrectCorrespondences(), BIAS::CornerDetectorGradient< StorageType, CalculationType >::Detect(), BIAS::Rescale< InputStorageType, OutputStorageType >::DownsampleBy2Color(), BIAS::Binomial< InputStorageType, OutputStorageType >::Filter3x3ValidGreyFloat(), BIAS::Binomial< InputStorageType, OutputStorageType >::Filter5x5ValidGreyFloat(), BIAS::Convolution< InputStorageType, OutputStorageType >::FilterFloat(), BIAS::Convolution< InputStorageType, OutputStorageType >::FilterInt(), BIAS::RANSAC< SolutionType >::GenerateSamplesRandom(), BIAS::GenSynthMatches::GetGTNormalizedF(), main(), BIAS::Tracker< StorageType, CalculationType >::PreparePyramide(), and BIAS::MonteCarloTransform::Transform().

int BIAS::Debug::GetDebugLevel (  )  const [inline]

void BIAS::Debug::GetDebugStream ( std::ostream &  os  )  const [inline]

Definition at line 415 of file Debug.hh.

std::ostream& BIAS::Debug::GetDebugStream (  )  const [inline]

static long int BIAS::Debug::GetGlobalDebugLevel (  )  [inline, static]

long int BIAS::Debug::Name2DebugLevel ( const std::string &  name  )  const [inline]

looks up a debuglevel in the internal map, returns 0 if not found

Author:
woelk 09/2006

Definition at line 455 of file Debug.hh.

References it.

long int BIAS::Debug::NewDebugLevel ( const std::string &  name  )  [inline]

Debug& BIAS::Debug::operator= ( const Debug deb  )  [inline]

Definition at line 441 of file Debug.hh.

References _liDebugLevel, _liNextDebugLevel, _String2Debuglevel, and _zDebugStream.

void BIAS::Debug::PrintDebugLevel ( std::ostream &  os = std::cout  )  const [inline]

Definition at line 384 of file Debug.hh.

References WS.

Referenced by main().

void BIAS::Debug::RemoveDebugLevel ( const std::string &  name  )  [inline]

Definition at line 377 of file Debug.hh.

void BIAS::Debug::RemoveDebugLevel ( const long int  lv  )  [inline]

Definition at line 370 of file Debug.hh.

void BIAS::Debug::SetDebugLevel ( const std::string &  name  )  [inline]

Definition at line 326 of file Debug.hh.

void BIAS::Debug::SetDebugLevel ( const long int  lv  )  [inline]

void BIAS::Debug::SetDebugStream ( const std::ostream &  os  )  [inline]

Definition at line 399 of file Debug.hh.

Referenced by main().

static void BIAS::Debug::SetGlobalDebugLevel ( long int  lev  )  [inline, static]

Definition at line 425 of file Debug.hh.

Referenced by main().

void BIAS::Debug::ShowDebugLevel ( std::ostream &  os = std::cout  )  const [inline]

prints all internally known debuglevels

Author:
woelk 09/2006

Definition at line 497 of file Debug.hh.

References it.

Referenced by main().


Member Data Documentation

long int BIAS::Debug::_liDebugLevel [protected]

long int BIAS::Debug::_liNextDebugLevel [protected]

new concept, debuglevel are managed here in the debug class

Definition at line 517 of file Debug.hh.

Referenced by operator=().

std::map<std::string, long int> BIAS::Debug::_String2Debuglevel [protected]

Definition at line 518 of file Debug.hh.

Referenced by operator=().

std::ostream BIAS::Debug::_zDebugStream [static, protected]

long int BIAS::Debug::GlobalDebugLevel = 0 [static, protected]

Definition at line 514 of file Debug.hh.


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

Generated on Wed Oct 14 01:42:09 2009 for Basic Image AlgorithmS Library by  doxygen 1.5.6