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

Se a default ScreenSize in the constructor

Change-Id: I76c7f7753aabdccf936fe735e0d86183ba6b503d
parent d919827d
......@@ -125,6 +125,10 @@ vtkPolarAxesActor::vtkPolarAxesActor() : vtkActor()
this->ScreenSize = 10.0;
// Considering pivot point at center of the geometry,
// hence ( this->ScreenSize * 0.5 ).
this->LabelScreenOffset = 20.0 + this->ScreenSize * 0.5;
// Create and set radial axes
this->RadialAxes = new vtkAxisActor*[this->NumberOfRadialAxes];
for ( int i = 0; i < this->NumberOfRadialAxes; ++ i )
......
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