}
//-----------------------------------------------------------------------------
+#if (VTK_MINOR_VERSION>=2)
// porting to VTK 5.0.x
-/*
int vtkPVAxesActor::RenderTranslucentPolygonalGeometry(vtkViewport *vp)
{
int renderedSomething=0;
return renderedSomething;
}
-*/
//-----------------------------------------------------------------------------
// porting to VTK 5.0.x
-/*
int vtkPVAxesActor::HasTranslucentPolygonalGeometry()
{
int result = 0;
return result;
}
-*/
+#else
//-----------------------------------------------------------------------------
// porting to VTK 5.0.x
int vtkPVAxesActor::RenderTranslucentGeometry(vtkViewport *vp)
return renderedSomething;
}
+#endif
//-----------------------------------------------------------------------------
void vtkPVAxesActor::ReleaseGraphicsResources(vtkWindow *win)
// Description:
// Support the standard render methods.
virtual int RenderOpaqueGeometry(vtkViewport *viewport);
- //virtual int RenderTranslucentPolygonalGeometry(vtkViewport *viewport); // porting to VTK 5.0.x
- //virtual int HasTranslucentPolygonalGeometry(); // porting to VTK 5.0.x
+#if (VTK_MINOR_VERSION>=2)
+ virtual int RenderTranslucentPolygonalGeometry(vtkViewport *viewport); // porting to VTK 5.0.x
+ virtual int HasTranslucentPolygonalGeometry(); // porting to VTK 5.0.x
+#else
virtual int RenderTranslucentGeometry(vtkViewport *viewport); // porting to VTK 5.0.x
+#endif
// Description:
// Shallow copy of an axes actor. Overloads the virtual vtkProp method.