Fraxinus  16.5.0-fx-rc5
An IGT application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
cx::VNNclReconstructionMethodService Class Reference

#include <cxVNNclReconstructionMethodService.h>

Inheritance diagram for cx::VNNclReconstructionMethodService:
cx::ReconstructionMethodService

Public Member Functions

 VNNclReconstructionMethodService (ctkPluginContext *context)
 
virtual ~VNNclReconstructionMethodService ()
 
void enableProfiling ()
 
double getKernelExecutionTime ()
 
virtual QString getName () const
 
virtual std::vector< PropertyPtrgetSettings (QDomElement root)
 
virtual bool reconstruct (ProcessedUSInputDataPtr input, vtkImageDataPtr outputData, QDomElement settings)
 
virtual StringPropertyPtr getMethodOption (QDomElement root)
 
virtual DoublePropertyPtr getRadiusOption (QDomElement root)
 
virtual StringPropertyPtr getPlaneMethodOption (QDomElement root)
 
virtual DoublePropertyPtr getMaxPlanesOption (QDomElement root)
 
virtual DoublePropertyPtr getNStartsOption (QDomElement root)
 
virtual DoublePropertyPtr getBrightnessWeightOption (QDomElement root)
 
virtual DoublePropertyPtr getNewnessWeightOption (QDomElement root)
 
- Public Member Functions inherited from cx::ReconstructionMethodService
virtual ~ReconstructionMethodService ()
 

Protected Member Functions

virtual int getMethodID (QDomElement root)
 
virtual int getPlaneMethodID (QDomElement root)
 

Protected Attributes

std::vector< QString > mMethods
 
std::vector< QString > mPlaneMethods
 
VNNclAlgorithmPtr mAlgorithm
 

Detailed Description

Original author Tord Øygard Implementation of Tord Øygards reconstruction service.

Date
2014-05-09
Author
Janne Beate Bakeng

Definition at line 60 of file cxVNNclReconstructionMethodService.h.

Constructor & Destructor Documentation

cx::VNNclReconstructionMethodService::VNNclReconstructionMethodService ( ctkPluginContext *  context)

Definition at line 41 of file cxVNNclReconstructionMethodService.cpp.

cx::VNNclReconstructionMethodService::~VNNclReconstructionMethodService ( )
virtual

Definition at line 54 of file cxVNNclReconstructionMethodService.cpp.

Member Function Documentation

void cx::VNNclReconstructionMethodService::enableProfiling ( )

Turn OpenCL profiling on

Definition at line 58 of file cxVNNclReconstructionMethodService.cpp.

DoublePropertyPtr cx::VNNclReconstructionMethodService::getBrightnessWeightOption ( QDomElement  root)
virtual

Make brightness weight(anisotropic method only) option for the UI

Parameters
rootThe root of the configuration ui
Returns
Number of multistart search starts option

Definition at line 129 of file cxVNNclReconstructionMethodService.cpp.

double cx::VNNclReconstructionMethodService::getKernelExecutionTime ( )

Definition at line 63 of file cxVNNclReconstructionMethodService.cpp.

DoublePropertyPtr cx::VNNclReconstructionMethodService::getMaxPlanesOption ( QDomElement  root)
virtual

Make max planes option for the UI

Parameters
rootThe root of the configuration ui
Returns
List of available methods - with the selected one available by ->getValue()

Definition at line 153 of file cxVNNclReconstructionMethodService.cpp.

int cx::VNNclReconstructionMethodService::getMethodID ( QDomElement  root)
protectedvirtual

Retrieve the method ID from the settings

Parameters
rootThe algorithm settings from the UI
Returns
the method ID to use in the OpenCL kernel

Definition at line 165 of file cxVNNclReconstructionMethodService.cpp.

StringPropertyPtr cx::VNNclReconstructionMethodService::getMethodOption ( QDomElement  root)
virtual

Make method option for the UI

Parameters
rootThe root of the configuration ui
Returns
List of available methods - with the selected one available by ->getValue()

Definition at line 111 of file cxVNNclReconstructionMethodService.cpp.

QString cx::VNNclReconstructionMethodService::getName ( ) const
virtual

Return the name of the algorithm

Implements cx::ReconstructionMethodService.

Definition at line 68 of file cxVNNclReconstructionMethodService.cpp.

DoublePropertyPtr cx::VNNclReconstructionMethodService::getNewnessWeightOption ( QDomElement  root)
virtual

Make Newness weight(anisotropic method only) option for the UI

Parameters
rootThe root of the configuration ui
Returns
Number of multistart search starts option

Definition at line 123 of file cxVNNclReconstructionMethodService.cpp.

DoublePropertyPtr cx::VNNclReconstructionMethodService::getNStartsOption ( QDomElement  root)
virtual

Make number of starts for multistart search option for the UI

Parameters
rootThe root of the configuration ui
Returns
Number of multistart search starts option

Definition at line 159 of file cxVNNclReconstructionMethodService.cpp.

int cx::VNNclReconstructionMethodService::getPlaneMethodID ( QDomElement  root)
protectedvirtual

Retrieve the plane method ID from the settings

Parameters
rootThe algorithm settings from the UI
Returns
the plane method ID to use in the OpenCL kernel

Definition at line 170 of file cxVNNclReconstructionMethodService.cpp.

StringPropertyPtr cx::VNNclReconstructionMethodService::getPlaneMethodOption ( QDomElement  root)
virtual

Make plane method option for the UI

Parameters
rootThe root of the configuration ui
Returns
List of available methods - with the selected one available by ->getValue()

Definition at line 135 of file cxVNNclReconstructionMethodService.cpp.

DoublePropertyPtr cx::VNNclReconstructionMethodService::getRadiusOption ( QDomElement  root)
virtual

Make radius option for the UI

Parameters
rootThe root of the configuration ui
Returns
Radius data adapter - with selected value available by ->getValue()

Definition at line 147 of file cxVNNclReconstructionMethodService.cpp.

std::vector< PropertyPtr > cx::VNNclReconstructionMethodService::getSettings ( QDomElement  root)
virtual

Return a set of Properties describing the algorithm settings.

Parameters
rootThe root element of the settings for this algorithm
Returns
A vector containing all the settings for this algorithm

Implements cx::ReconstructionMethodService.

Definition at line 73 of file cxVNNclReconstructionMethodService.cpp.

bool cx::VNNclReconstructionMethodService::reconstruct ( ProcessedUSInputDataPtr  input,
vtkImageDataPtr  outputData,
QDomElement  settings 
)
virtual

Reconstruction entry point.

Parameters
inputThe processed input US data
outputDataThe volume will be stored here
settingsThe selected algorithms settings

Implements cx::ReconstructionMethodService.

Definition at line 87 of file cxVNNclReconstructionMethodService.cpp.

Member Data Documentation

VNNclAlgorithmPtr cx::VNNclReconstructionMethodService::mAlgorithm
protected

Definition at line 167 of file cxVNNclReconstructionMethodService.h.

std::vector<QString> cx::VNNclReconstructionMethodService::mMethods
protected

Definition at line 164 of file cxVNNclReconstructionMethodService.h.

std::vector<QString> cx::VNNclReconstructionMethodService::mPlaneMethods
protected

Definition at line 165 of file cxVNNclReconstructionMethodService.h.


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