ViSP  2.9.0

Classes

class  vpTraceOutput
 

Macros

#define vpIN_FCT   (vpTraceOutput(__FILE__,__LINE__, __FUNCTION__, false, "begin "))
 
#define vpOUT_FCT   (vpTraceOutput(__FILE__,__LINE__, __FUNCTION__, false, "end "))
 
#define vpCTRACE   std::cout << "(L0) " << __FILE__ << ": " << __FUNCTION__ << "(#" << __LINE__ << ") : "
 
#define vpCERROR   std::cerr << "(L0) " << "!!\t" << __FILE__ << ": " << __FUNCTION__ << "(#" << __LINE__ << ") : "
 
#define vpERROR_TRACE   (vpTraceOutput( __FILE__,__LINE__, __FUNCTION__, true))
 
#define vpTRACE   (vpTraceOutput( __FILE__,__LINE__, __FUNCTION__, false))
 
#define vpDERROR_TRACE   (vpTraceOutput( __FILE__,__LINE__, __FUNCTION__, true))
 
#define vpDEBUG_TRACE   (vpTraceOutput( __FILE__,__LINE__, __FUNCTION__, false))
 
#define vpCDEBUG(level)
 
#define vpDEBUG_ENABLE(level)   (VP_DEBUG_MODE >= level)
 

Detailed Description

Macro Definition Documentation

#define vpCDEBUG (   level)
Value:
if (VP_DEBUG_MODE < level) ; else \
std::cout << "(L" << level << ") "<< __FILE__ << ": " << __FUNCTION__ << "(#" << __LINE__ << ") : "

vpCDEBUG(level) work like the C++ output stream std::cout.

1 #define VP_DEBUG // Activate the debug mode
2 #define VP_DEBUG_MODE 2 // Activate debug level 1 and 2
3 
4 #include <visp/vpDebug.h>
5 
6 int main()
7 {
8  // C++-like debug printings
9  vpCTRACE << "C++-like trace" << std::endl; // stdout
10  vpCERROR << "C++-like error trace" << std::endl; // stderr
11 
12  // Printing if VP_DEBUG defined and VP_DEBUG_MODE value >= 2
13  vpCDEBUG(2) << "C++-like debug trace level 2" << std::endl; // stdout
14 }
See also
vpCTRACE(), vpCERROR()
Examples:
tutorial-trace.cpp.

Definition at line 506 of file vpDebug.h.

Referenced by vpPtu46::computeMGD(), vpBiclops::computeMGD(), vpBiclops::get_fMc(), vpRobotBiclopsController::getPosition(), vpRobotBiclops::getPosition(), vpRobotBiclops::getVelocity(), vpMeEllipse::initTracking(), vpMeLine::initTracking(), vpMeLine::leastSquare(), vpRobust::MEstimator(), vpMatrix::resize(), vpMeLine::sample(), vpMeLine::seekExtremities(), vpRobotBiclopsController::setPosition(), vpRobotPtu46::setVelocity(), vpRobotBiclops::setVelocity(), vpRobust::simultMEstimator(), vpHinkley::testDownUpwardJump(), vpHinkley::testDownwardJump(), vpHinkley::testUpwardJump(), vpMeEllipse::track(), vpMeLine::track(), vpMeEllipse::vpMeEllipse(), vpRobust::vpRobust(), and vpMeEllipse::~vpMeEllipse().

#define vpCERROR   std::cerr << "(L0) " << "!!\t" << __FILE__ << ": " << __FUNCTION__ << "(#" << __LINE__ << ") : "

Used to display error messages on the error stream (C++). Use like this : vpCERROR<<"my message"<<std::endl;

1 #define VP_TRACE // To activate trace mode
2 #define VP_DEBUG // To activate the debug mode
3 #define VP_DEBUG_MODE 2 // To activate debug level 1 and 2
4 
5 #include <visp/vpDebug.h>
6 
7 int main()
8 {
9  // C++-like debug printings
10  vpCTRACE << "C++-like trace" << std::endl; // stdout
11  vpCERROR << "C++-like error trace" << std::endl; // stderr
12 
13  // Printing if VP_DEBUG defined and VP_DEBUG_MODE value >= 2
14  vpCDEBUG(2) << "C++-like debug trace level 2" << std::endl; // stdout
15 }
See also
vpCTRACE(), vpCDEBUG()
Examples:
test1394TwoGrabber.cpp, test1394TwoResetBus.cpp, and tutorial-trace.cpp.

Definition at line 369 of file vpDebug.h.

Referenced by vpMatrix::AAt(), vpMatrix::AtA(), vp1394TwoGrabber::colorCoding2string(), vpFeatureBuilder::create(), vpMatrix::createDiagonalMatrix(), vpMatrix::diag(), vpMatrix::eye(), vp1394TwoGrabber::framerate2string(), vpRobotBiclops::init(), vpMatrix::insert(), vpMatrix::juxtaposeMatrices(), vpMatrix::operator/(), vpRobotBiclops::setRobotState(), vpMatrix::stackColumns(), vpMatrix::stackMatrices(), vpMatrix::stackRows(), vpMatrix::t(), vpMatrix::transpose(), vp1394TwoGrabber::videoMode2string(), vpImageIo::write(), and vpRobotBiclops::~vpRobotBiclops().

#define vpCTRACE   std::cout << "(L0) " << __FILE__ << ": " << __FUNCTION__ << "(#" << __LINE__ << ") : "

Used to display trace messages on the standard stream (C++). Use like this : vpCTRACE<<"my message"<<std::endl;

1 #define VP_TRACE // To activate trace mode
2 #define VP_DEBUG // To activate the debug mode
3 #define VP_DEBUG_MODE 2 // To activate debug level 1 and 2
4 
5 #include <visp/vpDebug.h>
6 
7 int main()
8 {
9  // C++-like debug printings
10  vpCTRACE << "C++-like trace" << std::endl; // stdout
11  vpCERROR << "C++-like error trace" << std::endl; // stderr
12 
13  // Printing if VP_DEBUG defined and VP_DEBUG_MODE value >= 2
14  vpCDEBUG(2) << "C++-like debug trace level 2" << std::endl; // stdout
15 }
See also
vpTRACE(), vpCERROR(), vpCDEBUG()
Examples:
AROgre.cpp, AROgreBasic.cpp, fernClassifier.cpp, grabDirectShow.cpp, grabOpenCV.cpp, keyPointSurf.cpp, moveBiclops.cpp, movePtu46.cpp, planarObjectDetector.cpp, testClick.cpp, testConversion.cpp, testMatrix.cpp, testSurfKeyPoint.cpp, testTrackDot.cpp, testVideoDevice.cpp, trackDot.cpp, trackDot2.cpp, trackDot2WithAutoDetection.cpp, trackKltOpencv.cpp, trackMeCircle.cpp, trackMeEllipse.cpp, trackMeLine.cpp, and tutorial-trace.cpp.

Definition at line 341 of file vpDebug.h.

Referenced by vp1394TwoGrabber::getNumCameras().

#define vpDEBUG_ENABLE (   level)    (VP_DEBUG_MODE >= level)

vpDEBUG_ENABLE(level) is equal to 1 if the debug level level is greater than the debug mode VP_DEBUG_MODE, 0 else.

1 #define VP_DEBUG // Activate the debug mode
2 #define VP_DEBUG_MODE 2 // Activate debug level 1 and 2
3 
4 #include <visp/vpDebug.h>
5 
6 int main()
7 {
8  // Check the active debug levels
9  std::cout << "Debug level 1 active: " << vpDEBUG_ENABLE(1) << std::endl;
10  std::cout << "Debug level 2 active: " << vpDEBUG_ENABLE(2) << std::endl;
11  std::cout << "Debug level 3 active: " << vpDEBUG_ENABLE(3) << std::endl;
12 }
Examples:
tutorial-trace.cpp.

Definition at line 530 of file vpDebug.h.

Referenced by vpMeLine::computeRhoTheta(), vpMeLine::sample(), vpMeNurbs::seekExtremities(), vpMeLine::seekExtremities(), vpMeEllipse::track(), and vpMeLine::track().

#define vpDEBUG_TRACE   (vpTraceOutput( __FILE__,__LINE__, __FUNCTION__, false))

vpDEBUG_TRACE works like printf, but prints only if the tracing level level is greater than the debug level VP_DEBUG_MODE.

1 #define VP_DEBUG // Activate the debug mode
2 #define VP_DEBUG_MODE 2 // Activate debug level 1 and 2
3 
4 #include <visp/vpDebug.h>
5 
6 int main()
7 {
8  // Printing if VP_DEBUG defined and VP_DEBUG_MODE value >= 2
9  vpDEBUG_TRACE(2, "C-like debug trace level 2"); // stdout
10  vpDERROR_TRACE(2, "C-like error trace level 2"); // stderr
11 }
See also
vpDERROR_TRACE()
Examples:
servoPtu46Point2DArtVelocity.cpp, and tutorial-trace.cpp.

Definition at line 482 of file vpDebug.h.

Referenced by vpDiskGrabber::acquire(), vpServo::computeError(), vpPose::coplanar(), vpGenericFeature::error(), vpRobotBiclopsController::getPosition(), vpRobotPtu46::getPosition(), vpRobotBiclops::getPosition(), vpRobotBiclops::getVelocity(), vpRobotBiclopsController::init(), vpRobotPtu46::init(), vpImage< Type >::init(), vpDisplayX::init(), vpAdaptiveGain::initFromConstant(), vpAdaptiveGain::initFromVoid(), vpAdaptiveGain::initStandard(), vpAdaptiveGain::limitValue(), vpAdaptiveGain::limitValue_const(), vpIoTools::makeDirectory(), vpDiskGrabber::open(), vpRobotBiclopsController::readShm(), vpMatrix::resize(), vpAdaptiveGain::setConstant(), vpDiskGrabber::setImageNumber(), vpRobotBiclopsController::setPosition(), vpRobotBiclops::setPosition(), vpRobotPtu46::setRobotState(), vpRobotBiclops::setRobotState(), vpRobotPtu46::setVelocity(), vpRobotBiclops::setVelocity(), vpAdaptiveGain::value(), vpAdaptiveGain::value_const(), vpAdaptiveGain::vpAdaptiveGain(), vpRobotBiclops::vpRobotBiclops(), vpRobotBiclops::vpRobotBiclopsSpeedControlLoop(), vpRobotPtu46::vpRobotPtu46(), vpRobotBiclopsController::writeShm(), vpImageConvert::YCbCrToRGB(), vpImageConvert::YCbCrToRGBa(), vpImageConvert::YCrCbToRGB(), vpImageConvert::YCrCbToRGBa(), and vpRobotBiclops::~vpRobotBiclops().

#define vpDERROR_TRACE   (vpTraceOutput( __FILE__,__LINE__, __FUNCTION__, true))

vpDERROR_TRACE works like printf, but prints only if the tracing level is smaller than the debug level VP_DEBUG_MODE.

1 #define VP_DEBUG // Activate the debug mode
2 #define VP_DEBUG_MODE 2 // Activate debug level 1 and 2
3 
4 #include <visp/vpDebug.h>
5 
6 int main()
7 {
8  // Printing if VP_DEBUG defined and VP_DEBUG_MODE value >= 2
9  vpDEBUG_TRACE(2, "C-like debug trace level 2"); // stdout
10  vpDERROR_TRACE(2, "C-like error trace level 2"); // stderr
11 }
See also
vpDEBUG_TRACE()
Examples:
tutorial-trace.cpp.

Definition at line 459 of file vpDebug.h.

Referenced by vpMeTracker::initTracking(), vpMeLine::reSample(), vpMeLine::sample(), vpMeLine::seekExtremities(), and vpMeTracker::track().

#define vpERROR_TRACE   (vpTraceOutput( __FILE__,__LINE__, __FUNCTION__, true))

Used to display error messages on the error stream. Prints the name of the file, the function name and the line where it was used. Use like this : vpERROR_TRACE("my error message number %d", i); with any "printf" string.

1 #define VP_TRACE // To activate trace mode
2 #define VP_DEBUG_MODE 2 // Activate debug level 1 and 2
3 
4 #include <visp/vpDebug.h>
5 
6 int main()
7 {
8  // Printing depend only VP_DEBUG_MODE value is >= 1
9  vpTRACE(1, "C-like trace level 1"); // stdout
10  vpERROR_TRACE(1, "C-like error trace level 1"); // stderr
11 }
See also
vpTRACE()
Examples:
AROgre.cpp, AROgreBasic.cpp, displayD3D.cpp, displayGTK.cpp, displayOpenCV.cpp, displaySequence.cpp, displayX.cpp, displayXMulti.cpp, fernClassifier.cpp, grabDisk.cpp, keyPointSurf.cpp, moveAfma4.cpp, moveBiclops.cpp, movePtu46.cpp, Nurbs.cpp, planarObjectDetector.cpp, poseVirtualVS.cpp, servoAfma4Point2DArtVelocity.cpp, servoAfma4Point2DCamVelocity.cpp, servoAfma4Point2DCamVelocityKalman.cpp, servoAfma62DhalfCamVelocity.cpp, servoAfma6Cylinder2DCamVelocity.cpp, servoAfma6Cylinder2DCamVelocitySecondaryTask.cpp, servoAfma6Ellipse2DCamVelocity.cpp, servoAfma6FourPoints2DArtVelocity.cpp, servoAfma6FourPoints2DCamVelocityInteractionCurrent.cpp, servoAfma6FourPoints2DCamVelocityInteractionDesired.cpp, servoAfma6Line2DCamVelocity.cpp, servoAfma6Point2DArtVelocity.cpp, servoAfma6Point2DCamVelocity.cpp, servoAfma6Points2DCamVelocityEyeToHand.cpp, servoAfma6Segment2DCamVelocity.cpp, servoAfma6SquareLines2DCamVelocity.cpp, servoAfma6TwoLines2DCamVelocity.cpp, servoBiclopsPoint2DArtVelocity.cpp, servoPtu46Point2DArtVelocity.cpp, servoSimu4Points.cpp, servoSimuAfma6FourPoints2DCamVelocity.cpp, servoSimuCircle2DCamVelocityDisplay.cpp, servoSimuCylinder.cpp, servoSimuCylinder2DCamVelocityDisplay.cpp, servoSimuCylinder2DCamVelocityDisplaySecondaryTask.cpp, servoSimuFourPoints2DPolarCamVelocityDisplay.cpp, servoSimuLine2DCamVelocityDisplay.cpp, servoSimuSphere.cpp, servoSimuSquareLine2DCamVelocityDisplay.cpp, servoSimuViper850FourPoints2DCamVelocity.cpp, servoViper650FourPoints2DArtVelocityInteractionCurrent.cpp, servoViper650FourPoints2DCamVelocityInteractionCurrent.cpp, servoViper650Point2DCamVelocity.cpp, servoViper850FourPoints2DArtVelocityInteractionCurrent.cpp, servoViper850FourPoints2DArtVelocityInteractionDesired.cpp, servoViper850FourPoints2DCamVelocityInteractionCurrent.cpp, servoViper850FourPointsKinect.cpp, servoViper850Point2DArtVelocity-jointAvoidance-basic.cpp, servoViper850Point2DArtVelocity-jointAvoidance-gpa.cpp, servoViper850Point2DArtVelocity.cpp, servoViper850Point2DCamVelocity.cpp, servoViper850Point2DCamVelocityKalman.cpp, testClick.cpp, testDisplays.cpp, testIoPPM.cpp, testMouseEvent.cpp, testSurfKeyPoint.cpp, testTrackDot.cpp, testVideoDevice.cpp, testVideoDeviceDual.cpp, trackDot.cpp, trackDot2.cpp, trackDot2WithAutoDetection.cpp, trackKltOpencv.cpp, trackMeCircle.cpp, trackMeEllipse.cpp, trackMeLine.cpp, trackMeNurbs.cpp, tutorial-trace.cpp, and wireframeSimulator.cpp.

Definition at line 395 of file vpDebug.h.

Referenced by vpMatrix::AAt(), vp1394CMUGrabber::acquire(), vp1394TwoGrabber::acquire(), vpMatrix::add2Matrices(), vpMatrix::add2WeightedMatrices(), vpKltOpencv::addFeature(), vpSimulator::addObject(), vpMatrix::AtA(), vpRobotViper650::biasForceTorqueSensor(), vpRobotViper850::biasForceTorqueSensor(), vpFeatureDepth::buildFrom(), vpFeaturePoint::buildFrom(), vpFeaturePoint3D::buildFrom(), vpFeaturePointPolar::buildFrom(), vpImageTools::changeLUT(), vpServer::checkForConnections(), vpRobotAfma6::checkJointLimits(), vpSubColVector::checkParentStatus(), vpSubRowVector::checkParentStatus(), vpSubMatrix::checkParentStatus(), vpDisplayX::clearDisplay(), vpVideoWriter::close(), vp1394CMUGrabber::close(), vp1394TwoGrabber::close(), vpDisplay::close(), vpRobotAfma6::closeGripper(), vpRobotViper850::closeGripper(), vpSimulatorAfma6::computeArticularVelocity(), vpSimulatorViper850::computeArticularVelocity(), vpCalibration::computeCalibrationTsai(), vpServo::computeControlLaw(), vpServo::computeError(), vpServo::computeInteractionMatrix(), vpPtu46::computeMGD(), vpPose::computePose(), vpMeLine::computeRhoTheta(), vpMbEdgeKltTracker::computeVVS(), vpMbEdgeTracker::computeVVS(), vpClient::connectToHostname(), vpClient::connectToIP(), vpPixelMeterConversion::convertLine(), vpMeterPixelConversion::convertLine(), vpPose::coplanar(), vpFeatureBuilder::create(), vpMatrix::createDiagonalMatrix(), vpColVector::crossProd(), vp1394TwoGrabber::dequeue(), vpMatrix::diag(), vpRobotViper650::disableJoint6Limits(), vpRobotViper850::disableJoint6Limits(), vpFeatureEllipse::display(), vpFeatureVanishingPoint::display(), vpFeatureLuminance::display(), vpKltOpencv::display(), vpGenericFeature::display(), vpFeatureDepth::display(), vpFeaturePoint::display(), vpFeatureLine::display(), vpFeaturePoint3D::display(), vpFeaturePointPolar::display(), vpFeatureThetaU::display(), vpFeatureTranslation::display(), vpDisplay::display(), vpDisplayOpenCV::displayArrow(), vpDisplayX::displayArrow(), vpDisplayGTK::displayArrow(), vpDisplay::displayArrow(), vpDisplayOpenCV::displayCharString(), vpDisplayX::displayCharString(), vpDisplayGTK::displayCharString(), vpDisplay::displayCharString(), vpDisplayOpenCV::displayCircle(), vpDisplayX::displayCircle(), vpDisplayGTK::displayCircle(), vpDisplay::displayCircle(), vpDisplayOpenCV::displayCross(), vpDisplayX::displayCross(), vpDisplayGTK::displayCross(), vpDisplay::displayCross(), vpFeatureDisplay::displayCylinder(), vpDisplayOpenCV::displayDotLine(), vpDisplayX::displayDotLine(), vpDisplayGTK::displayDotLine(), vpDisplay::displayDotLine(), vpFeatureDisplay::displayEllipse(), vpDisplayOpenCV::displayImage(), vpDisplayX::displayImage(), vpDisplayGTK::displayImage(), vpDisplayOpenCV::displayImageROI(), vpDisplayX::displayImageROI(), vpDisplayGTK::displayImageROI(), vpFeatureDisplay::displayLine(), vpDisplayOpenCV::displayLine(), vpDisplayX::displayLine(), vpDisplayGTK::displayLine(), vpDisplay::displayLine(), vpFeatureDisplay::displayPoint(), vpDisplayOpenCV::displayPoint(), vpDisplayX::displayPoint(), vpDisplayGTK::displayPoint(), vpDisplay::displayPoint(), vpDisplayOpenCV::displayRectangle(), vpDisplayX::displayRectangle(), vpDisplayGTK::displayRectangle(), vpDisplay::displayRectangle(), vpDisplay::displayROI(), vpHomography::DLT(), vpColVector::dotProd(), vpMatrix::eigenValues(), vpRobotViper650::enableJoint6Limits(), vpRobotViper850::enableJoint6Limits(), vp1394TwoGrabber::enqueue(), vpFeatureEllipse::error(), vpFeatureVanishingPoint::error(), vpGenericFeature::error(), vpFeatureDepth::error(), vpFeaturePoint::error(), vpFeatureLine::error(), vpFeaturePoint3D::error(), vpFeaturePointPolar::error(), vpFeatureThetaU::error(), vpFeatureTranslation::error(), vpMatrix::eye(), vpLinearKalmanFilterInstantiation::filter(), vpPose::findMatch(), vpDisplay::flush(), vpDisplayOpenCV::flushDisplay(), vpDisplayX::flushDisplay(), vpDisplayGTK::flushDisplay(), vpDisplayOpenCV::flushDisplayROI(), vpDisplayX::flushDisplayROI(), vpDisplayGTK::flushDisplayROI(), vpDisplay::flushROI(), vpRobotAfma4::get_cVf(), vpPtu46::get_eJe(), vpRobotPtu46::get_eJe(), vpRobotBiclops::get_eJe(), vpBiclops::get_eJe(), vpSimulatorAfma6::get_eJe(), vpSimulatorViper850::get_eJe(), vpRobotAfma4::get_eJe(), vpRobotAfma6::get_eJe(), vpRobotViper650::get_eJe(), vpRobotViper850::get_eJe(), vpPtu46::get_fJe(), vpRobotPtu46::get_fJe(), vpRobotBiclops::get_fJe(), vpBiclops::get_fJe(), vpSimulatorAfma6::get_fJe(), vpSimulatorViper850::get_fJe(), vpRobotAfma4::get_fJe(), vpRobotAfma6::get_fJe(), vpRobotViper650::get_fJe(), vpRobotViper850::get_fJe(), vpBiclops::get_fMe(), vpCameraParameters::get_K(), vpCameraParameters::get_K_inverse(), vpGenericFeature::get_s(), vp1394TwoGrabber::getAutoGain(), vp1394TwoGrabber::getAutoShutter(), vp1394TwoGrabber::getCamera(), vpViper650::getCameraParameters(), vpViper850::getCameraParameters(), vpAfma6::getCameraParameters(), vpSimulatorAfma6::getCameraParameters(), vpDisplayOpenCV::getClick(), vpDisplayX::getClick(), vpDisplayGTK::getClick(), vpDisplay::getClick(), vpDisplayOpenCV::getClickUp(), vpDisplayX::getClickUp(), vpDisplayGTK::getClickUp(), vpDisplay::getClickUp(), vp1394TwoGrabber::getColorCoding(), vp1394TwoGrabber::getColorCodingSupported(), vpKinect::getDepthMap(), vpRobotPtu46::getDisplacement(), vpRobotBiclops::getDisplacement(), vpRobotAfma4::getDisplacement(), vpRobotAfma6::getDisplacement(), vpRobotViper850::getDisplacement(), vpRobotViper650::getDisplacement(), vpIoTools::getenv(), vpKltOpencv::getFeature(), vpRobotViper650::getForceTorque(), vpRobotViper850::getForceTorque(), vpVideoReader::getFrame(), vp1394TwoGrabber::getFramerate(), vp1394TwoGrabber::getFramerateSupported(), vp1394TwoGrabber::getGuid(), vp1394TwoGrabber::getHeight(), vpDisplayX::getImage(), vpDisplayGTK::getImage(), vpDisplay::getImage(), vpDisplayX::getKeyboardEvent(), vpDisplayOpenCV::getKeyboardEvent(), vpDisplayGTK::getKeyboardEvent(), vpDisplay::getKeyboardEvent(), vp1394TwoGrabber::getParameterValue(), vpHistogram::getPeaks(), vpDisplayX::getPointerMotionEvent(), vpDisplayOpenCV::getPointerMotionEvent(), vpDisplayGTK::getPointerMotionEvent(), vpDisplay::getPointerMotionEvent(), vpDisplayX::getPointerPosition(), vpDisplayOpenCV::getPointerPosition(), vpDisplayGTK::getPointerPosition(), vpDisplay::getPointerPosition(), vpRobotPtu46::getPosition(), vpRobotBiclops::getPosition(), vpSimulatorAfma6::getPosition(), vpRobotAfma4::getPosition(), vpSimulatorViper850::getPosition(), vpRobotAfma6::getPosition(), vpRobotViper650::getPosition(), vpRobotViper850::getPosition(), vpRobotAfma4::getPowerState(), vpRobotAfma6::getPowerState(), vpRobotViper650::getPowerState(), vpRobotViper850::getPowerState(), vpKltOpencv::getPrevFeature(), vpNetwork::getReceptorIndex(), vpDisplayX::getScreenDepth(), vpDisplayX::getScreenSize(), vpIoTools::getUserName(), vpHistogram::getValey(), vpImage< unsigned char >::getValue(), vpImage< double >::getValue(), vpImage< vpRGBa >::getValue(), vpRobotPtu46::getVelocity(), vpRobotBiclops::getVelocity(), vpSimulatorAfma6::getVelocity(), vpSimulatorViper850::getVelocity(), vpRobotAfma4::getVelocity(), vpRobotAfma6::getVelocity(), vpRobotViper850::getVelocity(), vpRobotViper650::getVelocity(), vp1394TwoGrabber::getVideoMode(), vp1394TwoGrabber::getVideoModeSupported(), vp1394TwoGrabber::getWidth(), vpRotationMatrix::init(), vpSubColVector::init(), vpSubRowVector::init(), vpSubMatrix::init(), vpViper650::init(), vpViper850::init(), vpRobotBiclopsController::init(), vpVelocityTwistMatrix::init(), vpForceTwistMatrix::init(), vpRobotPtu46::init(), vpAfma6::init(), vpImage< Type >::init(), vpRobotBiclops::init(), vpDisplayWin32::init(), vpHomogeneousMatrix::init(), vpDisplayX::init(), vpDisplayOpenCV::init(), vpDisplayGTK::init(), vpCameraParameters::init(), vpRobotAfma4::init(), vpMatrix::init(), vpLinearKalmanFilterInstantiation::initFilter(), vpMbTracker::initFromPoints(), vpSimulatorAfma6::initialiseCameraRelativeToObject(), vpSimulatorViper850::initialiseCameraRelativeToObject(), vpCameraParameters::initPersProjWithDistortion(), vpCameraParameters::initPersProjWithoutDistortion(), vpWireFrameSimulator::initScene(), vpLinearKalmanFilterInstantiation::initStateConstAccWithColoredNoise_MeasureVel(), vpLinearKalmanFilterInstantiation::initStateConstVelWithColoredNoise_MeasureVel(), vpMeTracker::initTracking(), vpMeEllipse::initTracking(), vpMeLine::initTracking(), vpDot2::initTracking(), vpDot::initTracking(), vpMatrix::insert(), vpGenericFeature::interaction(), vpFeatureDepth::interaction(), vpFeaturePoint::interaction(), vpFeatureLine::interaction(), vpFeaturePointPolar::interaction(), vpMatrix::inverseByCholesky(), vpMatrix::inverseByLU(), vpMatrix::inverseByQR(), vpColVector::invSort(), vp1394TwoGrabber::isColorCodingSupported(), vp1394TwoGrabber::isFramerateSupported(), vp1394TwoGrabber::isVideoModeSupported(), vpMatrix::juxtaposeMatrices(), vpMatrix::kron(), vpHomogeneousMatrix::load(), vpPoseVector::load(), vpSimulator::load(), vpMbKltTracker::loadConfigFile(), vpMbEdgeKltTracker::loadConfigFile(), vpMbEdgeTracker::loadConfigFile(), vpMbTracker::loadVRMLModel(), vpSimulator::mainLoop(), vpIoTools::makeDirectory(), vpFernClassifier::matchPoint(), vpColVector::mean(), vpColVector::median(), vpMatrix::mult2Matrices(), vpMatrix::multMatrixVector(), vpMatrix::negateMatrix(), vpSimulator::offScreenRendering(), vpServoData::open(), vpVideoWriter::open(), vpVideoReader::open(), vpRobotAfma6::openGripper(), vpRobotViper850::openGripper(), vpRowVector::operator*(), vpRotationMatrix::operator*(), vpColVector::operator*(), vpVelocityTwistMatrix::operator*(), vpForceTwistMatrix::operator*(), vpMatrix::operator*(), vpColVector::operator+(), vpRotationMatrix::operator+(), vpMatrix::operator+=(), vpColVector::operator-(), vpRotationMatrix::operator-(), vpMatrix::operator-=(), vpMatrix::operator/(), vpColVector::operator<<(), vpSubColVector::operator=(), vpSubRowVector::operator=(), vpSubMatrix::operator=(), vpRotationMatrix::operator=(), vpColVector::operator=(), vpTranslationVector::operator=(), vpRGBa::operator=(), vpMatrix::operator=(), vpImage< Type >::operator=(), vpXmlParser::parse(), vpViper850::parseConfigFile(), vpViper650::parseConfigFile(), vpAfma6::parseConfigFile(), vpPose::poseDementhonNonPlan(), vpPose::poseDementhonPlan(), vpPose::poseLagrangeNonPlan(), vpPose::poseLagrangePlan(), vpPose::poseRansac(), vpPose::poseVirtualVS(), vpPose::poseVirtualVSrobust(), vpRobotAfma4::powerOff(), vpRobotAfma6::powerOff(), vpRobotViper650::powerOff(), vpRobotViper850::powerOff(), vpRobotAfma4::powerOn(), vpRobotAfma6::powerOn(), vpRobotViper650::powerOn(), vpRobotViper850::powerOn(), vpFeatureLuminance::print(), vp1394TwoGrabber::printCameraInfo(), vpForwardProjection::project(), vpSphere::projection(), vpCircle::projection(), vpRansac< vpTransformation >::ransac(), vpHomography::ransac(), vpImageIo::readJPEG(), vpImageIo::readPFM(), vpImageIo::readPGM(), vpImageIo::readPNG(), vpRobotPtu46::readPositionFile(), vpRobotBiclops::readPositionFile(), vpImageIo::readPPM(), vpNetwork::receive(), vpNetwork::receiveFrom(), vpRowVector::reshape(), vpColVector::reshape(), vpImage< Type >::resize(), vpMatrix::resize(), vpMeLine::sample(), vpHomogeneousMatrix::save(), vpPoseVector::save(), vpXmlParser::save(), vpVideoWriter::saveFrame(), vpServo::secondaryTask(), vpMeLine::seekExtremities(), vp1394CMUGrabber::selectCamera(), vpGenericFeature::set_s(), vp1394TwoGrabber::setAutoGain(), vp1394TwoGrabber::setAutoShutter(), vpDisplay::setBackground(), vp1394TwoGrabber::setCamera(), vp1394TwoGrabber::setColorCoding(), vpGenericFeature::setError(), vpVideoWriter::setFileName(), vpVideoReader::setFileName(), vpDisplayWin32::setFont(), vpDisplayOpenCV::setFont(), vpDisplayX::setFont(), vpDisplay::setFont(), vp1394TwoGrabber::setFormat7ROI(), vp1394CMUGrabber::setFramerate(), vp1394TwoGrabber::setFramerate(), vpOpenCVGrabber::setHeight(), vpMatrix::setIdentity(), vpAR::setImage(), vpGenericFeature::setInteractionMatrix(), vp1394TwoGrabber::setIsoTransmissionSpeed(), vp1394TwoGrabber::setPanControl(), vp1394TwoGrabber::setParameterValue(), vpRobotBiclopsController::setPosition(), vpRobotPtu46::setPosition(), vpRobotBiclops::setPosition(), vpSimulatorAfma6::setPosition(), vpSimulatorViper850::setPosition(), vpRobotAfma4::setPosition(), vpRobotAfma6::setPosition(), vpRobotViper650::setPosition(), vpRobotViper850::setPosition(), vpRobotBiclops::setPositioningVelocity(), vpV4l2Grabber::setScale(), vpMbEdgeTracker::setScales(), vpDisplayX::setTitle(), vpDisplayGTK::setTitle(), vpDisplay::setTitle(), vpRobotBiclopsController::setVelocity(), vpSimulatorCamera::setVelocity(), vpRobotCamera::setVelocity(), vpSimulatorPioneer::setVelocity(), vpSimulatorPioneerPan::setVelocity(), vpRobotPtu46::setVelocity(), vpRobotBiclops::setVelocity(), vpSimulatorAfma6::setVelocity(), vpSimulatorViper850::setVelocity(), vpRobotAfma4::setVelocity(), vpRobotAfma6::setVelocity(), vpRobotViper650::setVelocity(), vpRobotViper850::setVelocity(), vp1394CMUGrabber::setVideoMode(), vp1394TwoGrabber::setVideoMode(), vpOpenCVGrabber::setWidth(), vpDisplayOpenCV::setWindowPosition(), vpDisplayX::setWindowPosition(), vpDisplayGTK::setWindowPosition(), vpDisplay::setWindowPosition(), vpFeatureSegment::setZ1(), vpFeatureSegment::setZ2(), vpColVector::skew(), vpHistogram::smooth(), vpColVector::sort(), vpMatrix::stackColumns(), vpMatrix::stackMatrices(), vpMatrix::stackRows(), vpServer::start(), vpRobotAfma4::stopMotion(), vpRobotAfma6::stopMotion(), vpRobotViper650::stopMotion(), vpRobotViper850::stopMotion(), vpImage< Type >::sub(), vpMatrix::sub2Matrices(), vpKltOpencv::suppressFeature(), vpColVector::t(), vpMatrix::t(), vpServo::testInitialization(), vpServo::testUpdated(), vpMeTracker::track(), vpMeEllipse::track(), vpForwardProjection::track(), vpMeLine::track(), vpKltOpencv::track(), vpDot::track(), vpDot2::track(), vpMbKltTracker::track(), vpMatrix::transpose(), vpColVector::vpColVector(), vpMatrix::vpGEMM(), vpImage< Type >::vpImage(), vpMatrix::vpMatrix(), vpRobotPtu46::vpRobotPtu46(), vpServer::vpServer(), vpKinect::warpRGBFrame(), vpImageIo::writeJPEG(), vpImageIo::writePFM(), vpImageIo::writePGM(), vpImageIo::writePNG(), vpImageIo::writePPM(), and vpRobotPtu46::~vpRobotPtu46().

#define vpIN_FCT   (vpTraceOutput(__FILE__,__LINE__, __FUNCTION__, false, "begin "))

Works like vpTRACE() and should be used at the beginning of a function.

1 #define VP_TRACE // To activate the trace mode
2 #include <visp/vpDebug.h>
3 
4 int main()
5 {
6  vpIN_FCT("main()");
7  // the body of the main() function
8  vpOUT_FCT("main()");
9 }
See also
vpOUT_FCT
Examples:
tutorial-trace.cpp.

Definition at line 280 of file vpDebug.h.

#define vpOUT_FCT   (vpTraceOutput(__FILE__,__LINE__, __FUNCTION__, false, "end "))

Works like vpTRACE() and should be used at the end of a function.

1 #define VP_TRACE // To activate the trace mode
2 #include <visp/vpDebug.h>
3 
4 int main()
5 {
6  vpIN_FCT("main()");
7  // the body of the main() function
8  vpOUT_FCT("main()");
9 }
See also
vpIN_FCT
Examples:
tutorial-trace.cpp.

Definition at line 301 of file vpDebug.h.

#define vpTRACE   (vpTraceOutput( __FILE__,__LINE__, __FUNCTION__, false))

Used to display trace messages on the standard stream. Prints the name of the file, the function name and the line where it was used. Use like this : vpTRACE("my debug message number %d", i); with any "printf" string.

1 #define VP_TRACE // To activate trace mode
2 #include <visp/vpDebug.h>
3 
4 int main()
5 {
6  // C-like debug printings
7  vpTRACE("C-like trace"); // stdout
8 }
See also
vpCTRACE(), vpERROR_TRACE()
Examples:
grab1394Two.cpp, grabDirectShow.cpp, grabDirectShowMulti.cpp, grabOpenCV.cpp, grabV4l2.cpp, histogram.cpp, homographyHartleyDLT2DObject.cpp, keyboard.cpp, manServo4PointsDisplay.cpp, manSimu4Dots.cpp, manSimu4Points.cpp, parallelPort.cpp, ringLight.cpp, servoAfma4Point2DArtVelocity.cpp, servoAfma4Point2DCamVelocity.cpp, servoAfma62DhalfCamVelocity.cpp, servoAfma6Cylinder2DCamVelocity.cpp, servoAfma6Cylinder2DCamVelocitySecondaryTask.cpp, servoAfma6Ellipse2DCamVelocity.cpp, servoAfma6FourPoints2DArtVelocity.cpp, servoAfma6Line2DCamVelocity.cpp, servoAfma6Point2DArtVelocity.cpp, servoAfma6Points2DCamVelocityEyeToHand.cpp, servoAfma6SquareLines2DCamVelocity.cpp, servoAfma6TwoLines2DCamVelocity.cpp, servoBiclopsPoint2DArtVelocity.cpp, servoMomentImage.cpp, servoMomentPoints.cpp, servoMomentPolygon.cpp, servoPtu46Point2DArtVelocity.cpp, servoSimuAfma6FourPoints2DCamVelocity.cpp, servoViper650FourPoints2DArtVelocityInteractionCurrent.cpp, servoViper650FourPoints2DCamVelocityInteractionCurrent.cpp, servoViper850FourPoints2DArtVelocityInteractionCurrent.cpp, servoViper850FourPoints2DArtVelocityInteractionDesired.cpp, servoViper850FourPoints2DCamVelocityInteractionCurrent.cpp, servoViper850FourPointsKinect.cpp, servoViper850Point2DArtVelocity.cpp, simulateCircle2DCamVelocity.cpp, simulateFourPoints2DCartesianCamVelocity.cpp, simulateFourPoints2DPolarCamVelocity.cpp, test1394TwoGrabber.cpp, test1394TwoResetBus.cpp, testColvector.cpp, testConversion.cpp, testMatrix.cpp, testMatrixException.cpp, testReadImage.cpp, testSurfKeyPoint.cpp, testTwistMatrix.cpp, testXmlParser.cpp, trackMeCircle.cpp, trackMeLine.cpp, and tutorial-trace.cpp.

Definition at line 418 of file vpDebug.h.

Referenced by vpFFMPEG::acquire(), vpSimulator::addObject(), vpKeyPointSurf::buildReference(), vpFernClassifier::buildReference(), vpDisplayOpenCV::clearDisplay(), vpDisplayGTK::clearDisplay(), vpBSpline::computeCurveDers(), vpBSpline::computeDersBasisFuns(), vpMatrix::computeHLM(), vpDisplayOpenCV::displayDotLine(), vpDisplayOpenCV::displayImage(), vpDisplayGTK::displayImage(), vpHomography::DLT(), vpGenericFeature::duplicate(), vpFFMPEG::endWrite(), vpMatrix::expm(), vpViper650::getCameraParameters(), vpViper850::getCameraParameters(), vpAfma6::getCameraParameters(), vpSimulatorAfma6::getCameraParameters(), vpSimulatorViper850::getCameraParameters(), vpMbTracker::getCovarianceMatrix(), vpPose::getCovarianceMatrix(), vpPoseFeatures::getCovarianceMatrix(), vpKeyPointSurf::getDescriptorParamReferencePoint(), vpKeyPointSurf::getDescriptorReferencePoint(), vpCameraParameters::getFovAngleX(), vpCameraParameters::getFovAngleY(), vpCameraParameters::getFovNormals(), vpFFMPEG::getFrame(), vpBasicKeyPoint::getIndexInAllReferencePointList(), vpAfma6::getInverseKinematics(), vpKeyPointSurf::getLaplacianReferencePoint(), vpBasicKeyPoint::getMatchedPoints(), vpBasicKeyPoint::getReferencePoint(), vpDisplayGTK::getScreenSize(), vpImage< Type >::getValue(), vpHomography::HartleyDLT(), vpRobotTemplate::init(), vpDisplayX::init(), vpTemplateTracker::initCompInversePyr(), vpMbtDistanceCylinder::initMovingEdge(), vpFFMPEG::initStream(), vpFeatureEllipse::interaction(), vpFeatureVanishingPoint::interaction(), vpFeatureSegment::interaction(), vpFeatureDepth::interaction(), vpFeaturePoint::interaction(), vpFeatureLine::interaction(), vpFeaturePoint3D::interaction(), vpFeaturePointPolar::interaction(), vpFeatureThetaU::interaction(), vpFeatureTranslation::interaction(), vpMbTracker::loadCAOModel(), vpMbKltTracker::loadConfigFile(), vpMbEdgeKltTracker::loadConfigFile(), vpMbEdgeTracker::loadConfigFile(), vpPlanarObjectDetector::matchPoint(), vpKeyPointSurf::matchPoint(), vpFernClassifier::matchPoint(), vpFFMPEG::openStream(), vpColVector::operator=(), vpPlot::plot(), vpRansac< vpTransformation >::ransac(), vpNetwork::receive(), vpNetwork::receiveFrom(), vpFFMPEG::saveFrame(), vpDot2::searchDotsInArea(), vpMeNurbs::seekExtremitiesCanny(), vpNetwork::send(), vpNetwork::sendRequestTo(), vpNetwork::sendTo(), vpOpenCVGrabber::setDeviceType(), vpMbKltTracker::setFarClippingDistance(), vpMbEdgeTracker::setFarClippingDistance(), vp1394TwoGrabber::setFormat7ROI(), vpSimulatorAfma6::setJointLimit(), vpSimulatorViper850::setJointLimit(), vpDot::setMaxDotSize(), vpMbKltTracker::setNearClippingDistance(), vpMbEdgeTracker::setNearClippingDistance(), vpDisplayOpenCV::setTitle(), vpMbEdgeTracker::track(), vpSimulator::write(), and vpServo::~vpServo().