Fraxinus  16.5.0-fx-rc9
An IGT application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
cxVolumeHelpers.h File Reference
#include "cxResourceExport.h"
#include <map>
#include "cxVector3D.h"
#include "vtkForwardDeclarations.h"
#include "cxBoundingBox3D.h"
#include "cxTransform3D.h"
#include "cxForwardDeclarations.h"

Go to the source code of this file.

Namespaces

 cx
 Namespace for all CustusX production code.
 

Functions

vtkImageDataPtr cx::generateVtkImageData (Eigen::Array3i dim, Vector3D spacing, const unsigned char initValue, int components)
 
vtkImageDataPtr cx::generateVtkImageDataUnsignedShort (Eigen::Array3i dim, Vector3D spacing, const unsigned short initValue, int components)
 
vtkImageDataPtr cx::generateVtkImageDataSignedShort (Eigen::Array3i dim, Vector3D spacing, const short initValue, int components)
 
vtkImageDataPtr cx::generateVtkImageDataDouble (Eigen::Array3i dim, Vector3D spacing, double initValue)
 
void cx::fillShortImageDataWithGradient (vtkImageDataPtr data, int maxValue)
 
ImagePtr cx::createDerivedImage (PatientModelServicePtr dataManager, QString uid, QString name, vtkImageDataPtr raw, ImagePtr parent)
 
ImagePtr cx::convertImageToUnsigned (PatientModelServicePtr dataManager, ImagePtr image, vtkImageDataPtr suggestedConvertedVolume, bool verbose)
 
std::map< std::string,
std::string > 
cx::getDisplayFriendlyInfo (ImagePtr image)
 
std::map< std::string,
std::string > 
cx::getDisplayFriendlyInfo (vtkImageDataPtr image)
 
void cx::printDisplayFriendlyInfo (std::map< std::string, std::string > map)
 
int cx::calculateNumVoxelsWithMaxValue (ImagePtr image)
 Find number of voxels containing max scalar value. More...
 
int cx::calculateNumVoxelsWithMinValue (ImagePtr image)
 Find number of voxels containing min scalar value. More...
 
DoubleBoundingBox3D cx::findEnclosingBoundingBox (std::vector< DataPtr > data, Transform3D qMr)
 
DoubleBoundingBox3D cx::findEnclosingBoundingBox (std::vector< ImagePtr > images, Transform3D qMr)
 
vtkImageDataPtr cx::convertImageDataToGrayScale (vtkImageDataPtr image)
 
vtkImageDataPtr cx::convertImageDataTo8Bit (vtkImageDataPtr image, double windowWidth, double windowLevel)
 Have never been used or tested. Create a test for it. More...
 
void cx::setDeepModified (vtkImageDataPtr image)