Go to the source code of this file.
Classes | |
| class | camitk::Log |
| This class is a log utility. More... | |
Namespaces | |
| namespace | camitk |
Macros | |
| #define | CAMITK_ERROR(MSG) |
| Log for error verbosity (the minimum verbosity) Will always appear. | |
| #define | CAMITK_ERROR_ALT(MSG) |
| #define | CAMITK_ERROR_IF(COND, MSG) |
| #define | CAMITK_ERROR_IF_ALT(COND, MSG) |
| #define | CAMITK_INFO(MSG) |
| Log for info verbosity (the second most verbose one) The msg will appear only if the user asked for INFO verbosity. | |
| #define | CAMITK_INFO_ALT(MSG) |
| #define | CAMITK_INFO_IF(COND, MSG) |
| #define | CAMITK_INFO_IF_ALT(COND, MSG) |
| #define | CAMITK_LOG(LEVEL, MSG, SENDER) |
| Generic log macro (it is NOT recommended to use it directly...). | |
| #define | CAMITK_LOG_ALT(LEVEL, MSG) |
| #define | CAMITK_PRINT_POINTER(PTR) |
| Helper macro that produce a QString representing a pointer. | |
| #define | CAMITK_TRACE(MSG) |
| 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. | |
| #define | CAMITK_TRACE_ALT(MSG) |
| #define | CAMITK_TRACE_IF(COND, MSG) |
| The LOG_VERBOSITY_IF Macros are triggered only if the given condition is true. | |
| #define | CAMITK_TRACE_IF_ALT(COND, MSG) |
| #define | CAMITK_WARNING(MSG) |
| Log for warning verbosity (the most common one) Will appear by default. | |
| #define | CAMITK_WARNING_ALT(MSG) |
| #define | CAMITK_WARNING_IF(COND, MSG) |
| #define | CAMITK_WARNING_IF_ALT(COND, MSG) |
| #define CAMITK_ERROR | ( | MSG | ) |
Log for error verbosity (the minimum verbosity) Will always appear.
Referenced by CenterMesh::apply(), ComputeCurvatures::apply(), GridTopology::apply(), OpenAction::apply(), RemoveLastInstantiatedAction::apply(), SaveAsAction::apply(), SelectLastInstantiatedAction::apply(), SetPathToTestData::apply(), SaveActionState::applyAction(), ActionStateMachine::checkSCXMLFile(), MeshQuality::computeMeasure(), DicomComponent::DicomComponent(), LoggerParameters::errorButtonClicked(), camitk::ImageComponent::fromVariant(), camitk::ViewerExtension::getNewInstance(), camitk::Component::getRepresentation(), MedicalImageViewer::getWidget(), SimulationDialog::getWidget(), ImpMainWindow::ImpMainWindow(), ActionStateMachine::initMainWindow(), VolumeRenderingWidget::load(), camitk::Application::notify(), ItkImageComponentExtension::open(), WorkspaceExtension::open(), ItkImageComponent::readVolume(), camitk::ViewerExtension::registerViewer(), OffExtension::save(), VRMLComponentExtension::save(), VolumeRenderingWidget::saveColorMap(), PMLComponent::selectCell(), camitk::Viewer::setDockWidget(), camitk::Viewer::setEmbedder(), camitk::ImageComponent::setFrame(), and camitk::Application::setMainWindow().
| #define CAMITK_ERROR_ALT | ( | MSG | ) |
Referenced by camitk::ExtensionManager::autoload(), camitk::Application::exec(), camitk::Core::getInstallDirectories(), camitk::Application::getNewViewer(), DicomParser::getZSpacing(), camitk::CamiTKFile::load(), camitk::Application::open(), camitk::Application::openDirectory(), camitk::Application::registerAllActions(), camitk::Application::registerViewer(), camitk::Application::save(), camitk::Application::saveHistoryAsSCXML(), and ItkImageComponentExtension::saveImage().
| #define CAMITK_ERROR_IF | ( | COND, | |
| MSG ) |
| #define CAMITK_ERROR_IF_ALT | ( | COND, | |
| MSG ) |
| #define CAMITK_INFO | ( | MSG | ) |
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(), CenterMesh::apply(), ConnectedComponents::apply(), OtsuFilter::apply(), WarpOut::apply(), camitk::ViewerExtension::getNewInstance(), LoggerParameters::infoButtonClicked(), camitk::ActionExtension::initResources(), camitk::ComponentExtension::initResources(), camitk::ViewerExtension::initResources(), camitk::InteractiveViewer::keyPressEvent(), camitk::InteractiveViewer::picked(), camitk::Component::propertyValueChanged(), camitk::MainWindow::redirectToConsole(), ComponentExplorer::renameItem(), camitk::CppHotPlugAction::update(), and camitk::Application::~Application().
| #define CAMITK_INFO_ALT | ( | MSG | ) |
| #define CAMITK_INFO_IF | ( | COND, | |
| MSG ) |
| #define CAMITK_INFO_IF_ALT | ( | COND, | |
| MSG ) |
| #define CAMITK_LOG | ( | LEVEL, | |
| MSG, | |||
| SENDER ) |
Generic log macro (it is NOT recommended to use it directly...).
| #define CAMITK_LOG_ALT | ( | LEVEL, | |
| MSG ) |
| #define CAMITK_PRINT_POINTER | ( | PTR | ) |
Helper macro that produce a QString representing a pointer.
| #define CAMITK_TRACE | ( | MSG | ) |
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 ActionStateMachine::ActionStateMachine(), CloseAction::apply(), CloseAllAction::apply(), ICPRegistration::apply(), OpenAction::apply(), SaveAsAction::apply(), SaveWorkspace::apply(), camitk::Action::applyAndRegister(), camitk::Action::applyInPipeline(), camitk::InteractiveViewer::picked(), camitk::ImageComponent::pixelPicked(), camitk::RendererWidget::setOrientationDecorationsLetters(), and LoggerParameters::traceButtonClicked().
| #define CAMITK_TRACE_ALT | ( | 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 | ) |
Log for warning verbosity (the most common one) Will appear by default.
Referenced by AppendMeshes::apply(), ChangeLanguage::apply(), ComputeCurvatures::apply(), ComputeNormals::apply(), ExportAsMDL::apply(), ExtractSelection::apply(), FillWithPoints::apply(), GenerateModel::apply(), ICPRegistration::apply(), LoadTransformation::apply(), MergeMeshes::apply(), OpenFile::apply(), OpenWorkspaceFile::apply(), PixelColorChanger::apply(), RegionGrowing::apply(), ReorientImage::apply(), RigidTransform::apply(), SaveAction::apply(), SaveAllAction::apply(), SaveAsAction::apply(), SimpleElastixRegistrationAction::apply(), VolumeRenderingAction::apply(), WarpOut::apply(), DicomComponent::DicomComponent(), camitk::Action::getParameterValue(), camitk::Component::getPropertyValue(), AnglesAndTranslationAction::getWidget(), ImageLutAction::getWidget(), MeshProjection::getWidget(), QtPropertyFieldEditor::getWidget(), SimpleElastixRegistrationAction::getWidget(), MultiPickingWidget::manuallyModified(), MMLComponent::MMLComponent(), camitk::MeshComponent::removeSelectedData(), camitk::ComponentExtension::save(), MshExtension::save(), ObjExtension::save(), OffExtension::save(), VtkImageComponentExtension::save(), CamiTKExtensionEditor::saveClicked(), camitk::Action::setParameterValue(), camitk::Component::setPropertyValue(), camitk::SingleImageComponent::setSelected(), ImpMainWindow::toggleMenuBar(), camitk::Action::trigger(), camitk::CppHotPlugAction::update(), and LoggerParameters::warningButtonClicked().
| #define CAMITK_WARNING_ALT | ( | MSG | ) |
Referenced by camitk::TransformationManager::addTransformation(), camitk::TransformationManager::addTransformation(), camitk::Component::fromVariant(), camitk::ImageComponent::fromVariant(), camitk::Transformation::fromVariant(), camitk::CamiTKFile::load(), camitk::HotPlugExtensionManager::load(), camitk::PersistenceManager::loadComponents(), camitk::PersistenceManager::loadWorkspace(), camitk::HotPlugActionExtension::newHotPlugActionExtension(), camitk::Application::notify(), PickedPixelMap::openPixelList(), camitk::HotPlugExtensionManager::registerExtension(), camitk::Application::saveHistoryAsSCXML(), camitk::Application::saveWorkspace(), and camitk::TransformationManager::updateTransformation().
| #define CAMITK_WARNING_IF | ( | COND, | |
| MSG ) |
Referenced by camitk::RendererWidget::screenshot().
| #define CAMITK_WARNING_IF_ALT | ( | COND, | |
| MSG ) |
Referenced by camitk::Application::open().