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

Added infrastructure for polar arcs and their properties

Change-Id: I5ac6931cdc56bfb44e7d7a7ef780d0f079204f1d
parent facd7931
......@@ -22,6 +22,8 @@
#include "vtkFollower.h"
#include "vtkMath.h"
#include "vtkObjectFactory.h"
#include "vtkPolyData.h"
#include "vtkPolyDataMapper.h"
#include "vtkProperty.h"
#include "vtkStringArray.h"
#include "vtkTextProperty.h"
......@@ -829,3 +831,16 @@ vtkProperty* vtkPolarAxesActor::GetRadialAxesProperty()
{
return this->RadialAxesProperty;
}
// ****************************************************************************
void vtkPolarAxesActor::SetPolarArcsProperty( vtkProperty *prop )
{
this->PolarArcsActor->SetProperty(prop);
this->Modified();
}
// ****************************************************************************
vtkProperty* vtkPolarAxesActor::GetPolarArcsProperty()
{
return this->PolarArcsActor->GetProperty();
}
......@@ -40,6 +40,8 @@ All rights reserve
class vtkAxisActor;
class vtkCamera;
class vtkPolyData;
class vtkPolyDataMapper;
class vtkTextProperty;
class VTK_HYBRID_EXPORT vtkPolarAxesActor : public vtkActor
......@@ -173,9 +175,14 @@ public:
// Description:
// Get/Set radial axes actors properties.
void SetRadialAxesProperty(vtkProperty *);
virtual void SetRadialAxesProperty(vtkProperty *);
vtkProperty* GetRadialAxesProperty();
// Description:
// Get/Set polar arcs actors property
virtual void SetPolarArcsProperty(vtkProperty *);
vtkProperty* GetPolarArcsProperty();
// Description:
// Set automatic label scaling mode, set axis exponents
void SetLabelScaling( bool, int );
......@@ -257,6 +264,14 @@ void BuildPolarAxisTicks( double );
// Explicit actor bounds
double Bounds[6];
// Description:
// Structures for polar arcs
vtkPolyData *PolarArcs;
vtkPolyDataMapper *PolarArcsMapper;
vtkActor *PolarArcsActor;
// Description:
// Camera attached to the polar axes system
vtkCamera *Camera;
// 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