Commit 6080f5ce authored by Philippe Pébay's avatar Philippe Pébay
Browse files

Testing with reentrant polar angle

Change-Id: I91cdc4f44aabf881795d311be6c3388a89928f51
parent d2ba4d05
...@@ -82,8 +82,8 @@ int TestPolarAxes( int argc, char * argv [] ) ...@@ -82,8 +82,8 @@ int TestPolarAxes( int argc, char * argv [] )
polaxes->SetPole( .5, 1., 3. ); polaxes->SetPole( .5, 1., 3. );
polaxes->SetAutoScaleRadius( false ); polaxes->SetAutoScaleRadius( false );
polaxes->SetMaximumRadius( 3. ); polaxes->SetMaximumRadius( 3. );
polaxes->SetMaximumAngle( 200. ); polaxes->SetMaximumAngle( 210. );
polaxes->SetNumberOfRadialAxes( 7 ); polaxes->SetNumberOfRadialAxes( 8 );
polaxes->SetCamera( renderer->GetActiveCamera() ); polaxes->SetCamera( renderer->GetActiveCamera() );
polaxes->SetRadialLabelFormat( "%6.1f" ); polaxes->SetRadialLabelFormat( "%6.1f" );
polaxes->GetRadialAxesProperty()->SetColor( .0, .0, 1. ); polaxes->GetRadialAxesProperty()->SetColor( .0, .0, 1. );
...@@ -101,7 +101,7 @@ int TestPolarAxes( int argc, char * argv [] ) ...@@ -101,7 +101,7 @@ int TestPolarAxes( int argc, char * argv [] )
vtkNew<vtkRenderWindowInteractor> iren; vtkNew<vtkRenderWindowInteractor> iren;
iren->SetRenderWindow( renWin.GetPointer() ); iren->SetRenderWindow( renWin.GetPointer() );
renderer->SetBackground( .7, .7, .7 ); renderer->SetBackground( .8, .8, .8 );
renderer->AddViewProp( readerActor.GetPointer() ); renderer->AddViewProp( readerActor.GetPointer() );
renderer->AddViewProp( outlineActor.GetPointer() ); renderer->AddViewProp( outlineActor.GetPointer() );
renderer->AddViewProp( polaxes.GetPointer() ); renderer->AddViewProp( polaxes.GetPointer() );
......
Supports Markdown
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