Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
mitkConnectomicsSyntheticNetworkGenerator.h
Go to the documentation of this file.
1 /*===================================================================
2 
3 The Medical Imaging Interaction Toolkit (MITK)
4 
5 Copyright (c) German Cancer Research Center,
6 Division of Medical and Biological Informatics.
7 All rights reserved.
8 
9 This software is distributed WITHOUT ANY WARRANTY; without
10 even the implied warranty of MERCHANTABILITY or FITNESS FOR
11 A PARTICULAR PURPOSE.
12 
13 See LICENSE.txt or http://www.mitk.org for details.
14 
15 ===================================================================*/
16 
17 #ifndef mitkConnectomicsSyntheticNetworkGenerator_h
18 #define mitkConnectomicsSyntheticNetworkGenerator_h
19 
20 #include <itkObject.h>
21 #include <itkObjectFactory.h>
22 #include <itkMacro.h>
23 
24 #include "mitkCommon.h"
25 #include "mitkImage.h"
26 
28 
29 #include <MitkConnectomicsExports.h>
30 
31 namespace mitk
32 {
33 
36  class MITKCONNECTOMICS_EXPORT ConnectomicsSyntheticNetworkGenerator : public itk::Object
37  {
38  public:
39 
44  itkFactorylessNewMacro(Self)
45  itkCloneMacro(Self)
46 
47 
48  mitk::ConnectomicsNetwork::Pointer CreateSyntheticNetwork(int networkTypeId, int paramterOne, double parameterTwo);
49 
51  bool WasGenerationSuccessfull();
52 
53  protected:
54 
58 
60  mitk::Geometry3D::Pointer GenerateDefaultGeometry();
61 
63  void GenerateSyntheticCubeNetwork( mitk::ConnectomicsNetwork::Pointer network, int cubeExtent, double distance );
64 
70  void GenerateSyntheticCenterToSurfaceNetwork(
71  mitk::ConnectomicsNetwork::Pointer network, int numberOfPoints, double radius );
72 
77  void GenerateSyntheticRandomNetwork(
78  mitk::ConnectomicsNetwork::Pointer network, int numberOfPoints, double threshold );
79 
81 
84  };
85 
86 }// end namespace mitk
87 
88 #endif // _mitkConnectomicsSyntheticNetworkGenerator_H_INCLUDED
DataCollection - Class to facilitate loading/accessing structured data.
#define mitkClassMacroItkParent(className, SuperClassName)
Definition: mitkCommon.h:53