Computer Assited Medical Intervention Tool Kit
version 4.1
|
Go to the source code of this file.
Classes | |
class | camitk::Log |
This class is a log utility. More... | |
Namespaces | |
camitk | |
Macros | |
#define | CAMITK_ERROR(MSG) CAMITK_LOG(camitk::InterfaceLogger::ERROR, MSG, this) |
Log for error verbosity (the minimum verbosity) Will always appear. More... | |
#define | CAMITK_ERROR_ALT(MSG) CAMITK_LOG_ALT(camitk::InterfaceLogger::ERROR, MSG) |
#define | CAMITK_ERROR_IF(COND, MSG) |
#define | CAMITK_ERROR_IF_ALT(COND, MSG) |
#define | CAMITK_INFO(MSG) CAMITK_LOG(camitk::InterfaceLogger::INFO, MSG, this) |
Log for info verbosity (the second most verbose one) The msg will appear only if the user asked for INFO verbosity. More... | |
#define | CAMITK_INFO_ALT(MSG) CAMITK_LOG_ALT(camitk::InterfaceLogger::INFO, MSG) |
#define | CAMITK_INFO_IF(COND, MSG) |
#define | CAMITK_INFO_IF_ALT(COND, MSG) |
#define | CAMITK_LOG(LEVEL, MSG, SENDER) camitk::Log::getLogger()->log(MSG, LEVEL, __FILE__, Q_FUNC_INFO, __LINE__, SENDER); |
#define | CAMITK_LOG_ALT(LEVEL, MSG) camitk::Log::getLogger()->log(MSG, LEVEL, __FILE__, __func__, __LINE__); |
#define | CAMITK_TRACE(MSG) CAMITK_LOG(camitk::InterfaceLogger::TRACE, MSG, this) |
Log for trace verbosity (the most verbose one, should be used for bug report) The msg will appear only if the user asked for TRACE verbosity. More... | |
#define | CAMITK_TRACE_ALT(MSG) CAMITK_LOG_ALT(camitk::InterfaceLogger::TRACE, MSG) |
#define | CAMITK_TRACE_IF(COND, MSG) |
The LOG_VERBOSITY_IF Macros are triggered only if the given condition is true. More... | |
#define | CAMITK_TRACE_IF_ALT(COND, MSG) |
#define | CAMITK_WARNING(MSG) CAMITK_LOG(camitk::InterfaceLogger::WARNING, MSG, this) |
Log for warning verbosity (the most common one) Will appear by default. More... | |
#define | CAMITK_WARNING_ALT(MSG) CAMITK_LOG_ALT(camitk::InterfaceLogger::WARNING, MSG) |
#define | CAMITK_WARNING_IF(COND, MSG) |
#define | CAMITK_WARNING_IF_ALT(COND, MSG) |
#define CAMITK_ERROR | ( | MSG | ) | CAMITK_LOG(camitk::InterfaceLogger::ERROR, MSG, this) |
Log for error verbosity (the minimum verbosity) Will always appear.
Referenced by ComputeCurvatures::apply(), SetPathToTestData::apply(), OpenAction::apply(), RemoveLastInstanciatedAction::apply(), GridTopology::apply(), SelectLastInstanciatedAction::apply(), CenterMesh::apply(), SaveActionState::applyAction(), ActionStateMachine::checkSCXMLFile(), MeshQuality::computeMeasure(), ActionStateMachine::createAllActionStates(), ActionStateMachine::createTransitions(), DicomComponent::DicomComponent(), LoggerParameters::errorButtonClicked(), ImageLutWidget::fillHistogramTable(), camitk::Component::getChildrenFrame(), camitk::Component::getFrameName(), MeshQuality::getQualityColor(), camitk::Component::getRepresentation(), camitk::Component::getTransform(), camitk::Component::getTransformFromFrame(), camitk::Component::getTransformFromWorld(), SimulationDialog::getWidget(), ImpMainWindow::initActions(), VolumeRenderingWidget::load(), camitk::Application::notify(), camitk::SettingsDialog::on_addActionExtensionButton_released(), ItkImageComponentExtension::open(), PMLComponent::parseMultiComponent(), SaveDisplacementFromTransformation::process(), VtkImageComponent::readMetaImageTransformMatrix(), ItkImageComponent::readVolume(), ObjExtension::save(), OffExtension::save(), VolumeRenderingWidget::save(), PMLComponent::selectCell(), ActionStateMachine::setCamiTKAction(), ActionStateMachine::setCamiTKSaveAction(), camitk::Application::setMainWindow(), and camitk::Component::setParentFrame().
#define CAMITK_ERROR_ALT | ( | MSG | ) | CAMITK_LOG_ALT(camitk::InterfaceLogger::ERROR, MSG) |
Referenced by camitk::ExtensionManager::autoload(), DicomParser::getZSpacing(), camitk::Application::open(), camitk::Application::openDirectory(), camitk::Application::registerAllActions(), camitk::Application::save(), camitk::Application::saveHistoryAsSXML(), and ItkImageComponentExtension::saveImage().
#define CAMITK_ERROR_IF | ( | COND, | |
MSG | |||
) |
Referenced by DicomComponent::readDirectCosinesAngle().
#define CAMITK_ERROR_IF_ALT | ( | COND, | |
MSG | |||
) |
#define CAMITK_INFO | ( | MSG | ) | CAMITK_LOG(camitk::InterfaceLogger::INFO, MSG, this) |
Log for info verbosity (the second most verbose one) The msg will appear only if the user asked for INFO verbosity.
Referenced by camitk::SimplisticComponent::addProperty(), camitk::Application::Application(), WarpOut::apply(), CenterMesh::apply(), MonitoringGuiManager::doOneStep(), LoggerParameters::infoButtonClicked(), camitk::ActionExtension::initResources(), camitk::ComponentExtension::initResources(), camitk::InteractiveViewer::keyPressEvent(), MshComponent::readLegacyFormat(), MshComponent::readV2Format(), camitk::MainWindow::redirectToConsole(), camitk::Explorer::renameItem(), camitk::RendererWidget::RendererWidget(), camitk::Component::updateProperty(), and camitk::Application::~Application().
#define CAMITK_INFO_ALT | ( | MSG | ) | CAMITK_LOG_ALT(camitk::InterfaceLogger::INFO, MSG) |
Referenced by camitk::ExtensionManager::loadExtension(), main(), and camitk::Application::showStatusBarMessage().
#define CAMITK_INFO_IF | ( | COND, | |
MSG | |||
) |
#define CAMITK_INFO_IF_ALT | ( | COND, | |
MSG | |||
) |
#define CAMITK_LOG | ( | LEVEL, | |
MSG, | |||
SENDER | |||
) | camitk::Log::getLogger()->log(MSG, LEVEL, __FILE__, Q_FUNC_INFO, __LINE__, SENDER); |
#define CAMITK_LOG_ALT | ( | LEVEL, | |
MSG | |||
) | camitk::Log::getLogger()->log(MSG, LEVEL, __FILE__, __func__, __LINE__); |
#define CAMITK_TRACE | ( | MSG | ) | CAMITK_LOG(camitk::InterfaceLogger::TRACE, MSG, this) |
Log for trace verbosity (the most verbose one, should be used for bug report) The msg will appear only if the user asked for TRACE verbosity.
Referenced by ComputeNormals::apply(), ExtractSelection::apply(), ComputeCurvatures::apply(), OpenAction::apply(), SaveAsAction::apply(), AppendMeshes::apply(), CloseAction::apply(), CloseAllAction::apply(), CreateSC::apply(), ICPRegistration::apply(), camitk::Action::applyAndRegister(), camitk::Action::applyInPipeline(), camitk::Component::init(), SaveDisplacementFromTransformation::outputFileChanged(), FrameEditor::rotationChanged(), LoggerParameters::traceButtonClicked(), FrameEditor::translationChanged(), and camitk::Component::~Component().
#define CAMITK_TRACE_ALT | ( | MSG | ) | CAMITK_LOG_ALT(camitk::InterfaceLogger::TRACE, MSG) |
#define CAMITK_TRACE_IF | ( | COND, | |
MSG | |||
) |
The LOG_VERBOSITY_IF Macros are triggered only if the given condition is true.
This allow to log only if something unexpected happens
#define CAMITK_TRACE_IF_ALT | ( | COND, | |
MSG | |||
) |
#define CAMITK_WARNING | ( | MSG | ) | CAMITK_LOG(camitk::InterfaceLogger::WARNING, MSG, this) |
Log for warning verbosity (the most common one) Will appear by default.
Referenced by ComputeNormals::apply(), ExtractSelection::apply(), ComputeCurvatures::apply(), ExportAsMDL::apply(), OpenFile::apply(), ChangeLanguage::apply(), SaveAction::apply(), SaveAllAction::apply(), SaveAsAction::apply(), WarpOut::apply(), AppendMeshes::apply(), RegionGrowing::apply(), ReorientImage::apply(), ChangeColor::apply(), BoxVOI::apply(), GenerateModel::apply(), ICPRegistration::apply(), MergeMeshs::apply(), RigidTransform::apply(), ReorientImage::buildGeometries(), MeshClipping::clipMesh(), ActionStateMachine::createAllActionStates(), DicomComponent::DicomComponent(), LoadTransformation::loadTransformationFile(), MultiPickingWidget::manuallyModified(), MMLComponent::MMLComponent(), camitk::SettingsDialog::on_addComponentExtensionButton_released(), camitk::SettingsDialog::on_resetConfigurationButton_released(), ImpMainWindow::openRecentDocuments(), LoadTextureFromBMP::process(), MeshToImageStencil::process(), ExportAsMDL::process(), ReorientImage::process(), DicomComponent::readDirectCosinesAngle(), camitk::MeshComponent::removeSelectedData(), ObjExtension::save(), VtkImageComponentExtension::save(), OffExtension::save(), MshExtension::save(), VRMLComponentExtension::save(), camitk::ComponentExtension::save(), GenerateModel::saveMMLFiles(), ImpMainWindow::showMenuBar(), camitk::Action::trigger(), and LoggerParameters::warningButtonClicked().
#define CAMITK_WARNING_ALT | ( | MSG | ) | CAMITK_LOG_ALT(camitk::InterfaceLogger::WARNING, MSG) |
#define CAMITK_WARNING_IF | ( | COND, | |
MSG | |||
) |
#define CAMITK_WARNING_IF_ALT | ( | COND, | |
MSG | |||
) |
Referenced by camitk::Application::open().