Commit 82908907 authored by Alexander Wiebel's avatar Alexander Wiebel

[STYLE #42] Captitalization and full stops at end of property names

parent f6fb4ac5
......@@ -96,11 +96,11 @@ void WMDatasetProfile::properties()
m_snapSelectionsList->addItem( "coronal", "" );
m_snapSelectionsList->addItem( "sagittal", "" );
m_snapSelection = m_properties->addProperty( "snap to", "snap",
m_snapSelection = m_properties->addProperty( "Snap to", "snap",
m_snapSelectionsList->getSelectorFirst(), m_propCondition );
WPropertyHelper::PC_SELECTONLYONE::addTo( m_snapSelection );
m_propAddKnobTrigger = m_properties->addProperty( "Add Knob", "Press!", WPVBaseTypes::PV_TRIGGER_READY, m_propCondition );
m_propAddKnobTrigger = m_properties->addProperty( "Add knob", "Press!", WPVBaseTypes::PV_TRIGGER_READY, m_propCondition );
m_graphColor = m_properties->addProperty( "Graph color", "Description.", WColor( 0.2, 0.2, 0.2, 1.0 ) );
......@@ -109,7 +109,7 @@ void WMDatasetProfile::properties()
m_propLength->setMax( 500 );
m_propUseLength = m_properties->addProperty( "Use length", "Description.", false );
m_propInterpolate = m_properties->addProperty( "interpolate", "Description.", true );
m_propInterpolate = m_properties->addProperty( "Interpolate", "Description.", true );
m_propNumSamples = m_properties->addProperty( "Number of sample points", "Description.", 100 );
m_propNumSamples->setMin( 1 );
......
......@@ -156,13 +156,13 @@ void WMGridRenderer::properties()
{
WPropertyBase::PropertyChangeNotifierType notifier = boost::bind( &WMGridRenderer::updateNode, this, _1 );
m_bboxColor = m_properties->addProperty( "Bounding Box Color", "The color of the bounding box.", WColor( 0.3, 0.3, 0.3, 1.0 ), notifier );
m_bboxColor = m_properties->addProperty( "Bounding box color", "The color of the bounding box.", WColor( 0.3, 0.3, 0.3, 1.0 ), notifier );
m_gridColor = m_properties->addProperty( "Grid Color", "The color of the grid.", WColor( 0.1, 0.1, 0.1, 1.0 ), notifier );
m_gridColor = m_properties->addProperty( "Grid color", "The color of the grid.", WColor( 0.1, 0.1, 0.1, 1.0 ), notifier );
m_possibleModes = WItemSelection::SPtr( new WItemSelection() );
m_possibleModes->addItem( "Labels", "Show the boundary labels.", WMGridRenderer_label_xpm ); // NOTE: you can add XPM images here.
m_possibleModes->addItem( "Bounding Box", "Show the bounding box.", WMGridRenderer_boundary_xpm );
m_possibleModes->addItem( "Bounding box", "Show the bounding box.", WMGridRenderer_boundary_xpm );
m_possibleModes->addItem( "Grid", "Show the inner grid.", WMGridRenderer_grid_xpm );
// selecting all at once might be a bad idea since the grid rendering can be very very slow. So, by default, only show bbox and labels.
......
......@@ -39,12 +39,12 @@ WSegmentationAlgoLevelSetCanny::~WSegmentationAlgoLevelSetCanny()
void WSegmentationAlgoLevelSetCanny::properties()
{
m_smoothingIter = m_properties->addProperty( "Smoothing iterations.", "Number of smoothing passes.", 10, m_propCondition );
m_conductance = m_properties->addProperty( "Conductance.", "Conductance parameter for smoothing.", 1.0, m_propCondition );
m_smoothingIter = m_properties->addProperty( "Smoothing iterations", "Number of smoothing passes.", 10, m_propCondition );
m_conductance = m_properties->addProperty( "Conductance", "Conductance parameter for smoothing.", 1.0, m_propCondition );
m_conductance->setMax( 10.0 );
m_level = m_properties->addProperty( "Level.", "The isovalue.", 0.0, m_propCondition );
m_variance = m_properties->addProperty( "Variance.", "variance for the level set.", 1.0, m_propCondition );
m_threshold = m_properties->addProperty( "Threshold.", "Threshold in %.", 0.0, m_propCondition );
m_level = m_properties->addProperty( "Level", "The isovalue.", 0.0, m_propCondition );
m_variance = m_properties->addProperty( "Variance", "variance for the level set.", 1.0, m_propCondition );
m_threshold = m_properties->addProperty( "Threshold", "Threshold in %.", 0.0, m_propCondition );
}
std::string WSegmentationAlgoLevelSetCanny::getName()
......
......@@ -39,14 +39,14 @@ WSegmentationAlgoRegionGrowingConfidenceConnected::~WSegmentationAlgoRegionGrowi
void WSegmentationAlgoRegionGrowingConfidenceConnected::properties()
{
m_smoothingIter = m_properties->addProperty( "Smoothing iterations.", "Number of smoothing passes.", 10, m_propCondition );
m_conductance = m_properties->addProperty( "Conductance.", "Conductance parameter for smoothing.", 1.0, m_propCondition );
m_smoothingIter = m_properties->addProperty( "Smoothing iterations", "Number of smoothing passes.", 10, m_propCondition );
m_conductance = m_properties->addProperty( "Conductance", "Conductance parameter for smoothing.", 1.0, m_propCondition );
m_conductance->setMax( 10.0 );
m_regionGrowingIterations = m_properties->addProperty( "Iterations.", "Number of region growing iterations.", 10, m_propCondition );
m_neighborhoodRadius = m_properties->addProperty( "Neighborhood radius.", "Initial neighborhood radius.", 2, m_propCondition );
m_regionGrowingIterations = m_properties->addProperty( "Iterations", "Number of region growing iterations.", 10, m_propCondition );
m_neighborhoodRadius = m_properties->addProperty( "Neighborhood radius", "Initial neighborhood radius.", 2, m_propCondition );
m_neighborhoodRadius->setMin( 1 );
m_neighborhoodRadius->setMax( 35 );
m_multiplier = m_properties->addProperty( "Variance multiplier.", "Variance multiplier.", 2.5, m_propCondition );
m_multiplier = m_properties->addProperty( "Variance multiplier", "Variance multiplier.", 2.5, m_propCondition );
m_multiplier->setMax( 20.0 );
}
......
......@@ -37,7 +37,7 @@ WSegmentationAlgoThreshold::~WSegmentationAlgoThreshold()
void WSegmentationAlgoThreshold::properties()
{
m_threshold = m_properties->addProperty( "Threshold.", "Threshold in %.", 0.0, m_propCondition );
m_threshold = m_properties->addProperty( "Threshold", "Threshold in %.", 0.0, m_propCondition );
}
std::string WSegmentationAlgoThreshold::getName()
......
......@@ -39,10 +39,10 @@ WSegmentationAlgoWatershed::~WSegmentationAlgoWatershed()
void WSegmentationAlgoWatershed::properties()
{
m_threshold = m_properties->addProperty( "Threshold.", "Threshold in %.", 0.0, m_propCondition );
m_level = m_properties->addProperty( "Level.", "Water level in %.", 0.0, m_propCondition );
m_iter = m_properties->addProperty( "Iterations.", "Number of smoothing passes:", 10, m_propCondition );
m_conductance = m_properties->addProperty( "Conductance.", "Conductance parameter for smoothing.", 1.0, m_propCondition );
m_threshold = m_properties->addProperty( "Threshold", "Threshold in %.", 0.0, m_propCondition );
m_level = m_properties->addProperty( "Level", "Water level in %.", 0.0, m_propCondition );
m_iter = m_properties->addProperty( "Iterations", "Number of smoothing passes:", 10, m_propCondition );
m_conductance = m_properties->addProperty( "Conductance", "Conductance parameter for smoothing.", 1.0, m_propCondition );
m_conductance->setMax( 10.0 );
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment