[vtkusers] Graphing points

Bill Lorensen bill.lorensen at gmail.com
Fri Oct 1 16:36:47 EDT 2010


This example may help you get started...
http://vtk.org/Wiki/VTK/Examples/Cxx/IO/ReadPlainText


On Fri, Oct 1, 2010 at 4:02 PM, Barney Sperlin <bsperlinus at yahoo.com> wrote:

> Hi,
>      I am trying to find an example of plotting a single point.  The goal
> would be to read the coordinates of a set of points from a file and plot
> each point, possibly connecting some with line segments.  Showing a
> coordinate system would be good, too.
>      I have looked at PointClouds and
> StructuredPointsToUnstructuredGrid.cxx but the point-by-point mechanism
> seems to be hidden.  How do I do that?
>
>      Also, in running the code from this last mentioned cxx file by pasting
> it into vtk_minimal (which runs) and commenting out the code for
> vtk_minimal, it compiles but doesn't link.  On of the 11 errors is:
> 1>vtk_minimal.obj : error LNK2019: unresolved external symbol
> "__declspec(dllimport) public: __thiscall
> vtkSmartPointerBase::~vtkSmartPointerBase(void)"
> (__imp_??1vtkSmartPointerBase@@QAE at XZ) referenced in function "public:
> __thiscall vtkSmartPointer<class
> vtkStructuredPoints>::~vtkSmartPointer<class vtkStructuredPoints>(void)"
> (??1?$vtkSmartPointer at VvtkStructuredPoints@@@@QAE at XZ)
> What lib file is missing?
>
>      Thanks,
>         Barney
>
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20101001/21da919b/attachment.htm>


More information about the vtkusers mailing list