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

Clamp polar angle from 0 to 360 degrees

Change-Id: I343654a7f1cc09df13010f538d4d9e15d65609c1
parent b7469068
...@@ -83,9 +83,9 @@ public: ...@@ -83,9 +83,9 @@ public:
vtkBooleanMacro( AutoScaleRadius,int ); vtkBooleanMacro( AutoScaleRadius,int );
// Description: // Description:
// Set/Get the maximum radius of the polar coordinates. // Set/Get the maximum radius of the polar coordinates (in degrees).
// Default: VTK_DEFAULT_MAXIMUM_POLAR_ANGLE // Default: VTK_DEFAULT_MAXIMUM_POLAR_ANGLE
vtkSetMacro( MaximumAngle, double ); vtkSetClampMacro( MaximumAngle, double, 0., 360. );
vtkGetMacro( MaximumAngle, double ); vtkGetMacro( MaximumAngle, double );
// Description: // Description:
......
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