NifTK  16.4.1 - 0798f20
CMIC's Translational Medical Imaging Platform
Namespaces | Functions
niftkDataStorageUtils.cxx File Reference
Include dependency graph for niftkDataStorageUtils.cxx:

Namespaces

 niftk
 

Functions

mitk::DataNode::Pointer niftk::FindFirstParentImage (const mitk::DataStorage *storage, const mitk::DataNode::Pointer node, bool lookForBinary)
 
mitk::DataStorage::SetOfObjects::Pointer niftk::FindDerivedVisibleNonHelperChildren (const mitk::DataStorage *storage, const mitk::DataNode::Pointer node)
 
mitk::DataStorage::SetOfObjects::Pointer niftk::FindDerivedImages (const mitk::DataStorage *storage, const mitk::DataNode::Pointer node, bool lookForBinary)
 
bool niftk::IsNodeAHelperObject (const mitk::DataNode *node)
 
bool niftk::IsNodeAGreyScaleImage (const mitk::DataNode::Pointer node)
 
bool niftk::IsNodeABinaryImage (const mitk::DataNode::Pointer node)
 
mitk::DataNode::Pointer niftk::FindNthImage (const std::vector< mitk::DataNode * > &nodes, int n, bool lookForBinary)
 
mitk::DataNode::Pointer niftk::FindNthGreyScaleImage (const std::vector< mitk::DataNode * > &nodes, int n)
 
mitk::DataNode::Pointer niftk::FindNthBinaryImage (const std::vector< mitk::DataNode * > &nodes, int n)
 
mitk::DataNode::Pointer niftk::FindFirstGreyScaleImage (const std::vector< mitk::DataNode * > &nodes)
 
mitk::DataNode::Pointer niftk::FindFirstBinaryImage (const std::vector< mitk::DataNode * > &nodes)
 
mitk::DataNode::Pointer niftk::FindFirstParent (const mitk::DataStorage *storage, const mitk::DataNode::Pointer node)
 
mitk::DataNode::Pointer niftk::FindParentGreyScaleImage (const mitk::DataStorage *storage, const mitk::DataNode::Pointer node)
 
mitk::TimeGeometry::Pointer niftk::GetPreferredGeometry (const mitk::DataStorage *dataStorage, const std::vector< mitk::DataNode * > &nodes, const int &nodeIndex=-1)
 GetPreferedGeometry will return the geometry to use by picking one from the list of nodes, or NULL, if none can be found. More...
 
void niftk::LoadMatrixOrCreateDefault (const std::string &fileName, const std::string &nodeName, const bool &helperObject, mitk::DataStorage *dataStorage)
 Loads a 4x4 matrix from a plain textfile, and puts in data storage with the given nodeName, or else creates Identity matrix. More...
 
void niftk::GetCurrentTransformFromNode (const mitk::DataNode::Pointer &node, vtkMatrix4x4 &outputMatrix)
 Retrieves the current tranform from the mitk::Geometry object of an mitk::DataNode. More...
 
void niftk::ComposeTransformWithNode (const vtkMatrix4x4 &transform, mitk::DataNode::Pointer &node)
 Composes (pre-multiplies) the given transform with the given node. More...
 
void niftk::ApplyTransformToNode (const vtkMatrix4x4 &transform, mitk::DataNode::Pointer &node)
 Applies (sets, i.e. copies) the given transform to the given node. More...