Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
mitkConnectomicsRenderingProperties.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 
18 #ifndef ConnectomicsRenderingProperties_H_HEADER_INCLUDED
19 #define ConnectomicsRenderingProperties_H_HEADER_INCLUDED
20 
21 #include <string.h>
22 #include "mitkProperties.h"
23 #include "mitkStringProperty.h"
25 #include "mitkColorProperty.h"
26 
27 namespace mitk {
28 
36  // Switching between rendering modes
49  const std::string connectomicsRenderingSchemePropertyName = "Connectomics.Rendering.Scheme";
50 
54  const std::string connectomicsRenderingVTKScheme = "VTK Graph Layout";
55 
59  const std::string connectomicsRenderingMITKScheme = "MITK Connectomics Visualisation";
60 
61  // All options below are only for the MITK Connectomics Visualisation scheme
62 
64  // Filtering Options
66 
79  const std::string connectomicsRenderingEdgeFilteringPropertyName = "Connectomics.Rendering.Edges.Filtering";
80 
84  const std::string connectomicsRenderingEdgeNoFilter = "No Edge Filtering";
85 
89  const std::string connectomicsRenderingEdgeShortestPathFilter = "Shortest Path to Node";
90 
94  const std::string connectomicsRenderingEdgeThresholdFilter = "Thresholding";
95 
99  const std::string connectomicsRenderingEdgeThresholdFilterParameterName = "Connectomics.Rendering.Edges.Filtering.ThresholdParameter";
100 
104  const std::string connectomicsRenderingEdgeThresholdFilterThresholdName = "Connectomics.Rendering.Edges.Filtering.Threshold";
105 
117  const std::string connectomicsRenderingNodeFilteringPropertyName = "Connectomics.Rendering.Nodes.Filtering";
118 
122  const std::string connectomicsRenderingNodeNoFilter = "No Node Filtering";
123 
127  const std::string connectomicsRenderingNodeThresholdingFilter = "Thresholding";
128 
132  const std::string connectomicsRenderingNodeThresholdFilterParameterName = "Connectomics.Rendering.Nodes.Filtering.ThresholdParameter";
133 
137  const std::string connectomicsRenderingNodeThresholdFilterThresholdName = "Connectomics.Rendering.Nodes.Filtering.Threshold";
138 
139  // Default values
144 
149 
151  // Node Options
153 
154  // Color gradient
160  const std::string connectomicsRenderingNodeGradientStartColorName = "Connectomics.Rendering.Nodes.Gradient.StartColor";
161 
167  const std::string connectomicsRenderingNodeGradientEndColorName = "Connectomics.Rendering.Nodes.Gradient.EndColor";
168 
174  const std::string connectomicsRenderingNodeGradientColorParameterName = "Connectomics.Rendering.Nodes.Gradient.Parameter";
175 
181  const std::string connectomicsRenderingNodeChosenNodeName = "Connectomics.Rendering.Nodes.ChosenNode";
182 
183  // Radius
189  const std::string connectomicsRenderingNodeRadiusStartName = "Connectomics.Rendering.Nodes.Radius.Start";
190 
196  const std::string connectomicsRenderingNodeRadiusEndName = "Connectomics.Rendering.Nodes.Radius.End";
197 
203  const std::string connectomicsRenderingNodeRadiusParameterName = "Connectomics.Rendering.Nodes.Radius.Parameter";
204 
205  // Possible parameters
209  const std::string connectomicsRenderingNodeParameterDegree = "Degree";
210 
214  const std::string connectomicsRenderingNodeParameterBetweenness = "Betweenness centrality";
215 
219  const std::string connectomicsRenderingNodeParameterClustering = "Clustering coefficient";
220 
224  const std::string connectomicsRenderingNodeParameterColoringShortestPath = "Shortest Path Steps";
225 
231  const std::string connectomicsRenderingNodeParameterConstant = "Constant";
232 
233  // Default values
236 
238  mitk::ColorProperty::New(0.0f, 0.0f, 1.0f);
240  mitk::ColorProperty::New(0.0f, 1.0f, 0.0f);
241 
246 
248  // Edge Options
250 
251 
252  // Color gradient
258  const std::string connectomicsRenderingEdgeGradientStartColorName = "Connectomics.Rendering.Edges.Gradient.StartColor";
259 
265  const std::string connectomicsRenderingEdgeGradientEndColorName = "Connectomics.Rendering.Edges.Gradient.EndColor";
266 
272  const std::string connectomicsRenderingEdgeGradientColorParameterName = "Connectomics.Rendering.Edges.Gradient.Parameter";
273 
274  // Radius
280  const std::string connectomicsRenderingEdgeRadiusStartName = "Connectomics.Rendering.Edges.Radius.Start";
281 
287  const std::string connectomicsRenderingEdgeRadiusEndName = "Connectomics.Rendering.Edges.Radius.End";
288 
294  const std::string connectomicsRenderingEdgeRadiusParameterName = "Connectomics.Rendering.Edges.Radius.Parameter";
295 
296  // Possible parameters
300  const std::string connectomicsRenderingEdgeParameterWeight = "Weight";
301 
305  const std::string connectomicsRenderingEdgeParameterCentrality = "Edge betweenness centrality";
306 
312  const std::string connectomicsRenderingEdgeParameterConstant = "Constant";
313 
314  // Default values
316  mitk::ColorProperty::New(0.8f, 0.0f, 0.6f);
318  mitk::ColorProperty::New(0.0f, 0.8f, 0.2f);
319 
324 
329  "Connectomics.Rendering.Balloon.Text";
331  "Connectomics.Rendering.Balloon.AllNodeLabels";
333  "Connectomics.Rendering.Balloon.NodeStats";
334 
335 } // namespace mitk
336 
337 
338 #endif /* ConnectomicsRenderingProperties_H_HEADER_INCLUDED */
const std::string connectomicsRenderingNodeThresholdingFilter
Only show nodes above a certain parameter threshold.
const std::string connectomicsRenderingEdgeGradientStartColorName
Start Color.
const std::string connectomicsRenderingNodeNoFilter
Do not filter nodes.
const mitk::FloatProperty::Pointer connectomicsRenderingNodeRadiusStartDefault
const std::string connectomicsRenderingEdgeFilteringPropertyName
Edge filter option.
const std::string connectomicsRenderingEdgeNoFilter
Do not filter edges.
const std::string connectomicsRenderingEdgeRadiusParameterName
Radius parameter.
const std::string connectomicsRenderingEdgeThresholdFilterThresholdName
Threshold.
const std::string connectomicsRenderingNodeRadiusParameterName
Radius parameter.
const std::string connectomicsRenderingNodeParameterBetweenness
Using the node betweenness as parameter.
const std::string connectomicsRenderingNodeGradientStartColorName
Start Color.
const std::string connectomicsRenderingEdgeThresholdFilter
Show only edges above a certain parameter threshold.
const std::string connectomicsRenderingSchemePropertyName
Define the rendering scheme to be used.
const mitk::ColorProperty::Pointer connectomicsRenderingNodeGradientStartColorDefault
static Pointer New()
const mitk::StringProperty::Pointer connectomicsRenderingEdgeThresholdFilterParameterDefault
const mitk::ColorProperty::Pointer connectomicsRenderingEdgeGradientEndColorDefault
const mitk::FloatProperty::Pointer connectomicsRenderingEdgeRadiusStartDefault
const mitk::StringProperty::Pointer connectomicsRenderingNodeThresholdFilterParameterDefault
const std::string connectomicsRenderingEdgeParameterConstant
Constant.
DataCollection - Class to facilitate loading/accessing structured data.
const std::string connectomicsRenderingNodeThresholdFilterParameterName
Parameter to be thresholded.
const std::string connectomicsRenderingNodeGradientEndColorName
End Color.
const std::string connectomicsRenderingNodeParameterClustering
Using the node clustering coefficient as parameter.
const mitk::FloatProperty::Pointer connectomicsRenderingEdgeThresholdFilterThresholdDefault
const std::string connectomicsRenderingNodeGradientColorParameterName
Color parameter.
const mitk::FloatProperty::Pointer connectomicsRenderingNodeThresholdFilterThresholdDefault
const mitk::FloatProperty::Pointer connectomicsRenderingEdgeRadiusEndDefault
const std::string connectomicsRenderingMITKScheme
Slower but with several visualisation options.
const std::string connectomicsRenderingEdgeRadiusEndName
End Radius.
const std::string connectomicsRenderingNodeThresholdFilterThresholdName
Threshold.
const std::string connectomicsRenderingEdgeRadiusStartName
Start Radius.
const std::string connectomicsRenderingEdgeParameterWeight
Using the weight as parameter.
const std::string connectomicsRenderingVTKScheme
Much faster but less features.
const std::string connectomicsRenderingBalloonAllNodeLabelsName
const std::string connectomicsRenderingEdgeParameterCentrality
Using the edge centrality as parameter.
const std::string connectomicsRenderingNodeParameterConstant
Constant.
const std::string connectomicsRenderingNodeRadiusEndName
End Radius.
const std::string connectomicsRenderingNodeParameterDegree
Using the node degree as parameter.
static Pointer New()
const mitk::ColorProperty::Pointer connectomicsRenderingEdgeGradientStartColorDefault
const std::string connectomicsRenderingNodeFilteringPropertyName
Node filter option.
const std::string connectomicsRenderingEdgeShortestPathFilter
Only show edges which are part of a shortest path to the selected node from any other node...
const std::string connectomicsRenderingNodeRadiusStartName
Start Radius.
const std::string connectomicsRenderingEdgeThresholdFilterParameterName
Parameter to be thresholded.
const std::string connectomicsRenderingBalloonNodeStatsName
const std::string connectomicsRenderingNodeChosenNodeName
The chosen node label.
const std::string connectomicsRenderingEdgeGradientEndColorName
End Color.
const mitk::StringProperty::Pointer connectomicsRenderingNodeChosenNodeDefault
static Pointer New()
const mitk::FloatProperty::Pointer connectomicsRenderingNodeRadiusEndDefault
const std::string connectomicsRenderingBalloonTextName
Balloon controls and content.
const std::string connectomicsRenderingNodeParameterColoringShortestPath
Color nodes by shortest path length to a chosen node.
const std::string connectomicsRenderingEdgeGradientColorParameterName
Color parameter.
const mitk::ColorProperty::Pointer connectomicsRenderingNodeGradientEndColorDefault