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

Tick locatoion (for polar axis only) always will be TICKS_BOTH

Change-Id: I0a81d7d7ddb9f8feb7dcee67bf22b412d6a7e42b
parent ebddc51d
......@@ -102,9 +102,6 @@ void vtkPolarAxesActor::PrintSelf( ostream& os, vtkIndent indent )
os << indent << "Polar Arcs Visibility: "
<< ( this->PolarArcsVisibility ? "On" : "Off" ) << endl;
os << indent << "Tick Location: " << this->TickLocation << endl;
}
//-----------------------------------------------------------------------------
......@@ -205,9 +202,6 @@ vtkPolarAxesActor::vtkPolarAxesActor() : vtkActor()
axis->GetTitleActor()->SetScreenOffset( .67 * offset );
} // for ( int i = 0; i < VTK_MAXIMUM_NUMBER_OF_RADIAL_AXES; ++ i )
// Default tick location, defined in vtkAxisActor
this->TickLocation = VTK_TICKS_BOTH;
// Create and set polar arcs and ancillary objects, with default color white
this->PolarArcs = vtkPolyData::New();
this->PolarArcsMapper = vtkPolyDataMapper::New();
......@@ -506,7 +500,7 @@ void vtkPolarAxesActor::BuildAxes( vtkViewport *viewport )
// Set polar axis ticks (major only)
axis->SetTickVisibility( this->PolarTickVisibility );
axis->SetTickLocation( this->TickLocation );
axis->SetTickLocation( VTK_TICKS_BOTH );
axis->SetMajorTickSize( .02 * this->MaximumRadius );
// Set polar axis labels
......
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