Commit 8e3948c4 authored by Alexander Wiebel's avatar Alexander Wiebel

[STYLE #364] fixed typos Poission -> Poisson

parent 39b39372
...@@ -138,11 +138,11 @@ void WMFiberStipples::properties() ...@@ -138,11 +138,11 @@ void WMFiberStipples::properties()
m_numSamples->setMax( 100000 ); m_numSamples->setMax( 100000 );
m_samplingMethods = boost::shared_ptr< WItemSelection >( new WItemSelection() ); m_samplingMethods = boost::shared_ptr< WItemSelection >( new WItemSelection() );
m_samplingMethods->addItem( SamplingMethod::create( 0, "Poission", "Poission-Disk Sampling" ) ); m_samplingMethods->addItem( SamplingMethod::create( 0, "Poisson", "Poisson-Disk Sampling" ) );
m_samplingMethods->addItem( SamplingMethod::create( 1, "Stratified", "Stratified (Uniform-Cell) Sampling" ) ); m_samplingMethods->addItem( SamplingMethod::create( 1, "Stratified", "Stratified (Uniform-Cell) Sampling" ) );
m_samplingMethods->addItem( SamplingMethod::create( 2, "Uniform", "Uniform (Slice) Sampling" ) ); m_samplingMethods->addItem( SamplingMethod::create( 2, "Uniform", "Uniform (Slice) Sampling" ) );
m_samplingMethods->addItem( SamplingMethod::create( 3, "Regular", "Regular Sampling" ) ); m_samplingMethods->addItem( SamplingMethod::create( 3, "Regular", "Regular Sampling" ) );
m_samplingSelection = m_properties->addProperty( "Sampling Method", "Which placement strategy. We suggest Poission-Disk!", m_samplingMethods->getSelector( 0 ), m_propCondition ); m_samplingSelection = m_properties->addProperty( "Sampling Method", "Which placement strategy. We suggest Poisson-Disk!", m_samplingMethods->getSelector( 0 ), m_propCondition );
WPropertyHelper::PC_SELECTONLYONE::addTo( m_samplingSelection ); WPropertyHelper::PC_SELECTONLYONE::addTo( m_samplingSelection );
m_outline = m_properties->addProperty( "Outline", "Stipple Outline Y|N", true ); m_outline = m_properties->addProperty( "Outline", "Stipple Outline Y|N", true );
...@@ -159,7 +159,7 @@ void WMFiberStipples::properties() ...@@ -159,7 +159,7 @@ void WMFiberStipples::properties()
m_outlineInOut = m_properties->addProperty( "In-Out Outline", "In/out-side of Stipple", true ); m_outlineInOut = m_properties->addProperty( "In-Out Outline", "In/out-side of Stipple", true );
m_sampleRes = m_properties->addProperty( "PoissionRes", "Poission Sampling Resolution", 0.02, m_propCondition ); m_sampleRes = m_properties->addProperty( "PoissonRes", "Poisson Sampling Resolution", 0.02, m_propCondition );
m_sampleRes->setMin( 0.0001 ); m_sampleRes->setMin( 0.0001 );
m_sampleRes->setMax( 0.2 ); m_sampleRes->setMax( 0.2 );
...@@ -426,7 +426,7 @@ void WMFiberStipples::moduleMain() ...@@ -426,7 +426,7 @@ void WMFiberStipples::moduleMain()
if( m_sampleRes->changed() ) if( m_sampleRes->changed() )
{ {
debugLog() << "New poission sampling resolution"; debugLog() << "New poisson sampling resolution";
if( boost::filesystem::path( "/" ) != boost::filesystem::path( m_stippleFileName ) && boost::filesystem::exists( m_stippleFileName ) && boost::filesystem::is_regular_file( m_stippleFileName ) ) if( boost::filesystem::path( "/" ) != boost::filesystem::path( m_stippleFileName ) && boost::filesystem::exists( m_stippleFileName ) && boost::filesystem::is_regular_file( m_stippleFileName ) )
boost::filesystem::remove( m_stippleFileName ); boost::filesystem::remove( m_stippleFileName );
} }
......
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