Medical Imaging Interaction Toolkit
2016.11.0
Medical Imaging Interaction Toolkit
|
A class to generate synthetic networks. More...
#include <mitkConnectomicsSyntheticNetworkGenerator.h>
Public Member Functions | |
mitkClassMacroItkParent (ConnectomicsSyntheticNetworkGenerator, itk::Object) | |
Pointer | Clone () const |
mitk::ConnectomicsNetwork::Pointer | CreateSyntheticNetwork (int networkTypeId, int paramterOne, double parameterTwo) |
bool | WasGenerationSuccessfull () |
Static Public Member Functions | |
static Pointer | New () |
Protected Member Functions | |
ConnectomicsSyntheticNetworkGenerator () | |
~ConnectomicsSyntheticNetworkGenerator () | |
mitk::Geometry3D::Pointer | GenerateDefaultGeometry () |
void | GenerateSyntheticCubeNetwork (mitk::ConnectomicsNetwork::Pointer network, int cubeExtent, double distance) |
void | GenerateSyntheticCenterToSurfaceNetwork (mitk::ConnectomicsNetwork::Pointer network, int numberOfPoints, double radius) |
void | GenerateSyntheticRandomNetwork (mitk::ConnectomicsNetwork::Pointer network, int numberOfPoints, double threshold) |
Protected Attributes | |
bool | m_LastGenerationWasSuccess |
A class to generate synthetic networks.
Definition at line 36 of file mitkConnectomicsSyntheticNetworkGenerator.h.
|
protected |
Definition at line 31 of file mitkConnectomicsSyntheticNetworkGenerator.cpp.
|
protected |
Definition at line 36 of file mitkConnectomicsSyntheticNetworkGenerator.cpp.
Pointer mitk::ConnectomicsSyntheticNetworkGenerator::Clone | ( | ) | const |
mitk::ConnectomicsNetwork::Pointer mitk::ConnectomicsSyntheticNetworkGenerator::CreateSyntheticNetwork | ( | int | networkTypeId, |
int | paramterOne, | ||
double | parameterTwo | ||
) |
Create Synthetic Networks
Definition at line 40 of file mitkConnectomicsSyntheticNetworkGenerator.cpp.
References mitk::connectomicsDataAdditionalHeaderInformation, MBI_ERROR, mitk::StringProperty::New(), and mitk::ConnectomicsNetwork::New().
|
protected |
Generate a default geometry for synthetic images
Definition at line 75 of file mitkConnectomicsSyntheticNetworkGenerator.cpp.
References mitk::Geometry3D::New(), and mitk::New().
|
protected |
Generate a highly heterogenic network
This is achieved by generating a center vertex and vertices on a sphere surface, which are all only connected to the center vertex.
Definition at line 212 of file mitkConnectomicsSyntheticNetworkGenerator.cpp.
|
protected |
Generate a synthetic cube (regular lattice) network
Definition at line 119 of file mitkConnectomicsSyntheticNetworkGenerator.cpp.
References MITK_ERROR.
|
protected |
Generate a random network without specific characteristics
This is achieved by generating vertices and then deciding whether to specific vertices are connected by comparing a random number to the threshold
Definition at line 272 of file mitkConnectomicsSyntheticNetworkGenerator.cpp.
References MITK_ERROR.
mitk::ConnectomicsSyntheticNetworkGenerator::mitkClassMacroItkParent | ( | ConnectomicsSyntheticNetworkGenerator | , |
itk::Object | |||
) |
Standard class typedefs. Method for creation through the object factory.
|
static |
bool mitk::ConnectomicsSyntheticNetworkGenerator::WasGenerationSuccessfull | ( | ) |
Return whether the last attempted network generation was a success
Definition at line 350 of file mitkConnectomicsSyntheticNetworkGenerator.cpp.
|
protected |
Store whether the network generated last was generated properly
Definition at line 83 of file mitkConnectomicsSyntheticNetworkGenerator.h.