Commit 2df9174a authored by bonnell's avatar bonnell

update to vtk-6.0 interface for vtkActor2D derived classes

git-svn-id: http://visit.ilight.com/svn/visit/trunk/src@22529 18c085ea-50e0-402c-830e-de6fd14e8384
parent 3f3d2c76
......@@ -75,7 +75,8 @@ public:
// Draw the actor as per the vtkProp superclass' API.
int RenderOverlay(vtkViewport *);
int RenderOpaqueGeometry(vtkViewport *);
int RenderTranslucentGeometry(vtkViewport *) { return 0;};
int RenderTranslucentPolygonalGeometry(vtkViewport *) { return 0;}
int HasTranslucentPolygonalGeometry() { return 0;}
// Description:
// Sets the corner colors.
......
......@@ -78,7 +78,8 @@ public:
// Description:
// Draw the legend and annotation text to the screen.
int RenderOpaqueGeometry(vtkViewport* viewport);
int RenderTranslucentGeometry(vtkViewport*) { return 0; };
int RenderTranslucentPolygonalGeometry(vtkViewport*) { return 0; }
int HasTranslucentPolygonalGeometry() { return 0; }
virtual int RenderOverlay(vtkViewport* viewport);
// Description:
......
......@@ -563,7 +563,13 @@ vtkTimeSliderActor::RenderOpaqueGeometry(vtkViewport *)
}
int
vtkTimeSliderActor::RenderTranslucentGeometry(vtkViewport *)
vtkTimeSliderActor::RenderTranslucentPolygonalGeometry(vtkViewport *)
{
return 0;
}
int
vtkTimeSliderActor::HasTranslucentPolygonalGeometry()
{
return 0;
}
......
......@@ -74,7 +74,8 @@ public:
// Draw the actor as per the vtkProp superclass' API.
virtual int RenderOverlay(vtkViewport *);
virtual int RenderOpaqueGeometry(vtkViewport *);
virtual int RenderTranslucentGeometry(vtkViewport *);
virtual int RenderTranslucentPolygonalGeometry(vtkViewport *);
virtual int HasTranslucentPolygonalGeometry();
vtkSetVector4Macro(StartColor, double);
vtkGetVector4Macro(StartColor, double);
......
......@@ -78,7 +78,8 @@ public:
// Draw the triad as per the vtkProp superclass' API.
int RenderOverlay(vtkViewport *);
int RenderOpaqueGeometry(vtkViewport *);
int RenderTranslucentGeometry(vtkViewport *) { return 0;};
int RenderTranslucentPolygonalGeometry(vtkViewport *) { return 0;}
int HasTranslucentPolygonalGeometry() { return 0;}
// Description:
// Set the origin of the triad in normalized viewport coordinates.
......
......@@ -246,7 +246,8 @@ public:
// Description:
// Draw the axis.
virtual int RenderOpaqueGeometry(vtkViewport* viewport);
virtual int RenderTranslucentGeometry(vtkViewport *) {return 0;}
virtual int RenderTranslucentPolygonalGeometry(vtkViewport *) {return 0;}
virtual int HasTranslucentPolygonalGeometry() {return 0;}
// Description:
// Release any graphics resources that are being consumed by this actor.
......
......@@ -299,7 +299,8 @@ public:
// Draw the axis.
int RenderOverlay(vtkViewport* viewport);
int RenderOpaqueGeometry(vtkViewport* viewport);
int RenderTranslucentGeometry(vtkViewport *) {return 0;}
int RenderTranslucentPolygonalGeometry(vtkViewport *) {return 0;}
int HasTranslucentPolygonalGeometry() {return 0;}
// Description:
// Release any graphics resources that are being consumed by this actor.
......
......@@ -161,7 +161,8 @@ public:
// Description:
// Draw the scalar bar and annotation text to the screen.
int RenderOpaqueGeometry(vtkViewport* viewport);
int RenderTranslucentGeometry(vtkViewport*) { return 0; };
int RenderTranslucentPolygonalGeometry(vtkViewport*) { return 0; }
int HasTranslucentPolygonalGeometry() { return 0; }
virtual int RenderOverlay(vtkViewport* viewport);
......
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