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

Removed the RebuildAxes flag which will not be used here.

Change-Id: Id91090e695b434e0bccaef1a4ef975cb59cb8ebc
parent 21b0230b
......@@ -38,7 +38,7 @@ polaxes.SetAutoScaleRadius( 0 )
polaxes.SetMaximumRadius( 4.5 )
polaxes.SetMaximumAngle( 270. )
polaxes.SetNumberOfRadialAxes( 10 )
polaxes.SetNumberOfPolarAxisTicks( 10 )
polaxes.SetNumberOfPolarAxisTicks( 12 )
polaxes.SetAutoSubdividePolarAxis( 0 )
polaxes.SetCamera( camera )
polaxes.SetRadialLabelFormat( "%6.1f" )
......
......@@ -78,10 +78,6 @@ void vtkPolarAxesActor::PrintSelf( ostream& os, vtkIndent indent )
os << indent << "Camera: (none)\n";
}
os << indent << "Rebuild Axes: "
<< ( this->RebuildAxes ? "On\n" : "Off\n" );
os << indent << "Polar Axis Title: " << this->PolarAxisTitle << "\n";
os << indent << "PolarAxisLabelTextProperty: " << this->PolarAxisLabelTextProperty << endl;
os << indent << "PolarAxisTitleTextProperty: " << this->PolarAxisTitleTextProperty << endl;
......@@ -138,8 +134,6 @@ vtkPolarAxesActor::vtkPolarAxesActor() : vtkActor()
// By default show angle units (degrees)
this->RadialUnits = true;
this->RebuildAxes = false;
this->Camera = NULL;
this->ScreenSize = 10.0;
......@@ -308,7 +302,7 @@ int vtkPolarAxesActor::RenderOpaqueGeometry( vtkViewport *viewport )
this->BuildAxes( viewport );
if ( initialRender || this->RebuildAxes )
if ( initialRender )
{
for ( int i = 0; i < this->NumberOfRadialAxes; ++ i )
{
......@@ -316,7 +310,6 @@ int vtkPolarAxesActor::RenderOpaqueGeometry( vtkViewport *viewport )
}
}
initialRender = false;
this->RebuildAxes = false;
// Render the radial axes
int renderedSomething = 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