SCIRun  5.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Namespaces | Typedefs | Functions
NrrdData.h File Reference
#include <Core/Thread/Guard.h>
#include <Core/Datatypes/Datatype.h>
#include <Core/Datatypes/Field.h>
#include <Core/Containers/LockingHandle.h>
#include <teem/nrrd.h>
#include <Core/Datatypes/share.h>

Go to the source code of this file.

Classes

class  NrrdData
 
class  NrrdGuard
 

Namespaces

 SCIRun
 STL datatypes needed.
 

Typedefs

typedef LockingHandle< NrrdData > NrrdDataHandle
 

Functions

int string_to_nrrd_type (const std::string &str)
 
std::string nrrd_type_to_string (unsigned int ntype)
 
template<class T >
int get_nrrd_type ()
 
template<>
SCISHARE int get_nrrd_type< char > ()
 
template<>
SCISHARE int get_nrrd_type< unsigned char > ()
 
template<>
SCISHARE int get_nrrd_type< short > ()
 
template<>
SCISHARE int get_nrrd_type< unsigned short > ()
 
template<>
SCISHARE int get_nrrd_type< int > ()
 
template<>
SCISHARE int get_nrrd_type< unsigned int > ()
 
template<>
SCISHARE int get_nrrd_type< long long > ()
 
template<>
SCISHARE int get_nrrd_type< unsigned long long > ()
 
template<>
SCISHARE int get_nrrd_type< float > ()
 
template<>
SCISHARE int get_nrrd_type< Tensor > ()
 
void get_nrrd_compile_type (const unsigned int type, std::string &typeStr, std::string &typeName)
 
double get_nrrd_value (Nrrd *nrrd, unsigned int p)