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

Consistency in coloring of radial / non-polar axes. Testing this.

Change-Id: I2e3f4cbc9ff8691f06422c8a218d2fecf929dca2
parent 01bf6b6a
......@@ -88,8 +88,8 @@ int TestPolarAxes( int argc, char * argv [] )
polaxes->SetRadialLabelFormat( "%6.1f" );
polaxes->GetRadialAxesProperty()->SetColor( .0, .0, .9 );
polaxes->SetScreenSize( 12.0 );
polaxes->GetPolarAxisTitleTextProperty()->SetColor( 1., 0., 0. );
polaxes->GetPolarAxisLabelTextProperty()->SetColor( 1., 0., 0. );
polaxes->GetPolarAxisTitleTextProperty()->SetColor( .8, 0., 0. );
polaxes->GetPolarAxisLabelTextProperty()->SetColor( .8, 0., 0. );
vtkNew<vtkRenderWindow> renWin;
renWin->SetMultiSamples( 0 );
......
......@@ -167,8 +167,6 @@ vtkPolarAxesActor::vtkPolarAxesActor() : vtkActor()
}
}
this->ActualRadialLabel = 0;
// Default tick location, defined in vtkAxisActor
this->TickLocation = VTK_TICKS_BOTH;
......@@ -561,6 +559,7 @@ void vtkPolarAxesActor::SetNonDependentAttributes()
{
axis->SetLabelVisibility( 0 );
axis->SetTickVisibility( 0 );
axis->GetTitleTextProperty()->SetColor( this->GetRadialAxesProperty()->GetColor() );
}
}
}
......
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