Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
mitk::ConnectomicsSyntheticNetworkGenerator Class Reference

A class to generate synthetic networks. More...

#include <mitkConnectomicsSyntheticNetworkGenerator.h>

Inheritance diagram for mitk::ConnectomicsSyntheticNetworkGenerator:
Collaboration diagram for mitk::ConnectomicsSyntheticNetworkGenerator:

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
 

Detailed Description

A class to generate synthetic networks.

Definition at line 36 of file mitkConnectomicsSyntheticNetworkGenerator.h.

Constructor & Destructor Documentation

mitk::ConnectomicsSyntheticNetworkGenerator::ConnectomicsSyntheticNetworkGenerator ( )
protected
mitk::ConnectomicsSyntheticNetworkGenerator::~ConnectomicsSyntheticNetworkGenerator ( )
protected

Member Function Documentation

Pointer mitk::ConnectomicsSyntheticNetworkGenerator::Clone ( ) const
mitk::ConnectomicsNetwork::Pointer mitk::ConnectomicsSyntheticNetworkGenerator::CreateSyntheticNetwork ( int  networkTypeId,
int  paramterOne,
double  parameterTwo 
)
mitk::Geometry3D::Pointer mitk::ConnectomicsSyntheticNetworkGenerator::GenerateDefaultGeometry ( )
protected

Generate a default geometry for synthetic images

Definition at line 75 of file mitkConnectomicsSyntheticNetworkGenerator.cpp.

References mitk::Geometry3D::New(), and mitk::New().

void mitk::ConnectomicsSyntheticNetworkGenerator::GenerateSyntheticCenterToSurfaceNetwork ( mitk::ConnectomicsNetwork::Pointer  network,
int  numberOfPoints,
double  radius 
)
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.

void mitk::ConnectomicsSyntheticNetworkGenerator::GenerateSyntheticCubeNetwork ( mitk::ConnectomicsNetwork::Pointer  network,
int  cubeExtent,
double  distance 
)
protected

Generate a synthetic cube (regular lattice) network

Definition at line 119 of file mitkConnectomicsSyntheticNetworkGenerator.cpp.

References MITK_ERROR.

void mitk::ConnectomicsSyntheticNetworkGenerator::GenerateSyntheticRandomNetwork ( mitk::ConnectomicsNetwork::Pointer  network,
int  numberOfPoints,
double  threshold 
)
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 Pointer mitk::ConnectomicsSyntheticNetworkGenerator::New ( )
static
bool mitk::ConnectomicsSyntheticNetworkGenerator::WasGenerationSuccessfull ( )

Return whether the last attempted network generation was a success

Definition at line 350 of file mitkConnectomicsSyntheticNetworkGenerator.cpp.

Member Data Documentation

bool mitk::ConnectomicsSyntheticNetworkGenerator::m_LastGenerationWasSuccess
protected

Store whether the network generated last was generated properly

Definition at line 83 of file mitkConnectomicsSyntheticNetworkGenerator.h.


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