NifTK  16.4.1 - 0798f20
CMIC's Translational Medical Imaging Platform
Static Public Member Functions | List of all members
niftk::VLUtils Class Reference

Static Public Member Functions

static vl::vec3 getVector3DProp (const mitk::DataNode *node, const char *prop_name, vl::vec3 defval)
 
static vl::vec3 getPoint3DProp (const mitk::DataNode *node, const char *prop_name, vl::vec3 defval)
 
static vl::vec4 getPoint4DProp (const mitk::DataNode *node, const char *prop_name, vl::vec4 defval)
 
static int getEnumProp (const mitk::DataNode *node, const char *prop_name, int defval=0)
 
static bool getBoolProp (const mitk::DataNode *node, const char *prop_name, bool defval)
 
static bool setBoolProp (mitk::DataNode *node, const char *prop_name, bool val)
 
static float getFloatProp (const mitk::DataNode *node, const char *prop_name, float defval=0)
 
static int getIntProp (const mitk::DataNode *node, const char *prop_name, int defval=0)
 
static vl::vec4 getColorProp (const mitk::DataNode *node, const char *prop_name, vl::vec4 defval=vl::white)
 
static void initGlobalProps (mitk::DataNode *node)
 
static void initVolumeProps (mitk::DataNode *node)
 
static void updateVolumeProps (vl::VividVolume *vol, const mitk::DataNode *node)
 
static void initMaterialProps (mitk::DataNode *node)
 
static void updateMaterialProps (vl::Effect *fx, const mitk::DataNode *node)
 
static void initFogProps (mitk::DataNode *node)
 
static void updateFogProps (vl::Effect *fx, const mitk::DataNode *node)
 
static void initClipProps (mitk::DataNode *node)
 
static void updateClipProps (vl::Effect *fx, const mitk::DataNode *node)
 
static void initRenderModeProps (mitk::DataNode *node)
 
static void updateRenderModeProps (vl::Effect *fx, const mitk::DataNode *node)
 
static vl::EImageType mapITKPixelTypeToVL (int itkComponentType)
 
static vl::EImageFormat mapComponentsToVLColourFormat (int components)
 
static vl::ref< vl::Image > wrapMitk2DImage (const mitk::Image *mitk_image)
 
static VLUserDatagetUserData (vl::Actor *actor)
 
static vl::mat4 getVLMatrix (const itk::Matrix< float, 4, 4 > &itkmat)
 
static vl::mat4 getVLMatrix (vtkSmartPointer< vtkMatrix4x4 > vtkmat)
 
static vl::mat4 getVLMatrix (const mitk::BaseData *data)
 
static void updateTransform (vl::Transform *tr, const mitk::BaseData *data)
 
static void updateTransform (vl::Transform *txf, const mitk::DataNode *node)
 
static vl::ref< vl::Geometry > make2DImageGeometry (int width, int height)
 
static vl::ref< vl::Geometry > getVLGeometry (vtkPolyData *vtkPoly)
 
static void dumpNodeInfo (const std::string &prefix, const mitk::DataNode *node)
 
static void dumpNodeInfo (const std::string &prefix, const mitk::BaseData *data)
 

Member Function Documentation

void niftk::VLUtils::dumpNodeInfo ( const std::string prefix,
const mitk::DataNode *  node 
)
static
void niftk::VLUtils::dumpNodeInfo ( const std::string prefix,
const mitk::BaseData *  data 
)
static
bool niftk::VLUtils::getBoolProp ( const mitk::DataNode *  node,
const char *  prop_name,
bool  defval 
)
static
vl::vec4 niftk::VLUtils::getColorProp ( const mitk::DataNode *  node,
const char *  prop_name,
vl::vec4  defval = vl::white 
)
static
int niftk::VLUtils::getEnumProp ( const mitk::DataNode *  node,
const char *  prop_name,
int  defval = 0 
)
static
float niftk::VLUtils::getFloatProp ( const mitk::DataNode *  node,
const char *  prop_name,
float  defval = 0 
)
static
int niftk::VLUtils::getIntProp ( const mitk::DataNode *  node,
const char *  prop_name,
int  defval = 0 
)
static
vl::vec3 niftk::VLUtils::getPoint3DProp ( const mitk::DataNode *  node,
const char *  prop_name,
vl::vec3  defval 
)
static
vl::vec4 niftk::VLUtils::getPoint4DProp ( const mitk::DataNode *  node,
const char *  prop_name,
vl::vec4  defval 
)
static
VLUserData * niftk::VLUtils::getUserData ( vl::Actor *  actor)
static
vl::vec3 niftk::VLUtils::getVector3DProp ( const mitk::DataNode *  node,
const char *  prop_name,
vl::vec3  defval 
)
static
vl::ref< vl::Geometry > niftk::VLUtils::getVLGeometry ( vtkPolyData *  vtkPoly)
static
vl::mat4 niftk::VLUtils::getVLMatrix ( const itk::Matrix< float, 4, 4 > &  itkmat)
static
vl::mat4 niftk::VLUtils::getVLMatrix ( vtkSmartPointer< vtkMatrix4x4 >  vtkmat)
static
vl::mat4 niftk::VLUtils::getVLMatrix ( const mitk::BaseData *  data)
static
void niftk::VLUtils::initClipProps ( mitk::DataNode *  node)
static
void niftk::VLUtils::initFogProps ( mitk::DataNode *  node)
static
void niftk::VLUtils::initGlobalProps ( mitk::DataNode *  node)
static
void niftk::VLUtils::initMaterialProps ( mitk::DataNode *  node)
static
void niftk::VLUtils::initRenderModeProps ( mitk::DataNode *  node)
static
void niftk::VLUtils::initVolumeProps ( mitk::DataNode *  node)
static
vl::ref< vl::Geometry > niftk::VLUtils::make2DImageGeometry ( int  width,
int  height 
)
static
vl::EImageFormat niftk::VLUtils::mapComponentsToVLColourFormat ( int  components)
static
vl::EImageType niftk::VLUtils::mapITKPixelTypeToVL ( int  itkComponentType)
static
bool niftk::VLUtils::setBoolProp ( mitk::DataNode *  node,
const char *  prop_name,
bool  val 
)
static
void niftk::VLUtils::updateClipProps ( vl::Effect *  fx,
const mitk::DataNode *  node 
)
static
void niftk::VLUtils::updateFogProps ( vl::Effect *  fx,
const mitk::DataNode *  node 
)
static
void niftk::VLUtils::updateMaterialProps ( vl::Effect *  fx,
const mitk::DataNode *  node 
)
static
void niftk::VLUtils::updateRenderModeProps ( vl::Effect *  fx,
const mitk::DataNode *  node 
)
static
void niftk::VLUtils::updateTransform ( vl::Transform *  tr,
const mitk::BaseData *  data 
)
static
void niftk::VLUtils::updateTransform ( vl::Transform *  txf,
const mitk::DataNode *  node 
)
static
void niftk::VLUtils::updateVolumeProps ( vl::VividVolume *  vol,
const mitk::DataNode *  node 
)
static
vl::ref< vl::Image > niftk::VLUtils::wrapMitk2DImage ( const mitk::Image *  mitk_image)
static

The documentation for this class was generated from the following files: