[prev in list] [next in list] [prev in thread] [next in thread]
List: vtkusers
Subject: Re: [vtkusers] vtkStreamTracer->SetInput(
From: Berk Geveci <berklist () nycap ! rr ! com>
Date: 2003-10-30 14:04:22
Message-ID: 1067522661.8795.9.camel () caemlyn ! kitwarein ! com
[Download RAW message or body]
Actually, since vtkPolyData is a sub-class of vtkDataSet,
setting the input without the cast should work. I think the
problem lies in the fact that the compiler does not recognize
that vtkPolyData is a sub-class of vtkDataSet. Did you
include vtkPolyData.h ?
-Berk
On Thu, 2003-10-30 at 06:35, joseph mccoy wrote:
> Hello All,
>
> maybe this question is very stupid and also had been answered before a
> hundret times, but i don't seem to be able to find an answer! Maybe
> someone could help me. Here is my problem:
>
> with vtk4.0 i feeded a vtkStreamer with a vtkPlaneSource via
> ->SetSource(plane->GetOutput() ). īthat worked fine. now i wanted to
> port the concept to vtk4.23 using vtkStreamTracer and i learned that
> StreamTracer needs a dataSet as input, but planeSource produces
> polyData.
>
> Does anybody know how to convert a polyData into a DataSet? or how i
> could use a plane as Input for the StreamTracer?
>
> Thanks
>
> Joseph
--
Berk Geveci <berklist@nycap.rr.com>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic