Commit ee901dee authored by Sankhesh Jhaveri's avatar Sankhesh Jhaveri 💬
Browse files

FIX: vtkPolyDataSource is yanked. Removed access methods

Change-Id: I625c54900735cd41cec7166845b62e572568ee64
parent 9433a204
......@@ -328,9 +328,6 @@ SET_SOURCE_FILES_PROPERTIES(
vtkLightingHelper
vtkRenderState
vtkOpenGLState
vtkShader2
vtkShader2Collection
vtkShaderProgram2
vtkTextureUnitManager
vtkTestingInteractor
vtkTestingObjectFactory
......
......@@ -56,12 +56,6 @@ void vtkPolyDataSourceWidget::PlaceWidget()
this->PlaceWidget(bounds);
}
vtkPolyDataSource* vtkPolyDataSourceWidget::GetPolyDataSource()
{
vtkErrorMacro("Use GetPolyDataAlgorithm instead.");
return NULL;
}
void vtkPolyDataSourceWidget::PrintSelf(ostream& os, vtkIndent indent)
{
this->Superclass::PrintSelf(os,indent);
......
......@@ -37,7 +37,6 @@
#include "vtk3DWidget.h"
class vtkPolyDataAlgorithm;
class vtkPolyDataSource;
class VTK_WIDGETS_EXPORT vtkPolyDataSourceWidget : public vtk3DWidget
{
......@@ -64,12 +63,11 @@ class VTK_WIDGETS_EXPORT vtkPolyDataSourceWidget : public vtk3DWidget
{this->Superclass::PlaceWidget(xmin,xmax,ymin,ymax,zmin,zmax);}
// Description:
// Returns underlying vtkPolyDataSource that determines geometry. This
// Returns underlying vtkPolyDataAlgorithm that determines geometry. This
// can be modified after which PlaceWidget() or UpdatePlacement() can be
// called. UpdatePlacement() will always update the planewidget according
// to the geometry of the underlying PolyDataSource. PlaceWidget() will
// to the geometry of the underlying PolyDataAlgorithm. PlaceWidget() will
// only make use of this geometry if there is no Input and no Prop3D set.
virtual vtkPolyDataSource* GetPolyDataSource();
virtual vtkPolyDataAlgorithm* GetPolyDataAlgorithm() = 0;
// Description:
......
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