Commit e5ee37f1 authored by Andy Cedilnik's avatar Andy Cedilnik
Browse files

Clean header

parent a1b213e6
......@@ -34,7 +34,7 @@
#include "vtkSphereSource.h"
#include "vtkTransform.h"
vtkCxxRevisionMacro(vtkSplineWidget, "1.2");
vtkCxxRevisionMacro(vtkSplineWidget, "1.3");
vtkStandardNewMacro(vtkSplineWidget);
vtkSplineWidget::vtkSplineWidget()
......@@ -1209,6 +1209,11 @@ void vtkSplineWidget::SetResolution(int resolution)
this->LineActor->Modified();
}
void vtkSplineWidget::GetPolyData(vtkPolyData *pd)
{
pd->ShallowCopy(this->LineData);
}
void vtkSplineWidget::SizeHandles()
{
float radius = this->vtk3DWidget::SizeHandles(1.0);
......
......@@ -79,7 +79,6 @@
#define __vtkSplineWidget_h
#include "vtk3DWidget.h"
#include "vtkPolyData.h"
class vtkActor;
class vtkCardinalSpline;
......@@ -154,8 +153,7 @@ public:
// are guaranteed to be up-to-date when either the
// InteractionEvent or EndInteraction events are invoked. The user provides
// the vtkPolyData and the points and polyline are added to it.
void GetPolyData(vtkPolyData *pd)
{ pd->ShallowCopy(this->LineData); }
void GetPolyData(vtkPolyData *pd);
// Description:
// Get the handle properties (the little balls are the handles). The
......
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