BIAS::Debug Class Reference
[Utilities]

#include <Base/Debug/Debug.hh>

Inherited by BIAS::BSplineCurve, BIAS::CamPoseCalib, BIAS::ColorHarris, BIAS::ColorSegmentation, BIAS::Condensation, BIAS::Conic2D, BIAS::ContourBSplineData, BIAS::ContourDetectorBase< StorageType >, BIAS::CornerDetectorBase< StorageType >, BIAS::CScommBase, BIAS::DC_GPS, BIAS::DC_inertial, BIAS::DC_ptu, BIAS::DPPanTiltControl, BIAS::EpipolarLine, BIAS::ExampleDebug, BIAS::ExtendedKalman, BIAS::FFT, BIAS::FilterBase< InputStorageType, OutputStorageType >, BIAS::FilterMask, BIAS::FMatrix, BIAS::FMatrixEstimation, BIAS::GaussHelmert, BIAS::GuiBase, BIAS::Histogram1D< T >, BIAS::ImageAlignment, BIAS::ImageAttributes, BIAS::ImageBase, BIAS::ImageBlender, BIAS::ImageCanvas, BIAS::ImageConvert [private], BIAS::Interpolator, BIAS::Kalman, BIAS::LeastSquaresBase, BIAS::MatchDataBase, BIAS::MDcam, BIAS::Median1D< DataType >, BIAS::MSAC< SolutionType > [virtual], 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::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< unsigned char, unsigned char >, myclass, myTestClass [private], BIAS::PyramidImage< InputStorageType >, 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 290 of file Debug.hh.


Constructor & Destructor Documentation

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

Definition at line 293 of file Debug.hh.

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

Definition at line 301 of file Debug.hh.

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

Definition at line 308 of file Debug.hh.


Member Function Documentation

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

Definition at line 354 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 513 of file Debug.hh.

References ABORT.

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

Definition at line 342 of file Debug.hh.

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

Definition at line 333 of file Debug.hh.

Referenced by BIAS::GenSynthMatches::_AddUniformDistributedOutliers(), 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::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 406 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 446 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 432 of file Debug.hh.

References _liDebugLevel, _liNextDebugLevel, _String2Debuglevel, and _zDebugStream.

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

Definition at line 375 of file Debug.hh.

References WS.

Referenced by main().

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

Definition at line 368 of file Debug.hh.

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

Definition at line 361 of file Debug.hh.

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

Definition at line 317 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 390 of file Debug.hh.

Referenced by main().

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

Definition at line 416 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 488 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 508 of file Debug.hh.

Referenced by operator=().

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

Definition at line 509 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 505 of file Debug.hh.


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

Generated on Tue Jan 6 01:10:41 2009 for Basic Image AlgorithmS Library by  doxygen 1.5.7.1