[vtkusers] Streamlines

Sebastian Gatzka sebastian.gatzka at stud.tu-darmstadt.de
Thu Mar 25 06:36:08 EDT 2010


Hello Berk.

I have some basic data (see attachement). Nothing special. But maybe 
enought for an example.

Thanks!

Am 25.03.2010 01:05, schrieb Berk Geveci:
> Can you send me an example dataset that I can use to write the example
> on the wiki? I can find one but I am bored of the datasets that I
> have. Please keep in mind that the dataset will be public.
>
> On Wed, Mar 24, 2010 at 9:30 AM, Sebastian Gatzka
> <sebastian.gatzka at stud.tu-darmstadt.de>  wrote:
>    
>> Hello World.
>>
>> What is essential to create streamlines with vtkStreamTracer?
>> I haven't found an example so far.
>>
>> I have vector data stored on structured grid cell centers.
>>
>> Any idea how I can input those to the stream tracer?
>>
>> Minimal code like this is obviously not correct:
>>
>> vtkStreamTracer *streamTracer = vtkStreamTracer::New();
>> streamTracer->SetInput(gridCellCenters->GetOutput());
>> streamTracer->SetStartPosition(0.5,0.5,0.5);
>> streamTracer->Update();
>>
>> Sebastian
>>
>> _______________________________________________
>> 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/20100325/f6cdd16a/attachment.htm>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: data.cpp
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20100325/f6cdd16a/attachment.txt>


More information about the vtkusers mailing list