[vtkusers] ContourFilter IsoLines in vtkDelaunay2D
Malcolm Drummond
malcolm at geovision.co.za
Tue May 13 18:32:13 EDT 2003
You will have to set the scalar range of the filter to the low and high z
values of the pointset (you could use GetBounds). I don't think you need to
set LowPoint and HighPoint values as the default is 0.0,0.0,0.0 and
0.0,0.0,1.0 respectively and the I think the points are projected onto a ray
passing through these points - but I could be wrong, so just experiment if
it's still not working.
Malcolm
----- Original Message -----
From: <mcsalas at chilesat.net>
To: <vtkusers-admin at public.kitware.com>; <malcolm at geovision.co.za>
Sent: Tuesday, May 13, 2003 9:05 PM
Subject: Re: Re: [vtkusers] ContourFilter IsoLines in vtkDelaunay2D
> Hi Malcolm and thank's for your answer. I try with the elevation but don't
> work, i don't know because what. I explain more:
>
> I have the txt file with coordinates x,y,z
> Then i reading this data in vtkPoints
> Then i pass the vtkPoints to a vtkPolyData
> Then i pass the vtkPolyData to vtkDelaunay2D
> Then vtkDelaunay2D to a vtkPolyDataNormals
> Then pass to vtkPolyDataMapper
> Then pass to vtkLODActor.
>
> That's Ok.
>
> When i Try with the vtkElevation i use in the follow mode:
>
> I pass the vtkPolyData to vtkElevation
> Set lowPoint( i assume one but i don't know is the correct) and the same
> to the HighPoint
> Then i set the ScalarRange
>
> Then i pass the Elevation to the contourFilter, then a PolyDatamapper and
> finish in a new vtkActor.
>
> When i display this actor i see only the First Actor. i can´t see the
isolines
> over the first actor, and i try hiden the first actor, but i don't see
any...
>
> Please if you know what's is my problem help me.
>
> Thank's in Advance and best regards from Chile.
>
> And Sorry for my english.
>
> Max
>
More information about the vtkusers
mailing list