[vtkusers] Problem getting correct results with vtkProjectedTerrainPath

Elvis Dowson elvis.dowson at mac.com
Wed Nov 19 23:20:41 EST 2008


Hi Mike,
                   Yes, that's exactly what I want to do. The I want  
to change the scale factor of the original DEM data, and then pass the  
new scaled height information to vtkProjectedTerrainPath.

Best regards,

Elvis

On Nov 19, 2008, at 6:11 PM, Michael Jackson wrote:

>
>
> On Nov 19, 2008, at 9:22 AM, Elvis Dowson wrote:
>
>> Hi,
>>      Would somebody be able to help me figure out how to correctly  
>> probe and sample the results of a vtkWrapScalar and store the  
>> results in a vtkImageData?
>>
>> The problem is vtkProjectTerrainPath need the output of the  
>> vtkWrapScalar, so that the height field information passed to  
>> vtkProjectedTerrainFilter (a vtkImageData) is the output of the  
>> vtkWrapScalar filter.
>>
>>
>> I have been stuck with this problem for two weeks now and haven't  
>> been able to make any progress.
>>
>> Here is a screenshot of the results and the script that i have  
>> developed so far.
>>
>> <Problem with vtkProjectedTerrainPath 04.jpg>
>>
>>
>> <TestProjectedTerrainPathWithProbeFilter.tcl>
>>
>> Best regards,
>>
>> Elvis Dowson
>
> Is this kinda what you are wanting to do.
> <Picture 1.png>
>
> ?????
>
>
> _________________________________________________________
> Mike Jackson                  mike.jackson at bluequartz.net
>            www.bluequartz.net
>




More information about the vtkusers mailing list