Commit d2346613 authored by Karthik Krishnan's avatar Karthik Krishnan
Browse files

ENH: remove legacy method. The code has been moved from the representation to...

ENH: remove legacy method. The code has been moved from the representation to the widget because we need to change the state of the widget
parent c3d6e187
......@@ -40,7 +40,7 @@
#include "vtkFocalPlanePointPlacer.h"
#include "vtkBezierContourLineInterpolator.h"
vtkCxxRevisionMacro(vtkOrientedGlyphContourRepresentation, "1.11");
vtkCxxRevisionMacro(vtkOrientedGlyphContourRepresentation, "1.12");
vtkStandardNewMacro(vtkOrientedGlyphContourRepresentation);
//----------------------------------------------------------------------
......@@ -607,17 +607,6 @@ void vtkOrientedGlyphContourRepresentation::BuildRepresentation()
}
#ifndef VTK_LEGACY_REMOVE
//----------------------------------------------------------------------
void vtkOrientedGlyphContourRepresentation
::BuildRepresentationFromUserSuppliedPolydata( vtkPolyData * pd )
{
vtkWarningMacro( <<
"Deprecated. Please use vtkContourWidget::Initialize(vtkPolyData*) instead");
this->Initialize(pd);
}
#endif
//----------------------------------------------------------------------
void vtkOrientedGlyphContourRepresentation::GetActors(vtkPropCollection *pc)
{
......
......@@ -81,13 +81,6 @@ public:
virtual void WidgetInteraction(double eventPos[2]);
virtual int ComputeInteractionState(int X, int Y, int modified=0);
#ifndef VTK_LEGACY_REMOVE
// Description:
// Build a contour representation from externally supplied PolyData.
// Deprecated : Use vtkContourWidget::Initialize( vtkPolyData * ).
virtual void BuildRepresentationFromUserSuppliedPolydata( vtkPolyData * );
#endif
// Description:
// Methods to make this class behave as a vtkProp.
virtual void GetActors(vtkPropCollection *);
......
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