CTK  0.1.0
The Common Toolkit is a community effort to provide support code for medical image analysis, surgical navigation, and related projects.
Namespaces | Functions
ctk Namespace Reference

Namespaces

 CmdLineModuleBackendFunctionPointer
 

Functions

QString CTK_WIDGETS_EXPORT base64HTMLImageTagSrc (const QImage &image)
 
double CTK_CORE_EXPORT closestPowerOfTen (double value)
 
bool CTK_CORE_EXPORT copyDirRecursively (const QString &srcPath, const QString &dstPath)
 
ctkErrorLogLevel::LogLevel CTK_DICOM_CORE_EXPORT dicomLogLevel ()
 
QString CTK_DICOM_CORE_EXPORT dicomLogLevelAsString ()
 
QString CTK_CORE_EXPORT extensionToRegExp (const QString &extension)
 
QImage CTK_VISUALIZATION_VTK_WIDGETS_EXPORT grabVTKWidget (QWidget *widget, QRect rectangle=QRect())
 
QImage CTK_WIDGETS_EXPORT grabWidget (QWidget *widget, QRect rectangle=QRect())
 
QImage CTK_WIDGETS_EXPORT kwIconToQImage (const unsigned char *data, int width, int height, int pixelSize, unsigned int bufferLength, int options=0)
 
qint64 CTK_CORE_EXPORT msecsTo (const QDateTime &t1, const QDateTime &t2)
 Compute the milli seconds from one QDateTime to an other. More...
 
QStringList CTK_CORE_EXPORT nameFiltersToExtensions (const QStringList &nameFilters)
 
QRegExp CTK_CORE_EXPORT nameFiltersToRegExp (const QStringList &nameFilters)
 
QStringList CTK_CORE_EXPORT nameFilterToExtensions (const QString &nameFilter)
 
int CTK_CORE_EXPORT orderOfMagnitude (double value)
 
void CTK_CORE_EXPORT qListToSTLVector (const QStringList &list, std::vector< char * > &vector)
 
void CTK_CORE_EXPORT qListToSTLVector (const QStringList &list, std::vector< std::string > &vector)
 
QString CTK_CORE_EXPORT qtHandleToString (Qt::HANDLE handle)
 
void CTK_VISUALIZATION_VTK_CORE_EXPORT remapColorScale (vtkDiscretizableColorTransferFunction *colorTransferFunction, double minRescale, double maxRescale)
 
void CTK_VISUALIZATION_VTK_CORE_EXPORT remapColorScale (vtkDiscretizableColorTransferFunction *colorTransferFunction, vtkDiscretizableColorTransferFunction *rescaledColorTransferFunction, double minRescale, double maxRescale)
 
bool CTK_CORE_EXPORT removeDirRecursively (const QString &dirName)
 
void CTK_VISUALIZATION_VTK_CORE_EXPORT reverseColorMap (vtkDiscretizableColorTransferFunction *colorTransferFunction)
 
QImage CTK_VISUALIZATION_VTK_WIDGETS_EXPORT scalarsToColorsImage (vtkScalarsToColors *scalarsToColors, const QSize &size=QSize())
 
void CTK_DICOM_CORE_EXPORT setDICOMLogLevel (ctkErrorLogLevel::LogLevel level)
 
void CTK_VISUALIZATION_VTK_CORE_EXPORT setTransparency (vtkDiscretizableColorTransferFunction *colorTransferFunction, double transparency)
 
int CTK_CORE_EXPORT significantDecimals (double value, int defaultDecimals=-1)
 
void CTK_CORE_EXPORT stlVectorToQList (const std::vector< std::string > &vector, QStringList &list)
 
QImage CTK_VISUALIZATION_VTK_WIDGETS_EXPORT vtkImageDataToQImage (vtkImageData *imageData)
 

Function Documentation

◆ dicomLogLevel()

ctkErrorLogLevel::LogLevel CTK_DICOM_CORE_EXPORT ctk::dicomLogLevel ( )

◆ dicomLogLevelAsString()

QString CTK_DICOM_CORE_EXPORT ctk::dicomLogLevelAsString ( )

◆ setDICOMLogLevel()

void CTK_DICOM_CORE_EXPORT ctk::setDICOMLogLevel ( ctkErrorLogLevel::LogLevel  level)