[vtk-developers] vtkXYPlot API Change?
Sebastien BARRE
sebastien.barre at kitware.com
Tue Jul 2 08:57:25 EDT 2002
At 7/2/2002 08:32 AM, Lorensen, William E (Research) wrote:
>I have a local class that uses an XYPlotActor internally. The following
>statemnet used to work:
>
> this->Plot->GetProperty()->SetPointSize(5);
>where Plot is an XYPlotActor.
>
>This no longer compiles.
Sorry Bill, now I get it.
The API has not changed.
What you see here is a side-effect of the massive (and very welcome)
headers cleanup Andy started a while ago. I kept doing that recently on
these text actors, and since some of them were really "composite", they
used to include a lot of "unnecessary" headers in their declaration files.
I moved these #include to the implementation file.
What you experience here is that a header file is now missing for you,
since it used to be #include'd by vtkXYPlotActor.h. It's most probably
<vtkProperty2D.h> (you might also need vtkViewport.h)
--
Sebastien Barre
More information about the vtk-developers
mailing list