Computer Assisted Medical Intervention Tool Kit  version 5.2
ArbitrarySingleImageComponent.cpp File Reference
#include "ArbitrarySingleImageComponent.h"
#include "ImageComponent.h"
#include "Frame.h"
#include "Log.h"
#include <CamiTKDisableWarnings>
#include <vtkProperty.h>
#include <CamiTKReEnableWarnings>
#include <vtkUnstructuredGrid.h>
#include <vtkImageClip.h>
#include <vtkImageChangeInformation.h>
#include <vtkMatrix4x4.h>
#include <cmath>
#include <QVector3D>
+ Include dependency graph for ArbitrarySingleImageComponent.cpp:

Namespaces

 camitk
 

Macros

#define displayMatrix4x4(...)
 
#define displayPoint(...)
 
#define displayQVector3D(...)
 

Macro Definition Documentation

◆ displayMatrix4x4

#define displayMatrix4x4 (   ...)
Value:
CAMITK_INFO_ALT(#__VA_ARGS__ + QString("\n[%1,%2,%3,%4]\n[%5,%6,%7,%8]\n[%9,%10,%11,%12]\n[%13,%14,%15,%16]") \
.arg(__VA_ARGS__->GetElement(0, 0), 8, 'f', 4, ' ') \
.arg(__VA_ARGS__->GetElement(0, 1), 8, 'f', 4, ' ') \
.arg(__VA_ARGS__->GetElement(0, 2), 8, 'f', 4, ' ') \
.arg(__VA_ARGS__->GetElement(0, 3), 8, 'f', 4, ' ') \
.arg(__VA_ARGS__->GetElement(1, 0), 8, 'f', 4, ' ') \
.arg(__VA_ARGS__->GetElement(1, 1), 8, 'f', 4, ' ') \
.arg(__VA_ARGS__->GetElement(1, 2), 8, 'f', 4, ' ') \
.arg(__VA_ARGS__->GetElement(1, 3), 8, 'f', 4, ' ') \
.arg(__VA_ARGS__->GetElement(2, 0), 8, 'f', 4, ' ') \
.arg(__VA_ARGS__->GetElement(2, 1), 8, 'f', 4, ' ') \
.arg(__VA_ARGS__->GetElement(2, 2), 8, 'f', 4, ' ') \
.arg(__VA_ARGS__->GetElement(2, 3), 8, 'f', 4, ' ') \
.arg(__VA_ARGS__->GetElement(3, 0), 8, 'f', 4, ' ') \
.arg(__VA_ARGS__->GetElement(3, 1), 8, 'f', 4, ' ') \
.arg(__VA_ARGS__->GetElement(3, 2), 8, 'f', 4, ' ') \
.arg(__VA_ARGS__->GetElement(3, 3), 8, 'f', 4, ' '))
#define CAMITK_INFO_ALT(MSG)
Definition: Log.h:239

◆ displayPoint

#define displayPoint (   ...)
Value:
CAMITK_INFO_ALT(#__VA_ARGS__ + QString(" = [%1,%2,%3,%4]") \
.arg(__VA_ARGS__[0], 8, 'f', 4, ' ') \
.arg(__VA_ARGS__[1], 8, 'f', 4, ' ') \
.arg(__VA_ARGS__[2], 8, 'f', 4, ' ') \
.arg(__VA_ARGS__[3], 8, 'f', 4, ' '))

◆ displayQVector3D

#define displayQVector3D (   ...)
Value:
CAMITK_INFO_ALT(#__VA_ARGS__ + QString(" = (%1,%2,%3)") \
.arg(__VA_ARGS__.x(), 8, 'f', 4, ' ') \
.arg(__VA_ARGS__.y(), 8, 'f', 4, ' ') \
.arg(__VA_ARGS__.z(), 8, 'f', 4, ' '))