[vtkusers] BandContourTerrain.tcl demo

Mathieu Malaterre mathieu.malaterre at kitware.com
Mon Jul 26 11:24:48 EDT 2004


Nigel,

	You are right there is a problem, the vtkDEMReader uses now the 
coordinate instead of overriding them. I'll fix this, meanwhile press 
'r' to reset view

Thanks for report
Mathieu

http://vtk.org/cgi-bin/viewcvs.cgi/IO/vtkDEMReader.cxx?r1=1.32&r2=1.33&root=VTK

Nigel Nunn wrote:
> Thanks for the suggestion!  However, when I switch back 
> to the March version of Vtk 4.4, the demo works fine. 
> Can someone using current CVS version try running this: 
>  
> /Examples/VisualizationAlgorithms/Tcl/BandContourTerrain.tcl
>  
> thanks, 
> Nigel
>  
> -----Original Message-----
> From: Huiqun Zhou [mailto:zhou_huiqun at hotmail.com]
> 
> Your Position and FocalPoint might be out of range.
> 
> Huiqun Zhou
> 
> ----- Original Message ----- 
> From: "Nigel Nunn" <nNunn at ausport.gov.au>
> To: <vtkusers at vtk.org>
> Sent: Monday, July 26, 2004 10:15 PM
> Subject: [vtkusers] BandContourTerrain.tcl demo
> 
> 
>>Testing a current CVS version (Win2K, VC6).  This demo
>>
>>  Examples/VisualizationAlgorithms/Tcl/BandContourTerrain.tcl
>>
>>does not seem to render the image.  If I comment out the
>>following few lines, it renders the scene correctly:
>>
>>#  vtkCamera cam
>>#    cam SetPosition -17438.8 2410.62 25470.8
>>#    cam SetFocalPoint 3985.35 11930.6 5922.14
>>#    cam SetViewUp 0 0 1
>>#  ren1 SetActiveCamera cam
>>#  ren1 ResetCameraClippingRange
>>
>>Also noticed that simply calling Zoom works fine:
>>
>>  [ren1 GetActiveCamera] Zoom 2
>>
>>But calling any of these destroys the display:
>>
>>  SetPosition,
>>  SetFocalPoint,
>>  SetViewUp
>>
>>Any ideas what might be causing this?
>>thanks,
>>Nigel
> 
>  
>  
> 
> **********************************************************************************
> This message is intended for the addressee named and may contain confidential and 
> privileged information. If you are not the intended recipient please note that 
> any form of distribution, copying or use of this communication or the information
> in it is strictly prohibited and may be unlawful. 
> If you receive this message in error, please delete it and notify the sender.
> 
> Keep up to date with what's happening in Australian sport.
> Visit http://www.ausport.gov.au
> **********************************************************************************
> _______________________________________________
> This is the private VTK discussion list. 
> Please keep messages on-topic. Check the FAQ at: <http://public.kitware.com/cgi-bin/vtkfaq>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
> 






More information about the vtkusers mailing list