Commit 38a20908 authored by Alexander Wiebel's avatar Alexander Wiebel

[FIX] http://www.openwalnut.org/projects/openwalnut/wiki/TextCapitalizationRules

There are many more to do but it is already late in the evening.
parent 6c3a317d
......@@ -123,26 +123,26 @@ void WMBermanTracking::properties()
m_exceptionCondition = boost::shared_ptr< WCondition >( new WCondition() );
m_minFA = m_properties->addProperty( "Min. FA", "The fractional anisotropy threshold value needed by "
"bermans fiber tracking algorithm.", 0.02, m_propCondition );
"Berman's fiber tracking algorithm.", 0.02, m_propCondition );
m_minFA->setMax( 1.0 );
m_minFA->setMin( 0.0 );
m_minPoints = m_properties->addProperty( "Min. Points", "The minimum number of points per fiber.", 30, m_propCondition );
m_minPoints = m_properties->addProperty( "Min. points", "The minimum number of points per fiber.", 30, m_propCondition );
m_minPoints->setMax( 100 );
m_minPoints->setMin( 1 );
m_minCos = m_properties->addProperty( "Min. Cosine", "Minimum cosine of the angle between two"
m_minCos = m_properties->addProperty( "Min. cosine", "Minimum cosine of the angle between two"
" adjacent fiber segments.", 0.30, m_propCondition );
m_minCos->setMax( 1.0 );
m_minCos->setMin( 0.0 );
m_probabilistic = m_properties->addProperty( "Probabilistic tracking?", "Use bootstrapping for SH generation per voxel.", true, m_propCondition );
m_seedsPerDirection = m_properties->addProperty( "Seeds per Dir", "The number of seeds in a voxel per direction.", 1, m_propCondition );
m_seedsPerDirection = m_properties->addProperty( "Seeds per dir", "The number of seeds in a voxel per direction.", 1, m_propCondition );
m_seedsPerDirection->setMin( 1 );
m_seedsPerDirection->setMax( 16 );
m_seedsPerPosition = m_properties->addProperty( "Seeds per Pos", "The number of seeds in a voxel per position.", 1, m_propCondition );
m_seedsPerPosition = m_properties->addProperty( "Seeds per pos", "The number of seeds in a voxel per position.", 1, m_propCondition );
m_seedsPerPosition->setMax( 1000 );
m_seedsPerPosition->setMin( 1 );
......@@ -355,7 +355,7 @@ void WMBermanTracking::resetProgress( std::size_t todo )
{
m_currentProgress->finish();
}
m_currentProgress = boost::shared_ptr< WProgress >( new WProgress( "berman tracking", todo ) );
m_currentProgress = boost::shared_ptr< WProgress >( new WProgress( "Berman tracking", todo ) );
m_progress->addSubProgress( m_currentProgress );
}
......
......@@ -221,11 +221,11 @@ void WMDeterministicFTMori::properties()
m_minFA->setMax( 1.0 );
m_minFA->setMin( 0.0 );
m_minPoints = m_properties->addProperty( "Min. Points", "The minimum number of points per fiber.", 30, m_propCondition );
m_minPoints = m_properties->addProperty( "Min. points", "The minimum number of points per fiber.", 30, m_propCondition );
m_minPoints->setMax( 100 );
m_minPoints->setMin( 1 );
m_minCos = m_properties->addProperty( "Min. Cosine", "Minimum cosine of the angle between two"
m_minCos = m_properties->addProperty( "Min. cosine", "Minimum cosine of the angle between two"
" adjacent fiber segments.", 0.80, m_propCondition );
m_minCos->setMax( 1.0 );
m_minCos->setMin( 0.0 );
......
......@@ -112,14 +112,14 @@ void WMDirectVolumeRendering::properties()
m_localIlluminationSelections = boost::shared_ptr< WItemSelection >( new WItemSelection() );
m_localIlluminationSelections->addItem( "No Local Illumination", "Volume Renderer only uses the classified voxel color." );
m_localIlluminationSelections->addItem( "Blinn-Phong", "Blinn-Phong lighting is used for shading each classified voxel." );
m_localIlluminationAlgo = m_properties->addProperty( "Local Illumination Model", "The illumination algorithm to use.",
m_localIlluminationAlgo = m_properties->addProperty( "Local illumination model", "The illumination algorithm to use.",
m_localIlluminationSelections->getSelectorFirst(), m_propCondition );
WPropertyHelper::PC_SELECTONLYONE::addTo( m_localIlluminationAlgo );
WPropertyHelper::PC_NOTEMPTY::addTo( m_localIlluminationAlgo );
// transfer functions
m_tfLoaderGroup = m_properties->addPropertyGroup( "Transfer Function", "Transfer Function loading." );
m_tfLoaderGroup = m_properties->addPropertyGroup( "Transfer function", "Transfer function loading." );
m_tfLoaderEnabled = m_tfLoaderGroup->addProperty( "Enable", "Enable TF loading from file.", false, m_propCondition );
m_tfLoaderFile = m_tfLoaderGroup->addProperty( "File", "The 1D image containing the transfer function.",
WPathHelper::getAppPath(), m_propCondition );
......@@ -129,11 +129,11 @@ void WMDirectVolumeRendering::properties()
// additional artifact removal methods
m_improvementGroup = m_properties->addPropertyGroup( "Improvements", "Methods for improving image quality. Most of these methods imply "
"additional calculation/texture overhead and therefore slow down rendering." );
m_stochasticJitterEnabled = m_improvementGroup->addProperty( "Stochastic Jitter", "With stochastic jitter, wood-grain artifacts can be "
m_stochasticJitterEnabled = m_improvementGroup->addProperty( "Stochastic jitter", "With stochastic jitter, wood-grain artifacts can be "
"removed with the cost of possible noise artifacts.", true,
m_propCondition );
m_opacityCorrectionEnabled = m_improvementGroup->addProperty( "Opacity Correction", "If enabled, opacities are assumed to be relative to the "
m_opacityCorrectionEnabled = m_improvementGroup->addProperty( "Opacity correction", "If enabled, opacities are assumed to be relative to the "
"sample count. If disabled, changing the sample count "
"varies brightness of the image.", true,
m_propCondition );
......
......@@ -93,9 +93,9 @@ void WMFiberDisplaySimple::properties()
m_illuminationEnable = m_properties->addProperty( "Illumination", "Enable line illumination.", true );
m_colormapEnabled = m_properties->addProperty( "Enable Colormapping", "Check this to enable colormapping. On large data, this can cause "
m_colormapEnabled = m_properties->addProperty( "Enable colormapping", "Check this to enable colormapping. On large data, this can cause "
"massive FPS drop.", false );
m_colormapRatio = m_properties->addProperty( "Colormap Ratio", "Defines the ratio between colormap and fiber color.", 0.0 );
m_colormapRatio = m_properties->addProperty( "Colormap ratio", "Defines the ratio between colormap and fiber color.", 0.0 );
m_colormapRatio->setMin( 0.0 );
m_colormapRatio->setMax( 1.0 );
......
......@@ -131,21 +131,21 @@ void WMIsosurfaceRaytracer::properties()
m_alpha->setMin( 0.0 );
m_alpha->setMax( 1.0 );
m_colormapRatio = m_properties->addProperty( "Colormap Ratio", "The intensity of the colormap in contrast to surface shading.", 0.5 );
m_colormapRatio = m_properties->addProperty( "Colormap ratio", "The intensity of the colormap in contrast to surface shading.", 0.5 );
m_colormapRatio->setMin( 0.0 );
m_colormapRatio->setMax( 1.0 );
m_phongShading = m_properties->addProperty( "Phong Shading", "If enabled, Phong shading gets applied on a per-pixel basis.", true );
m_phongShading = m_properties->addProperty( "Phong shading", "If enabled, Phong shading gets applied on a per-pixel basis.", true );
m_cortexMode = m_properties->addProperty( "Emphasize Cortex", "Emphasize the Cortex while inner parts ar not that well lighten.", false );
m_cortexMode = m_properties->addProperty( "Emphasize cortex", "Emphasize the cortex while inner parts ar not that well lighten.", false );
m_stochasticJitter = m_properties->addProperty( "Stochastic Jitter", "Improves image quality at low sampling rates but introduces slight "
m_stochasticJitter = m_properties->addProperty( "Stochastic jitter", "Improves image quality at low sampling rates but introduces slight "
"noise effect.", true );
m_borderClip = m_properties->addProperty( "Border Clip", "If enabled, a certain area on the volume boundary can be clipped. This is useful "
m_borderClip = m_properties->addProperty( "Border clip", "If enabled, a certain area on the volume boundary can be clipped. This is useful "
"for noise and non-peeled data but will consume a lot of GPU power.", false );
m_borderClipDistance = m_properties->addProperty( "Border Clip Distance", "The distance that should be ignored.", 0.05 );
m_borderClipDistance = m_properties->addProperty( "Border clip distance", "The distance that should be ignored.", 0.05 );
m_borderClipDistance->setMin( 0.0 );
m_borderClipDistance->setMax( 0.1 );
......
......@@ -88,7 +88,7 @@ void WMNavigationSlices::connectors()
void WMNavigationSlices::properties()
{
m_noTransparency = m_properties->addProperty( "No Transparency", "If checked, transparency is not used. This will show the complete slices.",
m_noTransparency = m_properties->addProperty( "No transparency", "If checked, transparency is not used. This will show the complete slices.",
false );
m_sliceGroup = m_properties->addPropertyGroup( "Slices", "Slice Options." );
......
......@@ -155,8 +155,8 @@ void WMTriangleMeshRenderer::properties()
m_propCondition = boost::shared_ptr< WCondition >( new WCondition() );
// setup all the properties. See header file for their meaning and purpose.
m_mainComponentOnly = m_properties->addProperty( "Main Component", "Main component only", false, m_propCondition );
m_showCoordinateSystem = m_properties->addProperty( "Coordinate System", "If enabled, the coordinate system of the mesh will be shown.",
m_mainComponentOnly = m_properties->addProperty( "Main component", "Main component only", false, m_propCondition );
m_showCoordinateSystem = m_properties->addProperty( "Coordinate system", "If enabled, the coordinate system of the mesh will be shown.",
false, m_propCondition );
m_coloringGroup = m_properties->addPropertyGroup( "Coloring", "Coloring options and colormap options." );
......@@ -170,16 +170,16 @@ void WMTriangleMeshRenderer::properties()
colorModes->addItem( "Single Color", "The whole surface is colored using the default color." );
colorModes->addItem( "From Mesh", "The surface is colored according to the mesh." );
colorModes->addItem( "From colormap connector", "The surface is colored using the colormap on colorMap connector." );
m_colorMode = m_coloringGroup->addProperty( "Color-Mode", "Choose one of the available colorings.", colorModes->getSelectorFirst(),
m_colorMode = m_coloringGroup->addProperty( "Color mode", "Choose one of the available colorings.", colorModes->getSelectorFirst(),
m_propCondition );
WPropertyHelper::PC_SELECTONLYONE::addTo( m_colorMode );
// this is the color used if single color is selected
m_color = m_coloringGroup->addProperty( "Default Color", "The color of of the surface.",
m_color = m_coloringGroup->addProperty( "Default color", "The color of of the surface.",
WColor( .9f, .9f, 0.9f, 1.0f ), m_propCondition );
m_colormap = m_coloringGroup->addProperty( "Enable Colormapping", "Turn Colormapping on", false );
m_colormapRatio = m_coloringGroup->addProperty( "Colormap Ratio", "Set the Colormap Ratio", 0.5 );
m_colormap = m_coloringGroup->addProperty( "Enable colormapping", "Turn colormapping on", false );
m_colormapRatio = m_coloringGroup->addProperty( "Colormap ratio", "Set the colormap Ratio", 0.5 );
m_colormapRatio->setMin( 0.0 );
m_colormapRatio->setMax( 1.0 );
......
......@@ -81,8 +81,8 @@ void WMWriteMesh::properties()
{
m_propCondition = boost::shared_ptr< WCondition >( new WCondition() );
m_savePropGroup = m_properties->addPropertyGroup( "Save Surface", "" );
m_saveTriggerProp = m_savePropGroup->addProperty( "Do Save", "Press!", WPVBaseTypes::PV_TRIGGER_READY, m_propCondition );
m_meshFile = m_savePropGroup->addProperty( "Mesh File", "", WPathHelper::getAppPath() );
m_saveTriggerProp = m_savePropGroup->addProperty( "Do save", "Press!", WPVBaseTypes::PV_TRIGGER_READY, m_propCondition );
m_meshFile = m_savePropGroup->addProperty( "Mesh file", "", WPathHelper::getAppPath() );
m_fileTypeSelectionsList = boost::shared_ptr< WItemSelection >( new WItemSelection() );
m_fileTypeSelectionsList->addItem( "VTK ASCII", "" );
......
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